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

📄 ceabout.cpp

📁 给大家介绍一个小的C++builder软件,或许对大家在采购,超市的软件编程上有一定帮助.
💻 CPP
字号:

/* --------------------------------------------------------------------------
 * CurrencyEdit
 *
 * 程序作者:林华锋
 * 创建日期:2001-11-22
 * 修改日期:2001-11-25
 *
 * ==========================================================================
 * LCSOFT货币输入控件
 */
 
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "CeAbout.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TCeAboutForm *CeAboutForm;
//---------------------------------------------------------------------------
__fastcall TCeAboutForm::TCeAboutForm(TComponent* Owner)
        : TForm(Owner)
{

}
//---------------------------------------------------------------------------

void __fastcall TCeAboutForm::Button1Click(TObject *Sender)
{
        Close();
}
//---------------------------------------------------------------------------

void __fastcall TCeAboutForm::MailLabelMouseMove(TObject *Sender,
      TShiftState Shift, int X, int Y)
{
        MailLabel->Font->Color = clRed;
}
//---------------------------------------------------------------------------

void __fastcall TCeAboutForm::WebLabelMouseMove(TObject *Sender,
      TShiftState Shift, int X, int Y)
{
        WebLabel->Font->Color = clRed;
}
//---------------------------------------------------------------------------

void __fastcall TCeAboutForm::FormMouseMove(TObject *Sender,
      TShiftState Shift, int X, int Y)
{
        MailLabel->Font->Color = clBlue;
        WebLabel->Font->Color = clBlue;
}
//---------------------------------------------------------------------------

void __fastcall TCeAboutForm::MailLabelClick(TObject *Sender)
{
        ShellExecute(NULL, "open", ("mailto:" + MailLabel->Caption).c_str(), NULL, NULL, SW_MAXIMIZE);
}
//---------------------------------------------------------------------------

void __fastcall TCeAboutForm::WebLabelClick(TObject *Sender)
{
        ShellExecute(NULL, "open", WebLabel->Caption.c_str(), NULL, NULL, SW_MAXIMIZE);
}
//---------------------------------------------------------------------------

⌨️ 快捷键说明

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