//---------------------------------------------------------------------------- #ifndef AboutH #define AboutH //---------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include //---------------------------------------------------------------------------- #include //---------------------------------------------------------------------------- class TAboutDialog : public TForm { __published: TLabel *ApplicationLabel; TLabel *VersionLabel; TLabel *WinSCPCopyrightLabel; TStaticText *HomepageLabel; TLabel *ProductSpecificMessageLabel; TStaticText *ForumUrlLabel; TScrollBox *ThirdPartyBox; TLabel *Label3; TLabel *PuttyVersionLabel; TLabel *PuttyCopyrightLabel; TStaticText *PuttyHomepageLabel; TLabel *Label7; TLabel *Label8; TLabel *Label10; TButton *OKButton; TButton *LicenceButton; TStaticText *PuttyLicenceLabel; TLabel *TranslatorLabel; TLabel *Label1; TLabel *Label2; TStaticText *Toolbar2000HomepageLabel; TLabel *Label5; TLabel *Label6; TStaticText *TBXHomepageLabel; TButton *HelpButton; TImage *Image; TStaticText *TranslatorUrlLabel; void __fastcall DisplayLicence(TObject *Sender); void __fastcall LicenceButtonClick(TObject *Sender); bool __fastcall GetAllowLicence(); void __fastcall HelpButtonClick(TObject *Sender); private: TConfiguration * FConfiguration; void __fastcall SetConfiguration(TConfiguration * value); void __fastcall SetAllowLicence(bool value); void __fastcall FirstScrollingControlEnter(TObject * Sender); void __fastcall LastScrollingControlEnter(TObject * Sender); public: virtual __fastcall TAboutDialog(TComponent* AOwner); void __fastcall LoadData(); __property TConfiguration * Configuration = { read=FConfiguration, write=SetConfiguration }; __property bool AllowLicence = { read=GetAllowLicence, write=SetAllowLicence }; }; //---------------------------------------------------------------------------- #endif