| 2263 |
kivins |
1 |
//---------------------------------------------------------------------------
|
|
|
2 |
|
|
|
3 |
#ifndef CopyIterationH
|
|
|
4 |
#define CopyIterationH
|
|
|
5 |
//---------------------------------------------------------------------------
|
|
|
6 |
#include <Classes.hpp>
|
|
|
7 |
#include <Controls.hpp>
|
|
|
8 |
#include <StdCtrls.hpp>
|
|
|
9 |
#include <Forms.hpp>
|
|
|
10 |
#include "AdvGrid.hpp"
|
|
|
11 |
#include "AdvPanel.hpp"
|
|
|
12 |
#include "BaseGrid.hpp"
|
|
|
13 |
#include "DBAdvGrd.hpp"
|
|
|
14 |
#include <Buttons.hpp>
|
|
|
15 |
#include <ExtCtrls.hpp>
|
|
|
16 |
#include <Grids.hpp>
|
|
|
17 |
#include <ADODB.hpp>
|
|
|
18 |
#include <DB.hpp>
|
|
|
19 |
//---------------------------------------------------------------------------
|
|
|
20 |
class TCopyIterationForm : public TForm
|
|
|
21 |
{
|
|
|
22 |
__published: // IDE-managed Components
|
|
|
23 |
TBitBtn *Copy;
|
|
|
24 |
TBitBtn *Cancel;
|
|
|
25 |
TDBAdvStringGrid *DBAdvStringGrid1;
|
|
|
26 |
TADOQuery *SourceIterationsQuery;
|
|
|
27 |
TDataSource *SourceIterationsDataSource;
|
|
|
28 |
TADOStoredProc *CopyIterationProcedure;
|
|
|
29 |
void __fastcall CopyClick(TObject *Sender);
|
|
|
30 |
|
|
|
31 |
private: // User declarations
|
|
|
32 |
AnsiString m_projectCode;
|
|
|
33 |
int m_projectIteration;
|
|
|
34 |
|
|
|
35 |
public: // User declarations
|
|
|
36 |
__fastcall TCopyIterationForm(TComponent* Owner);
|
|
|
37 |
|
|
|
38 |
void __fastcall ShowForm(
|
|
|
39 |
const AnsiString & projectCode,
|
|
|
40 |
const int & projectIteration );
|
|
|
41 |
};
|
|
|
42 |
//---------------------------------------------------------------------------
|
|
|
43 |
extern PACKAGE TCopyIterationForm *CopyIterationForm;
|
|
|
44 |
//---------------------------------------------------------------------------
|
|
|
45 |
#endif
|