1 |
|
3 |
//---------------------------------------------------------------------------
|
2 |
|
|
#ifndef sessionH
|
3 |
|
|
#define sessionH
|
4 |
|
|
//---------------------------------------------------------------------------
|
5 |
|
|
#include <vcl\Classes.hpp>
|
6 |
|
|
#include <vcl\Controls.hpp>
|
7 |
|
|
#include <vcl\StdCtrls.hpp>
|
8 |
|
|
#include <vcl\Forms.hpp>
|
9 |
|
|
#include <vcl\Dialogs.hpp>
|
10 |
|
|
//---------------------------------------------------------------------------
|
11 |
|
|
class Tcsession : public TForm
|
12 |
|
|
{
|
13 |
|
|
__published: // IDE-managed Components
|
14 |
|
|
TOpenDialog *OpenDialog1;
|
15 |
|
|
TButton *Button1;
|
16 |
|
|
TLabel *Label1;
|
17 |
|
|
TButton *Button2;
|
18 |
|
|
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
|
19 |
|
|
void __fastcall FormCreate(TObject *Sender);
|
20 |
|
|
void __fastcall Button1Click(TObject *Sender);
|
21 |
|
|
void __fastcall Button2Click(TObject *Sender);
|
22 |
|
|
private: // User declarations
|
23 |
|
|
public: // User declarations
|
24 |
|
|
__fastcall Tcsession(TComponent* Owner);
|
25 |
|
|
char File[255];
|
26 |
|
|
};
|
27 |
|
|
//---------------------------------------------------------------------------
|
28 |
|
|
extern Tcsession *csession;
|
29 |
|
|
//---------------------------------------------------------------------------
|
30 |
|
|
#endif
|