home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------
- #include <vcl.h>
- #pragma hdrstop
-
- #include "About.h"
- //---------------------------------------------------------------------
- #pragma link "LTOCX10N"
- #pragma resource "*.dfm"
- TAboutBox *AboutBox;
- //---------------------------------------------------------------------
- __fastcall TAboutBox::TAboutBox(TComponent* AOwner)
- : TForm(AOwner)
- {
- }
- //---------------------------------------------------------------------
- void __fastcall TAboutBox::FormCreate(TObject *Sender)
- {
- char s[10];
-
- Product->Caption=Lead1->VersionProduct;
- BDate->Caption=Lead1->VersionDate;
- BTime->Caption=Lead1->VersionTime;
- if(Lead1->VersionLevel==VERSIONLEVEL_EXP)
- Level->Caption="Pro Express";
- else if(Lead1->VersionLevel==VERSIONLEVEL_MEDICAL)
- Level->Caption="Medical Express";
- else
- Level->Caption="Professional";
- itoa(Lead1->VersionMajor,s,10);
- Version->Caption=s;
- itoa(Lead1->VersionMinor,s,10);
- Version->Caption=Version->Caption + "." + s;
- }
- //---------------------------------------------------------------------------
-