//--------------------------------------------------------------------------- #ifndef TestScenarioPropertiesH #define TestScenarioPropertiesH //--------------------------------------------------------------------------- #include #include #include #include #include "AdvPageControl.hpp" #include #include #include #include #include "AdvEdit.hpp" #include "DBAdvEd.hpp" #include #include "AdvSpin.hpp" #include "DBAdvSp.hpp" #include #include //--------------------------------------------------------------------------- class TTestScenarioPropertiesForm : public TForm { __published: // IDE-managed Components TAdvPageControl *AdvPageControl1; TADOQuery *TestScenarioPropertiesQuery; TDataSource *TestScenarioPropertiesDataSource; TBitBtn *OK; TBitBtn *Cancel; TBitBtn *Apply; TLabel *NameLabel; TAdvTabSheet *AdvTabSheet1; TAdvTabSheet *AdvTabSheet2; TDBAdvEdit *Name; TDBMemo *Description; TLabel *DescriptionLabel; TDBAdvEdit *TestCase; TLabel *TestCaseLabel; TLabel *SequenceNumberLabel; TDBAdvEdit *SequenceNumber; TDBAdvSpinEdit *BatchSize; TDBAdvSpinEdit *RepeatCount; TLabel *BatchSizeLabel; TLabel *RepeatCountLabel; TDBAdvEdit *ProjectCode; TDBAdvEdit *Iteration; TLabel *ProjectCodeLabel; TLabel *IterationLabel; TActionList *ActionList1; void __fastcall DescriptionChange(TObject *Sender); void __fastcall BatchSizeChange(TObject *Sender); void __fastcall RepeatCountChange(TObject *Sender); void __fastcall ApplyClick(TObject *Sender); void __fastcall FormShow(TObject *Sender); void __fastcall OKClick(TObject *Sender); private: // User declarations int m_testScenario; bool m_modified; public: // User declarations __fastcall TTestScenarioPropertiesForm(TComponent* Owner); void __fastcall ShowForm( const int & testScenario ); }; //--------------------------------------------------------------------------- extern PACKAGE TTestScenarioPropertiesForm *TestScenarioPropertiesForm; //--------------------------------------------------------------------------- #endif