📄 bookborrow.~h
字号:
//---------------------------------------------------------------------------
#ifndef BookBorrowH
#define BookBorrowH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ToolWin.hpp>
#include <DB.hpp>
#include <DBTables.hpp>
#include <ImgList.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
//---------------------------------------------------------------------------
class TfmBookBorrow : public TForm
{
__published: // IDE-managed Components
TImageList *ImageList1;
TGroupBox *GroupBox1;
TEdit *edReaderCon;
TEdit *edName;
TLabel *Label3;
TLabel *Label4;
TEdit *edType;
TLabel *Label5;
TEdit *edNum;
TGroupBox *GroupBox2;
TEdit *edBookCon;
TRadioButton *rbReaderCode;
TRadioButton *rbReaderBar;
TPanel *Panel1;
TToolBar *ToolBar1;
TToolButton *btOk;
TToolButton *ToolButton1;
TToolButton *btCancel;
TToolButton *ToolButton2;
TToolButton *ToolButton3;
TToolButton *btExit;
TLabel *Label1;
TRadioButton *rbBookCode;
TRadioButton *rbBookBar;
TLabel *Label2;
TStringGrid *StringGrid1;
TQuery *Query1;
TLabel *Label10;
TPanel *Panel2;
TTable *Table1;
void __fastcall edReaderConKeyPress(TObject *Sender, char &Key);
void __fastcall FormShow(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall btOkClick(TObject *Sender);
void __fastcall btCancelClick(TObject *Sender);
void __fastcall btExitClick(TObject *Sender);
void __fastcall edBookConKeyPress(TObject *Sender, char &Key);
void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
private: // User declarations
// 读者已借册数总数
int m_nBorrowNum;
// 本次借出册数
int m_nNum;
public: // User declarations
__fastcall TfmBookBorrow(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfmBookBorrow *fmBookBorrow;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -