加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
mainFrm.h 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
//---------------------------------------------------------------------------
#ifndef mainFrmH
#define mainFrmH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <System.ImageList.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.ImgList.hpp>
#include <Vcl.ToolWin.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Dialogs.hpp>
#include "protoitem.h"
#include <System.Actions.hpp>
#include <Vcl.ActnList.hpp>
#include <Vcl.Menus.hpp>
//---------------------------------------------------------------------------
class TfrmMain : public TForm
{
__published: // IDE-managed Components
TToolBar *ToolBar1;
TToolButton *ToolButton1;
TImageList *ImageList1;
TTreeView *TreeView1;
TSplitter *Splitter1;
TMemo *Memo1;
TOpenDialog *OpenDialog1;
TImageList *ImageList2;
TPopupMenu *PopupMenu1;
TActionList *ActionList1;
TAction *ActionSetInt32;
TAction *ActionSetInt64;
TAction *ActionUint32;
TAction *ActionUint64;
TAction *ActionString;
TMenuItem *Int321;
TMenuItem *Int641;
TMenuItem *N1;
TMenuItem *Uint321;
TMenuItem *UInt641;
TAction *ActionData;
TAction *ActionBinary;
TAction *ActionDouble;
TAction *ActionFloat;
TMenuItem *N2;
TMenuItem *N3;
TMenuItem *double1;
TMenuItem *Float1;
TAction *ActionHex64;
TAction *ActionHex32;
TMenuItem *N321;
TMenuItem *N641;
void __fastcall ToolButton1Click(TObject *Sender);
void __fastcall PopupMenu1Popup(TObject *Sender);
void __fastcall ActionSetInt32Execute(TObject *Sender);
private: // User declarations
zdh::XByteBuffer m_Buff;
zdh::ProtoItem m_Item;
int m_ID = 0;
public: // User declarations
__fastcall TfrmMain(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmMain *frmMain;
//---------------------------------------------------------------------------
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化