| 2218 |
sbetterm |
1 |
//---------------------------------------------------------------------------
|
|
|
2 |
|
|
|
3 |
#ifndef TestScenarioPropertiesH
|
|
|
4 |
#define TestScenarioPropertiesH
|
|
|
5 |
//---------------------------------------------------------------------------
|
|
|
6 |
#include <Classes.hpp>
|
|
|
7 |
#include <Controls.hpp>
|
|
|
8 |
#include <StdCtrls.hpp>
|
|
|
9 |
#include <Forms.hpp>
|
|
|
10 |
#include "AdvPageControl.hpp"
|
|
|
11 |
#include <ADODB.hpp>
|
|
|
12 |
#include <ComCtrls.hpp>
|
|
|
13 |
#include <DB.hpp>
|
|
|
14 |
#include <Buttons.hpp>
|
|
|
15 |
#include "AdvEdit.hpp"
|
|
|
16 |
#include "DBAdvEd.hpp"
|
|
|
17 |
#include <DBCtrls.hpp>
|
|
|
18 |
#include "AdvSpin.hpp"
|
|
|
19 |
#include "DBAdvSp.hpp"
|
|
|
20 |
#include <Mask.hpp>
|
|
|
21 |
#include <ActnList.hpp>
|
|
|
22 |
//---------------------------------------------------------------------------
|
|
|
23 |
class TTestScenarioPropertiesForm : public TForm
|
|
|
24 |
{
|
|
|
25 |
__published: // IDE-managed Components
|
|
|
26 |
TAdvPageControl *AdvPageControl1;
|
|
|
27 |
TADOQuery *TestScenarioPropertiesQuery;
|
|
|
28 |
TDataSource *TestScenarioPropertiesDataSource;
|
|
|
29 |
TBitBtn *OK;
|
|
|
30 |
TBitBtn *Cancel;
|
|
|
31 |
TBitBtn *Apply;
|
|
|
32 |
TLabel *NameLabel;
|
|
|
33 |
TAdvTabSheet *AdvTabSheet1;
|
|
|
34 |
TAdvTabSheet *AdvTabSheet2;
|
|
|
35 |
TDBAdvEdit *Name;
|
|
|
36 |
TDBMemo *Description;
|
|
|
37 |
TLabel *DescriptionLabel;
|
|
|
38 |
TDBAdvEdit *TestCase;
|
|
|
39 |
TLabel *TestCaseLabel;
|
|
|
40 |
TLabel *SequenceNumberLabel;
|
|
|
41 |
TDBAdvEdit *SequenceNumber;
|
|
|
42 |
TDBAdvSpinEdit *BatchSize;
|
|
|
43 |
TDBAdvSpinEdit *RepeatCount;
|
|
|
44 |
TLabel *BatchSizeLabel;
|
|
|
45 |
TLabel *RepeatCountLabel;
|
|
|
46 |
TDBAdvEdit *ProjectCode;
|
|
|
47 |
TDBAdvEdit *Iteration;
|
|
|
48 |
TLabel *ProjectCodeLabel;
|
|
|
49 |
TLabel *IterationLabel;
|
|
|
50 |
TActionList *ActionList1;
|
|
|
51 |
void __fastcall DescriptionChange(TObject *Sender);
|
|
|
52 |
void __fastcall BatchSizeChange(TObject *Sender);
|
|
|
53 |
void __fastcall RepeatCountChange(TObject *Sender);
|
|
|
54 |
void __fastcall ApplyClick(TObject *Sender);
|
|
|
55 |
void __fastcall FormShow(TObject *Sender);
|
|
|
56 |
void __fastcall OKClick(TObject *Sender);
|
|
|
57 |
private: // User declarations
|
|
|
58 |
int m_testScenario;
|
|
|
59 |
bool m_modified;
|
|
|
60 |
|
|
|
61 |
public: // User declarations
|
|
|
62 |
__fastcall TTestScenarioPropertiesForm(TComponent* Owner);
|
|
|
63 |
void __fastcall ShowForm( const int & testScenario );
|
|
|
64 |
};
|
|
|
65 |
//---------------------------------------------------------------------------
|
|
|
66 |
extern PACKAGE TTestScenarioPropertiesForm *TestScenarioPropertiesForm;
|
|
|
67 |
//---------------------------------------------------------------------------
|
|
|
68 |
#endif
|