About.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //----------------------------------------------------------------------------
  2. #ifndef AboutH
  3. #define AboutH
  4. //----------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.ExtCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include <Vcl.Graphics.hpp>
  10. #include <Vcl.StdCtrls.hpp>
  11. //----------------------------------------------------------------------------
  12. #include <Configuration.h>
  13. //----------------------------------------------------------------------------
  14. class TAboutDialog : public TForm
  15. {
  16. __published:
  17. TLabel *ApplicationLabel;
  18. TLabel *VersionLabel;
  19. TLabel *WinSCPCopyrightLabel;
  20. TStaticText *HomepageLabel;
  21. TLabel *ProductSpecificMessageLabel;
  22. TStaticText *ForumUrlLabel;
  23. TScrollBox *ThirdPartyBox;
  24. TLabel *PuttyVersionLabel;
  25. TLabel *PuttyCopyrightLabel;
  26. TStaticText *PuttyHomepageLabel;
  27. TLabel *Label7;
  28. TLabel *Label8;
  29. TLabel *Label10;
  30. TButton *OKButton;
  31. TButton *LicenseButton;
  32. TStaticText *PuttyLicenseLabel;
  33. TLabel *TranslatorLabel;
  34. TLabel *Label1;
  35. TLabel *Label2;
  36. TStaticText *Toolbar2000HomepageLabel;
  37. TLabel *Label5;
  38. TLabel *Label6;
  39. TStaticText *TBXHomepageLabel;
  40. TButton *HelpButton;
  41. TImage *Image;
  42. TStaticText *TranslatorUrlLabel;
  43. TLabel *Label3;
  44. TLabel *RegistrationLabel;
  45. TScrollBox *RegistrationBox;
  46. TLabel *RegistrationLicensesLabel;
  47. TStaticText *RegistrationProductIdLabel;
  48. TLabel *RegistrationSubjectLabel;
  49. TLabel *FileZillaVersionLabel;
  50. TLabel *FileZillaCopyrightLabel;
  51. TStaticText *FileZillaHomepageLabel;
  52. TLabel *OpenSSLVersionLabel;
  53. TStaticText *OpenSSLHomepageLabel;
  54. TLabel *OpenSSLCopyrightLabel;
  55. void __fastcall PuttyLicenseLabelClick(TObject *Sender);
  56. void __fastcall LicenseButtonClick(TObject *Sender);
  57. void __fastcall HelpButtonClick(TObject *Sender);
  58. void __fastcall RegistrationProductIdLabelClick(TObject *Sender);
  59. private:
  60. TConfiguration * FConfiguration;
  61. TNotifyEvent FOnRegistrationLink;
  62. void __fastcall FirstScrollingControlEnter(TObject * Sender);
  63. void __fastcall LastScrollingControlEnter(TObject * Sender);
  64. public:
  65. virtual __fastcall TAboutDialog(TComponent * AOwner,
  66. TConfiguration * Configuration, bool AllowLicense, TRegistration * Registration);
  67. void __fastcall LoadData();
  68. };
  69. //----------------------------------------------------------------------------
  70. #endif