Files
winapp/PolicySave.h
T
2026-06-12 22:37:02 +08:00

35 lines
1.1 KiB
C++

//---------------------------------------------------------------------------
#ifndef PolicySaveH
#define PolicySaveH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Mask.hpp>
//---------------------------------------------------------------------------
class TPolicySaveForm : public TForm
{
__published: // IDE-managed Components
TLabeledEdit *m_leName;
TButton *m_btnOk;
TButton *m_btnCancel;
TPanel *m_panBack;
void __fastcall FormCreate(TObject *Sender);
void __fastcall OnOkClick(TObject *Sender);
private: // User declarations
int m_iType;
String m_sType;
public: // User declarations
String m_name;
int m_iPolicy;
__fastcall TPolicySaveForm(TComponent* Owner, int type, String name);
};
//---------------------------------------------------------------------------
extern PACKAGE TPolicySaveForm *PolicySaveForm;
//---------------------------------------------------------------------------
#endif