About.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. //----------------------------------------------------------------------------
  2. #ifndef AboutH
  3. #define AboutH
  4. //----------------------------------------------------------------------------
  5. #include <vcl\System.hpp>
  6. #include <vcl\Windows.hpp>
  7. #include <vcl\SysUtils.hpp>
  8. #include <vcl\Classes.hpp>
  9. #include <vcl\Graphics.hpp>
  10. #include <vcl\Forms.hpp>
  11. #include <vcl\Controls.hpp>
  12. #include <vcl\StdCtrls.hpp>
  13. #include <vcl\Buttons.hpp>
  14. #include <vcl\ExtCtrls.hpp>
  15. //----------------------------------------------------------------------------
  16. #include <Configuration.h>
  17. //----------------------------------------------------------------------------
  18. class TAboutDialog : public TForm
  19. {
  20. __published:
  21. TLabel *ApplicationLabel;
  22. TLabel *VersionLabel;
  23. TLabel *WinSCPCopyrightLabel;
  24. TStaticText *HomepageLabel;
  25. TLabel *ProductSpecificMessageLabel;
  26. TStaticText *ForumUrlLabel;
  27. TScrollBox *ThirdPartyBox;
  28. TLabel *Label3;
  29. TLabel *PuttyVersionLabel;
  30. TLabel *PuttyCopyrightLabel;
  31. TStaticText *PuttyHomepageLabel;
  32. TLabel *Label7;
  33. TLabel *Label8;
  34. TLabel *Label10;
  35. TButton *OKButton;
  36. TButton *LicenceButton;
  37. TStaticText *PuttyLicenceLabel;
  38. TLabel *TranslatorLabel;
  39. TLabel *Label1;
  40. TLabel *Label2;
  41. TStaticText *Toolbar2000HomepageLabel;
  42. TLabel *Label5;
  43. TLabel *Label6;
  44. TStaticText *TBXHomepageLabel;
  45. TButton *HelpButton;
  46. TImage *Image;
  47. TStaticText *TranslatorUrlLabel;
  48. void __fastcall DisplayLicence(TObject *Sender);
  49. void __fastcall LicenceButtonClick(TObject *Sender);
  50. bool __fastcall GetAllowLicence();
  51. void __fastcall HelpButtonClick(TObject *Sender);
  52. private:
  53. TConfiguration * FConfiguration;
  54. void __fastcall SetConfiguration(TConfiguration * value);
  55. void __fastcall SetAllowLicence(bool value);
  56. void __fastcall FirstScrollingControlEnter(TObject * Sender);
  57. void __fastcall LastScrollingControlEnter(TObject * Sender);
  58. public:
  59. virtual __fastcall TAboutDialog(TComponent* AOwner);
  60. void __fastcall LoadData();
  61. __property TConfiguration * Configuration = { read=FConfiguration, write=SetConfiguration };
  62. __property bool AllowLicence = { read=GetAllowLicence, write=SetAllowLicence };
  63. };
  64. //----------------------------------------------------------------------------
  65. #endif