//--------------------------------------------------------------------------- #ifndef Sample4uH #define Sample4uH //--------------------------------------------------------------------------- #include #include #include #include #include //--------------------------------------------------------------------------- class TSample4Form : public TForm { __published: // IDE-managed Components TLabel *Label2; TGroupBox *BoardBox; TLabel *Label1; TLabel *Label4; TButton *StartTestButton; TGroupBox *StatusBox; TLabel *CalcuLabel; TLabel *GenerLabel; TButton *StopTestButton; TGroupBox *CurveBox; TButton *SineButton; TButton *TriangleButton; TButton *SawButton; TComboBox *DACBox; TButton *ExitButton; TComboBox *CardBox; void __fastcall StartTestButtonClick(TObject *Sender); void __fastcall SineButtonClick(TObject *Sender); void __fastcall TriangleButtonClick(TObject *Sender); void __fastcall SawButtonClick(TObject *Sender); void __fastcall StopTestButtonClick(TObject *Sender); void __fastcall ExitButtonClick(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); void __fastcall FormCreate(TObject *Sender); void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose); private: // User declarations public: // User declarations __fastcall TSample4Form(TComponent* Owner); void HandleError(long ErrorMsg); void __fastcall ISR(); signed long CardNum; Boolean GoFlag; }; //--------------------------------------------------------------------------- extern PACKAGE TSample4Form *Sample4Form; //--------------------------------------------------------------------------- #endif