?? 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; //截屏?xí)r的變量 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();
}
//---------------------------------------------------------------------------
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -