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

📄 msgboxvar.cpp

📁 符合移动协议的见空系统,很有使用简直,希望多下载
💻 CPP
字号:
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "MsgBoxVar.h"
#include "ModemStartThread.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm2 *Form2;
//---------------------------------------------------------------------------
__fastcall TForm2::TForm2(TComponent* Owner)
  : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm2::SetMsgText(AnsiString MsgText)
{
  lb_Text->Caption = MsgText;
  lb_Text->Font->Size = 11;
  BitBtn1->Font->Size = 8;
  iWidth = lb_Text->Width + 90;
  if(iWidth<362)
    iWidth = 362;
  BitBtn1->Height = 25;
  BitBtn1->Width = 121;
  BitBtn1->Left = 128;
  BitBtn1->Top = 48;
  this->Width = iWidth;
}



void __fastcall TForm2::BitBtn1Click(TObject *Sender)
{
  Close();
}
//---------------------------------------------------------------------------


⌨️ 快捷键说明

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