1 |
|
5 |
//---------------------------------------------------------------------------
|
2 |
|
|
|
3 |
|
|
#ifndef visuarbreH
|
4 |
|
|
#define visuarbreH
|
5 |
|
|
//---------------------------------------------------------------------------
|
6 |
|
|
#include <Classes.hpp>
|
7 |
|
|
#include <Controls.hpp>
|
8 |
|
|
#include <StdCtrls.hpp>
|
9 |
|
|
#include <Forms.hpp>
|
10 |
|
|
#include <ComCtrls.hpp>
|
11 |
|
|
#include <Menus.hpp>
|
12 |
|
|
//---------------------------------------------------------------------------
|
13 |
|
|
class Tfvisuarbre : public TForm
|
14 |
|
|
{
|
15 |
|
|
__published: // IDE-managed Components
|
16 |
|
|
TTreeView *TreeView1;
|
17 |
|
|
TPopupMenu *PopupMenu1;
|
18 |
|
|
TMenuItem *Etendre1;
|
19 |
|
|
TMenuItem *Rassembler1;
|
20 |
|
|
TMenuItem *N1;
|
21 |
|
|
TMenuItem *Dvelopper1;
|
22 |
|
|
TMenuItem *Rduire1;
|
23 |
|
|
TMenuItem *N2;
|
24 |
|
|
TMenuItem *Dveloppertout1;
|
25 |
|
|
TMenuItem *Rduiretout1;
|
26 |
|
|
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
|
27 |
|
|
void __fastcall FormCreate(TObject *Sender);
|
28 |
|
|
void __fastcall Etendre1Click(TObject *Sender);
|
29 |
|
|
void __fastcall Rassembler1Click(TObject *Sender);
|
30 |
|
|
void __fastcall Dvelopper1Click(TObject *Sender);
|
31 |
|
|
void __fastcall Rduire1Click(TObject *Sender);
|
32 |
|
|
void __fastcall Dveloppertout1Click(TObject *Sender);
|
33 |
|
|
void __fastcall Rduiretout1Click(TObject *Sender);
|
34 |
|
|
private: // User declarations
|
35 |
|
|
class MG_GESTIONNAIRE* gest;
|
36 |
|
|
public: // User declarations
|
37 |
|
|
__fastcall Tfvisuarbre(TComponent* Owner,MG_GESTIONNAIRE *mgest);
|
38 |
|
|
void __fastcall get_nom_materiau(int num,char* nom);
|
39 |
|
|
|
40 |
|
|
};
|
41 |
|
|
//---------------------------------------------------------------------------
|
42 |
|
|
extern PACKAGE Tfvisuarbre *fvisuarbre;
|
43 |
|
|
//---------------------------------------------------------------------------
|
44 |
|
|
#endif
|