selectbook.h
来自「全面剖析图书馆管理的内容」· C头文件 代码 · 共 47 行
H
47 行
//---------------------------------------------------------------------------
#ifndef SelectBookH
#define SelectBookH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Parent.h"
#include <DBGrids.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <Buttons.hpp>
#include <DB.hpp>
#include <DBTables.hpp>
//---------------------------------------------------------------------------
class TfmSelectBook : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TDBGrid *DBGrid1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TEdit *Edit1;
TEdit *Edit2;
TEdit *Edit3;
TBitBtn *BitBtn1;
TTable *Table1;
TDataSource *DataSource1;
void __fastcall BitBtn1Click(TObject *Sender);
void __fastcall Edit3KeyPress(TObject *Sender, char &Key);
void __fastcall DBGrid1KeyPress(TObject *Sender, char &Key);
void __fastcall DBGrid1DblClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TfmSelectBook(TComponent* Owner);
//存储选择的图书编号
AnsiString m_szBookCode;
};
//---------------------------------------------------------------------------
extern PACKAGE TfmSelectBook *fmSelectBook;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?