📄 unit16.cpp
字号:
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Unit16.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm16 *Form16;
extern int iReturnValue; //取值窗口返回值
extern int iCopyDestop; //截屏时的变量 1最小化全屏,2最小化任意取,11全屏立即拷贝,12立即任意取
extern bool bFullCopy;
//---------------------------------------------------------------------------
__fastcall TForm16::TForm16(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm16::BitBtn2Click(TObject *Sender)
{
this->Close();
}
//---------------------------------------------------------------------------
void __fastcall TForm16::FormShow(TObject *Sender)
{
iReturnValue=0;
if(bFullCopy)
iCopyDestop=11;
else
iCopyDestop=12;
}
//---------------------------------------------------------------------------
void __fastcall TForm16::BitBtn1Click(TObject *Sender)
{
iReturnValue=1;
if(RadioButton2->Checked)
if(bFullCopy)
iCopyDestop=1;
else
iCopyDestop=2;
this->Close();
}
//---------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -