📄 unit1.~h
字号:
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TButton *btn1;
TMemo *mmo1;
TEdit *edt1;
TButton *btn2;
TLabel *lbl1;
TEdit *edt2;
TEdit *edt3;
TEdit *edt4;
TLabel *lbl2;
TLabel *lbl3;
TMemo *mmo2;
void __fastcall btn2Click(TObject *Sender);
void __fastcall btn1Click(TObject *Sender);
private: // User declarations
public: // User declarations
int treat(float a,float b,float c,float d);
float myF(int flag,float m,float n);
void myPrint(int type,int i,int j,int k,float a,float b,float c,float d);
void main();
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -