1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
//---------------------------------------------------------------------------
#ifndef pntdlgH
#define pntdlgH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TPntDialog : public TForm
{
__published:
TPanel *Panel1;
TLabel *Label2;
TLabel *Label1;
TLabel *Label3;
TLabel *Label4;
TButton *BtnDel;
TPanel *Panel2;
TStringGrid *PntList;
TButton *BtnCancel;
TButton *BtnLoad;
TButton *BtnAdd;
TButton *BtnSave;
TButton *BtnOk;
TOpenDialog *OpenDialog;
TSaveDialog *SaveDialog;
void __fastcall FormShow(TObject *Sender);
void __fastcall BtnOkClick(TObject *Sender);
void __fastcall BtnDelClick(TObject *Sender);
void __fastcall BtnAddClick(TObject *Sender);
void __fastcall BtnLoadClick(TObject *Sender);
void __fastcall BtnSaveClick(TObject *Sender);
private:
public:
double Pos[3];
int FontScale;
__fastcall TPntDialog(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TPntDialog *PntDialog;
//---------------------------------------------------------------------------
#endif
|