| 2218 |
sbetterm |
1 |
//---------------------------------------------------------------------------
|
|
|
2 |
|
|
|
3 |
#ifndef ScenarioParametersH
|
|
|
4 |
#define ScenarioParametersH
|
|
|
5 |
//---------------------------------------------------------------------------
|
|
|
6 |
#include <Classes.hpp>
|
|
|
7 |
#include <Controls.hpp>
|
|
|
8 |
#include <StdCtrls.hpp>
|
|
|
9 |
#include <Forms.hpp>
|
|
|
10 |
#include <ExtCtrls.hpp>
|
|
|
11 |
#include "Grids_ts.hpp"
|
|
|
12 |
#include "TSDBGrid.hpp"
|
|
|
13 |
#include "TSGrid.hpp"
|
|
|
14 |
#include <DBCtrls.hpp>
|
|
|
15 |
#include <ADODB.hpp>
|
|
|
16 |
#include <DB.hpp>
|
|
|
17 |
#include "DataModule.h"
|
|
|
18 |
#include <Buttons.hpp>
|
|
|
19 |
//---------------------------------------------------------------------------
|
|
|
20 |
class TScenarioParamsForm : public TForm
|
|
|
21 |
{
|
|
|
22 |
__published: // IDE-managed Components
|
|
|
23 |
TPanel *IterationParamsPanel;
|
|
|
24 |
TPanel *Panel1;
|
|
|
25 |
TtsDBGrid *tsDBGrid1;
|
|
|
26 |
TDBNavigator *DBNavigator1;
|
|
|
27 |
TSplitter *Splitter1;
|
|
|
28 |
TADOQuery *IterationParamsQuery;
|
|
|
29 |
TDataSource *IterationParamsDataSource;
|
|
|
30 |
TPanel *ScenarioParamsPanel;
|
|
|
31 |
TPanel *Panel3;
|
|
|
32 |
TtsDBGrid *tsDBGrid2;
|
|
|
33 |
TDBNavigator *DBNavigator2;
|
|
|
34 |
TDataSource *ScenarioParamsQueryDataSource;
|
|
|
35 |
TADOQuery *ScenarioParamsQuery;
|
|
|
36 |
TPanel *Panel4;
|
|
|
37 |
TBitBtn *CloseBtn;
|
|
|
38 |
void __fastcall IterationParamsQueryAfterInsert(TDataSet *DataSet);
|
|
|
39 |
void __fastcall ScenarioParamsQueryAfterInsert(TDataSet *DataSet);
|
|
|
40 |
|
|
|
41 |
private: // User declarations
|
|
|
42 |
AnsiString m_project;
|
|
|
43 |
int m_iteration;
|
|
|
44 |
int m_testscenario_no;
|
|
|
45 |
|
|
|
46 |
public: // User declarations
|
|
|
47 |
__fastcall TScenarioParamsForm(TComponent* Owner);
|
|
|
48 |
void __fastcall ShowForm(const AnsiString &project, int iteration, int testscenario_no);
|
|
|
49 |
};
|
|
|
50 |
//---------------------------------------------------------------------------
|
|
|
51 |
extern PACKAGE TScenarioParamsForm *ScenarioParamsForm;
|
|
|
52 |
//---------------------------------------------------------------------------
|
|
|
53 |
#endif
|