- //---------------------------------------------------------------------------
- #ifndef Unit2H
- #define Unit2H
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include <Grids.hpp>
- #include "CSPIN.h"
- //---------------------------------------------------------------------------
- class TForm2 : public TForm
- {
- __published: // IDE-managed Components
- TGroupBox *grpNPC;
- TLabel *Label1;
- TLabel *Label2;
- TLabel *Label3;
- TLabel *Label5;
- TLabel *Label11;
- TLabel *Label13;
- TLabel *Label14;
- TLabel *Label15;
- TLabel *Label16;
- TLabel *Label8;
- TLabel *Label17;
- TLabel *Label12;
- TLabel *Label9;
- TLabel *Label19;
- TLabel *Label20;
- TLabel *Label4;
- TLabel *Label10;
- TLabel *Label21;
- TLabel *Label18;
- TLabel *Label74;
- TLabel *Label71;
- TLabel *Label72;
- TLabel *Label73;
- TLabel *Label6;
- TLabel *Label7;
- TEdit *Edit1;
- TEdit *Edit2;
- TComboBox *ComboBox1;
- TComboBox *ComboBox2;
- TEdit *Edit6;
- TEdit *Edit8;
- TEdit *Edit9;
- TEdit *Edit10;
- TEdit *Edit11;
- TEdit *Edit4;
- TEdit *Edit12;
- TEdit *Edit7;
- TEdit *Edit5;
- TComboBox *ComboBox5;
- TComboBox *ComboBox6;
- TEdit *Edit3;
- TCheckBox *CheckBox1;
- TCheckBox *CheckBox2;
- TCheckBox *CheckBox3;
- TComboBox *ComboBox16;
- TEdit *Edit55;
- TButton *Button1;
- TStringGrid *StringGrid2;
- TButton *Button16;
- TComboBox *ComboBox17;
- TEdit *Edit56;
- TStringGrid *StringGrid3;
- TButton *Button2;
- TButton *Button15;
- TEdit *Edit57;
- TComboBox *ComboBox18;
- TComboBox *ComboBox3;
- TComboBox *ComboBox4;
- TComboBox *ComboBox15;
- TButton *Button3;
- TButton *Button5;
- TListBox *ListBox1;
- TLabel *Label22;
- TStringGrid *StringGrid1;
- TButton *Button4;
- TButton *Button6;
- TComboBox *ComboBox7;
- TListBox *ListBox2;
- TButton *Button7;
- TLabel *Label23;
- TComboBox *ComboBox8;
- TStringGrid *StringGrid4;
- TEdit *Edit13;
- TComboBox *ComboBox9;
- TLabel *Label24;
- TButton *Button8;
- TButton *Button9;
- TButton *Button10;
- TButton *Button11;
- TLabel *Label25;
- TCSpinEdit *CSpinEdit1;
- TStringGrid *StringGrid5;
- TCheckBox *CheckBoxEvent;
- TComboBox *ComboBoxEventList;
- void __fastcall Button5Click(TObject *Sender);
- void __fastcall Button3Click(TObject *Sender);
- void __fastcall FormCreate(TObject *Sender);
- void __fastcall ComboBox4Change(TObject *Sender);
- void __fastcall CheckBox1Click(TObject *Sender);
- void __fastcall Button2Click(TObject *Sender);
- void __fastcall Button1Click(TObject *Sender);
- void __fastcall Button16Click(TObject *Sender);
- void __fastcall Button15Click(TObject *Sender);
- void __fastcall Button4Click(TObject *Sender);
- void __fastcall Button6Click(TObject *Sender);
- void __fastcall ComboBox7Change(TObject *Sender);
- void __fastcall ListBox2Click(TObject *Sender);
- void __fastcall Button7Click(TObject *Sender);
- void __fastcall Button8Click(TObject *Sender);
- void __fastcall Button9Click(TObject *Sender);
- void __fastcall Button10Click(TObject *Sender);
- void __fastcall Button11Click(TObject *Sender);
- void __fastcall FormDestroy(TObject *Sender);
- void __fastcall StringGrid5Click(TObject *Sender);
- void __fastcall CheckBoxEventClick(TObject *Sender);
- private: // User declarations
- void __fastcall ClearNPC(void);
- void __fastcall CheckAdd(int flag,AnsiString szStr);
- void __fastcall LoadNPC(AnsiString szFileName);
- void __fastcall ReleaseGiving();
- public: // User declarations
- __fastcall TForm2(TComponent* Owner);
- void ChangList(int SelecetedAfterUpdating = 0);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TForm2 *Form2;
- //---------------------------------------------------------------------------
- #endif