course.cpp
来自「C++ Builder数据库开发经典案例解析 示例程序都是在C++ Build」· C++ 代码 · 共 26 行
CPP
26 行
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "course.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "Parent"
#pragma resource "*.dfm"
TfmCourse *fmCourse;
//---------------------------------------------------------------------------
__fastcall TfmCourse::TfmCourse(TComponent* Owner)
: TfmParent(Owner)
{
this->szCondition1 = "课程编号";
this->szCondition2 = "课程名称";
this->szCondition3 = "拼音码";
Table1->Active = true;
// 设置查询条件
this->SetSeekEditStatus();
lblCount->Caption = "记录数: " + IntToStr(Table1->RecordCount) ;
this->Height = 480;
}
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?