| 2218 |
sbetterm |
1 |
//---------------------------------------------------------------------------
|
|
|
2 |
|
|
|
3 |
#ifndef IterationConfigH
|
|
|
4 |
#define IterationConfigH
|
|
|
5 |
//---------------------------------------------------------------------------
|
|
|
6 |
#include <Classes.hpp>
|
|
|
7 |
#include <Controls.hpp>
|
|
|
8 |
#include <StdCtrls.hpp>
|
|
|
9 |
#include <Forms.hpp>
|
|
|
10 |
#include "Grids_ts.hpp"
|
|
|
11 |
#include "TSDBGrid.hpp"
|
|
|
12 |
#include "TSGrid.hpp"
|
|
|
13 |
#include <Buttons.hpp>
|
|
|
14 |
#include <DBCtrls.hpp>
|
|
|
15 |
#include <ExtCtrls.hpp>
|
|
|
16 |
#include <ADODB.hpp>
|
|
|
17 |
#include <DB.hpp>
|
|
|
18 |
#include <Mask.hpp>
|
|
|
19 |
#include "AdvGrid.hpp"
|
|
|
20 |
#include "BaseGrid.hpp"
|
|
|
21 |
#include <Grids.hpp>
|
|
|
22 |
#include "DBAdvGrd.hpp"
|
|
|
23 |
#include "DBAdvNavigator.hpp"
|
|
|
24 |
//---------------------------------------------------------------------------
|
|
|
25 |
class TIterationConfigForm : public TForm
|
|
|
26 |
{
|
|
|
27 |
__published: // IDE-managed Components
|
|
|
28 |
TDBMemo *Notes;
|
|
|
29 |
TLabel *Label1;
|
|
|
30 |
TADOQuery *IterationsQuery;
|
|
|
31 |
TDataSource *IterationsDataSource;
|
|
|
32 |
TDBEdit *StoragePath;
|
|
|
33 |
TLabel *Label2;
|
|
|
34 |
TADOStoredProc *DeleteIterationProcedure;
|
|
|
35 |
TBitBtn *Apply;
|
|
|
36 |
TBitBtn *Cancel;
|
|
|
37 |
TBitBtn *OK;
|
|
|
38 |
TPanel *Panel1;
|
|
|
39 |
TDBAdvStringGrid *DBAdvStringGrid1;
|
|
|
40 |
TDBAdvNavigator *DBAdvNavigator1;
|
|
|
41 |
void __fastcall CloseBtnClick(TObject *Sender);
|
|
|
42 |
void __fastcall IterationsQueryAfterInsert(TDataSet *DataSet);
|
|
|
43 |
void __fastcall IterationsQueryBeforeDelete(TDataSet *DataSet);
|
|
|
44 |
void __fastcall FormShow(TObject *Sender);
|
|
|
45 |
void __fastcall StoragePathChange(TObject *Sender);
|
|
|
46 |
void __fastcall NotesChange(TObject *Sender);
|
|
|
47 |
void __fastcall OKClick(TObject *Sender);
|
|
|
48 |
void __fastcall ApplyClick(TObject *Sender);
|
|
|
49 |
void __fastcall IterationsDataSourceUpdateData(TObject *Sender);
|
|
|
50 |
|
|
|
51 |
private: // User declarations
|
|
|
52 |
AnsiString m_currentproject;
|
|
|
53 |
const bool __fastcall getSchemaDetails(
|
|
|
54 |
AnsiString & schemaVersion,
|
|
|
55 |
const AnsiString & currentProject,
|
|
|
56 |
const int & currentIteration );
|
|
|
57 |
const bool __fastcall getUsername( AnsiString & usename );
|
|
|
58 |
|
|
|
59 |
public: // User declarations
|
|
|
60 |
__fastcall TIterationConfigForm(TComponent* Owner);
|
|
|
61 |
|
|
|
62 |
void __fastcall ShowForm(const AnsiString &project_code);
|
|
|
63 |
};
|
|
|
64 |
//---------------------------------------------------------------------------
|
|
|
65 |
extern PACKAGE TIterationConfigForm *IterationConfigForm;
|
|
|
66 |
//---------------------------------------------------------------------------
|
|
|
67 |
#endif
|