| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- //----------------------------------------------------------------------------
- #ifndef AboutH
- #define AboutH
- //----------------------------------------------------------------------------
- #include <vcl\System.hpp>
- #include <vcl\Windows.hpp>
- #include <vcl\SysUtils.hpp>
- #include <vcl\Classes.hpp>
- #include <vcl\Graphics.hpp>
- #include <vcl\Forms.hpp>
- #include <vcl\Controls.hpp>
- #include <vcl\StdCtrls.hpp>
- #include <vcl\Buttons.hpp>
- #include <vcl\ExtCtrls.hpp>
- //----------------------------------------------------------------------------
- #include <Configuration.h>
- //----------------------------------------------------------------------------
- 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
|