//--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include #include #include #include #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TLabel *Label1; TComboBox *cbbSlot; TLabel *Label2; TComboBox *cbbDICh; TLabel *Label4; TEdit *Edit1; TButton *Button1; TPaintBox *PaintBox1; TLabel *Label3; TComboBox *cbbDOCh; TEdit *Edit2; TEdit *Edit3; TLabel *Label5; TLabel *Label6; TLabel *Label7; TButton *Button2; TLabel *Label8; TLabel *Label9; TLabel *Label10; TLabel *Label11; TEdit *Edit4; TEdit *Edit5; TEdit *Edit6; TEdit *Edit7; TButton *Button3; void __fastcall FormCreate(TObject *Sender); void __fastcall Button1Click(TObject *Sender); void __fastcall cbbDIChChange(TObject *Sender); void __fastcall PaintBox1Paint(TObject *Sender); void __fastcall cbbDOChChange(TObject *Sender); void __fastcall Edit3KeyDown(TObject *Sender, WORD &Key, TShiftState Shift); void __fastcall Button2Click(TObject *Sender); void __fastcall Button3Click(TObject *Sender); private: // User declarations public: // User declarations __fastcall TForm1(TComponent* Owner); void __fastcall printCheckBoxs(TObject *Sender, int channel); void __fastcall checkBox_CheckStateChanged(TObject * Sender); void __fastcall printLabels(TObject * Sender, int channel); void __fastcall printShape(TObject * Sender, int x, int y, int length, bool * shape); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif