About.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 *PuttyVersionLabel;
  29. TLabel *PuttyCopyrightLabel;
  30. TStaticText *PuttyHomepageLabel;
  31. TLabel *Label7;
  32. TLabel *Label8;
  33. TLabel *Label10;
  34. TButton *OKButton;
  35. TButton *LicenceButton;
  36. TStaticText *PuttyLicenceLabel;
  37. TLabel *TranslatorLabel;
  38. TLabel *Label1;
  39. TLabel *Label2;
  40. TStaticText *Toolbar2000HomepageLabel;
  41. TLabel *Label5;
  42. TLabel *Label6;
  43. TStaticText *TBXHomepageLabel;
  44. TButton *HelpButton;
  45. TImage *Image;
  46. TStaticText *TranslatorUrlLabel;
  47. TLabel *Label3;
  48. TLabel *RegistrationLabel;
  49. TScrollBox *RegistrationBox;
  50. TLabel *RegistrationLicencesLabel;
  51. TLabel *RegistrationProductIdLabel;
  52. TLabel *RegistrationSubjectLabel;
  53. TLabel *Label4;
  54. TLabel *FileZillaVersionLabel;
  55. TLabel *FileZillaCopyrightLabel;
  56. TStaticText *FileZillaHomepageLabel;
  57. void __fastcall DisplayLicence(TObject *Sender);
  58. void __fastcall LicenceButtonClick(TObject *Sender);
  59. void __fastcall HelpButtonClick(TObject *Sender);
  60. private:
  61. TConfiguration * FConfiguration;
  62. void __fastcall FirstScrollingControlEnter(TObject * Sender);
  63. void __fastcall LastScrollingControlEnter(TObject * Sender);
  64. public:
  65. virtual __fastcall TAboutDialog(TComponent * AOwner,
  66. TConfiguration * Configuration, bool AllowLicence, TRegistration * Registration);
  67. void __fastcall LoadData();
  68. };
  69. //----------------------------------------------------------------------------
  70. #endif