Unit1.h
上传用户:lhxd_sz
上传日期:2014-10-02
资源大小:38814k
文件大小:2k
- //---------------------------------------------------------------------------
- #ifndef Unit1H
- #define Unit1H
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include "CSPIN.h"
- //---------------------------------------------------------------------------
- class TForm1 : public TForm
- {
- __published: // IDE-managed Components
- TGroupBox *GroupBox2;
- TLabel *Label4;
- TLabel *Label5;
- TLabel *Label6;
- TLabel *Label7;
- TEdit *EdLeft;
- TCSpinButton *CSpinButton3;
- TEdit *EdTop;
- TCSpinButton *CSpinButton4;
- TEdit *EdRight;
- TCSpinButton *CSpinButton5;
- TEdit *EdBottom;
- TCSpinButton *CSpinButton6;
- void __fastcall CSpinButton3DownClick(TObject *Sender);
- void __fastcall CSpinButton3UpClick(TObject *Sender);
- void __fastcall CSpinButton5DownClick(TObject *Sender);
- void __fastcall CSpinButton5UpClick(TObject *Sender);
- void __fastcall CSpinButton4DownClick(TObject *Sender);
- void __fastcall CSpinButton4UpClick(TObject *Sender);
- void __fastcall CSpinButton6DownClick(TObject *Sender);
- void __fastcall CSpinButton6UpClick(TObject *Sender);
- private: // User declarations
- void __fastcall UpDn(bool up,TEdit *Ed);
- double __fastcall GetNumFromEdit(TEdit *Ed);
- public: // User declarations
- __fastcall TForm1(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm1 *Form1;
- //---------------------------------------------------------------------------
- #endif