📄 unit1.h
字号:
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "DynamicSkinForm.hpp"
#include <Tabs.hpp>
#include "SkinBoxCtrls.hpp"
#include "SkinCtrls.hpp"
#include <Mask.hpp>
#include <Classes.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TspDynamicSkinForm *spDynamicSkinForm1;
TTabSet *TabSet1;
TspSkinStdLabel *spSkinStdLabel1;
TspSkinStdLabel *spSkinStdLabel2;
TspSkinStdLabel *LableHint;
TspSkinGroupBox *GroupBoxScore;
TspSkinGroupBox *GroupBoxSex;
TspSkinXFormButton *BitBtn1;
TspSkinXFormButton *BitBtn2;
TspSkinStdLabel *spSkinStdLabel4;
TspSkinStdLabel *spSkinStdLabel5;
TspSkinStdLabel *spSkinStdLabel6;
TspSkinEdit *EditMath;
TspSkinEdit *EditChinese;
TspSkinEdit *EditEnglish;
TspSkinCheckRadioBox *RBtnMale;
TspSkinCheckRadioBox *RBtnFemale;
TspSkinEdit *EditNum;
TspSkinEdit *EditName;
void __fastcall EditNumChange(TObject *Sender);
void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
void __fastcall TabSet1Click(TObject *Sender);
void __fastcall BitBtn2Click(TObject *Sender);
void __fastcall BitBtn1Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
bool __fastcall Add(bool RePlace);
void __fastcall Del(struct student *DelStu);
void __fastcall Save(bool Auto);
};
struct student
{
int ID;//六位以内的数字
char Name[9];
int Sex;
float Math,Chinese,English;
struct student *Pre;
struct student *Next;
};
struct student *First;
struct student *TmpStu;
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -