⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit12.cpp

📁 05年毕业设计(BC)-图像处理软件及完整源代码
💻 CPP
字号:
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Unit12.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm12 *Form12;
extern int iReturnValue;
extern int iSpreadBound;
//---------------------------------------------------------------------------
__fastcall TForm12::TForm12(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm12::BitBtn2Click(TObject *Sender)
{
        this->Close();
}
//---------------------------------------------------------------------------
void __fastcall TForm12::FormShow(TObject *Sender)
{
        iReturnValue=0;
}
//---------------------------------------------------------------------------
void __fastcall TForm12::BitBtn1Click(TObject *Sender)
{
        iSpreadBound=StrToInt(ComboBox1->Text);
        if(iSpreadBound<3||iSpreadBound>20)
        {
                MessageBox(NULL,"设置的扩散程度值错误","error!",MB_OK);
                return;
        }
        iReturnValue=1;
        this->Close();
}
//---------------------------------------------------------------------------

⌨️ 快捷键说明

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