//--------------------------------------------------------------------------- #include #pragma hdrstop #include "NumberExpression.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TNumExpForm *NumExpForm; //--------------------------------------------------------------------------- __fastcall TNumExpForm::TNumExpForm(TComponent* Owner) : TForm(Owner) { } //--------------------------------------------------------------------------- void __fastcall TNumExpForm::FormCreate(TObject *Sender) { if (Width>Screen->Width) Left = 100; else Left = (Screen->Width-Width)/2; if (Height>Screen->Height) Top = 100; else Top = (Screen->Height-Height)/2; } //---------------------------------------------------------------------------