unit19.~cpp

来自「毕业设计图像处理软件及源代码对毕业生会有所帮助」· ~CPP 代码 · 共 40 行

~CPP
40
字号
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Unit19.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
extern int iExposureColor;   //曝光度
extern int iReturnValue;            //取值窗口返回值
TForm19 *Form19;
//---------------------------------------------------------------------------
__fastcall TForm19::TForm19(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm19::BitBtn2Click(TObject *Sender)
{
        this->Close();
}
//---------------------------------------------------------------------------

void __fastcall TForm19::BitBtn1Click(TObject *Sender)
{
        iExposureColor=StrToInt(Edit1->Text);
        if(iExposureColor<0||iExposureColor>255)
                iExposureColor=128;
        iReturnValue=1;
        this->Close();
}
//---------------------------------------------------------------------------
void __fastcall TForm19::FormShow(TObject *Sender)
{
        iReturnValue=0;
}
//---------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?