📄 frmprintform1.cpp
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "frmprintform1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
Tprint_form1 *print_form1;
//---------------------------------------------------------------------------
__fastcall Tprint_form1::Tprint_form1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall Tprint_form1::open(AnsiString m_sql)
{
m_con->Connected=false;
m_query->Active=false;
m_query->SQL->Clear();
m_query->SQL->Add(m_sql);
m_con->Connected=true;
m_query->Active=true;
//TODO: Add your source code here
}
void __fastcall Tprint_form1::FormDestroy(TObject *Sender)
{
m_con->Connected=false;
m_query->Active=false;
}
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -