selcourse.h
来自「C++ Builder数据库开发经典案例解析 示例程序都是在C++ Build」· C头文件 代码 · 共 65 行
H
65 行
//---------------------------------------------------------------------------
#ifndef selcourseH
#define selcourseH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <Buttons.hpp>
#include <DB.hpp>
#include <DBTables.hpp>
//---------------------------------------------------------------------------
class TfmSelCourse : public TForm
{
__published: // IDE-managed Components
TGroupBox *GroupBox1;
TGroupBox *GroupBox2;
TGroupBox *GroupBox3;
TLabel *Label1;
TEdit *edStuNum;
TLabel *Label2;
TEdit *edStuName;
TLabel *Label3;
TEdit *edStuClass;
TDBGrid *DBGrid1;
TDBGrid *DBGrid2;
TDataSource *DataSource1;
TQuery *queSelected;
TQuery *queCourse;
TDataSource *DataSource2;
TQuery *queQuery;
TGroupBox *GroupBox4;
TLabel *Label4;
TLabel *Label5;
TLabel *Label6;
TEdit *edCouPY;
TEdit *edCouName;
TEdit *edCouID;
TLabel *Label7;
TEdit *edCouSer;
TBitBtn *btFind;
TBitBtn *btSelect;
TBitBtn *btShow;
TLabel *Label8;
TBitBtn *btDelete;
TLabel *Label9;
void __fastcall edStuNumKeyPress(TObject *Sender, char &Key);
void __fastcall edCouPYKeyPress(TObject *Sender, char &Key);
void __fastcall btFindClick(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall btSelectClick(TObject *Sender);
void __fastcall btShowClick(TObject *Sender);
void __fastcall btDeleteClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TfmSelCourse(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfmSelCourse *fmSelCourse;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?