📄 initform.~h
字号:
//---------------------------------------------------------------------------
#ifndef InitFormH
#define InitFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "HemisphereButton.hpp"
#include <ExtCtrls.hpp>
#include "SUIImagePanel.hpp"
#include "SUIButton.hpp"
#include "SUIEdit.hpp"
#include "SUIForm.hpp"
//static int CompCount;
/*
typedef struct Node
{
char Name;
int Id;
// int Value;
// struct Node *Next;
} Node; */
//typedef EdgeNode * Graph;
//---------------------------------------------------------------------------
class TFrm_init : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TImage *Image1;
TsuiForm *suiForm1;
TsuiEdit *Edit1;
TsuiButton *Button1;
TsuiButton *Button3;
TLabel *Label1;
//组件链表,用于存储组件时用
void __fastcall FormCreate(TObject *Sender);
void __fastcall suitempButton1Click(TObject *Sender);
void __fastcall Image1MouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall suitempButton3Click(TObject *Sender);
private:
int Row,Rol;
int Value1X,Value1Y,Value2X,Value2Y;
AnsiString BtnTemp; //用于判断是否按了两次相同的按纽
bool EdgeCreate; //创建边的开关量
bool NodeCreate; //创建完节点
int BitCount; //节点的点击次数 // User declarations
public:
void _fastcall MyBtnClick(TObject *Sender); // User declarations
__fastcall TFrm_init(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrm_init *Frm_init;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -