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

📄 feng.cpp

📁 民航飞机生产管理系统,实现了飞机定检坚控,小时卡起落卡等的坚控,并能生成工作任务包
💻 CPP
字号:
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "feng.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TSplashForm *SplashForm;
Graphics::TBitmap *bmp;
//---------------------------------------------------------------------------
__fastcall TSplashForm::TSplashForm(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TSplashForm::FormCreate(TObject *Sender)
{
bmp=new Graphics::TBitmap();
AnsiString strname=ExtractFileDir(Application->ExeName);
bmp->LoadFromFile(strname+"\\splash.bmp");

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


void __fastcall TSplashForm::FormClose(TObject *Sender,
      TCloseAction &Action)
{
delete bmp;        
}
//---------------------------------------------------------------------------

void __fastcall TSplashForm::FormPaint(TObject *Sender)
{
Image1->Canvas->Draw(0,0,bmp);        
}
//---------------------------------------------------------------------------

void __fastcall TSplashForm::FormShow(TObject *Sender)
{
Image1->Canvas->Draw(0,0,bmp);        
}
//---------------------------------------------------------------------------

⌨️ 快捷键说明

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