-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInfo.h
73 lines (65 loc) · 2.38 KB
/
Info.h
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//---------------------------------------------------------------------------
#ifndef InfoH
#define InfoH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Dialogs.hpp>
#include "RzBckgnd.hpp"
#include "RzButton.hpp"
#include "RzCmboBx.hpp"
#include "RzEdit.hpp"
#include "RzLabel.hpp"
#include "RzPanel.hpp"
#include <ExtCtrls.hpp>
#include <Mask.hpp>
#include <string>
#include "Util.h"
using namespace std;
//---------------------------------------------------------------------------
class TInfoForm : public TForm
{
__published: // IDE-managed Components
TSaveDialog *SaveDialog1;
TRzGroupBox *RzGroupBox1;
TRzSeparator *RzSeparator1;
TRzLabel *LabelID;
TRzEdit *EditId;
TRzSeparator *RzSeparator2;
TRzLabel *LabelName;
TRzEdit *EditName;
TRzSeparator *RzSeparator3;
TRzLabel *LabelAge;
TRzNumericEdit *EditAge;
TRzSeparator *RzSeparator4;
TRzLabel *LabelGender;
TRzComboBox *GenderComboBox;
TRzLabel *LabelTreatPart;
TRzSeparator *RzSeparator5;
TRzEdit *EditPart;
TRzBitBtn *ButtonYes;
TRzBitBtn *ButtonReset;
TRzBitBtn *ButtonCancel;
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall ButtonCancelClick(TObject *Sender);
void __fastcall ButtonResetClick(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall ToSave(TObject *Sender); //为“确定”按钮定制保存功能
void __fastcall ToPrint(TObject *Sender); //为“确定”按钮定制打印功能
private: // User declarations
FILETYPE fileType;
void __fastcall PersistenVar(TObject *Sender);
void __fastcall PersistenVarAndSetAngle(TObject *Sender);
public: // User declarations
__fastcall TInfoForm(TComponent* Owner); //Default;
__fastcall TInfoForm(TComponent* Owner,FILETYPE fileType);
private:
void __fastcall Persist();
__fastcall ~TInfoForm(); //析构函数
};
//---------------------------------------------------------------------------
extern PACKAGE TInfoForm *InfoForm;
//---------------------------------------------------------------------------
#endif