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

📄 flashunit.pas

📁 基于高速铁路周边电动势计算的关键
💻 PAS
字号:
unit FlashUnit;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, jpeg, ExtCtrls,IniFiles, StdCtrls;

type
  TFlashForm = class(TForm)
    img1: TImage;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FlashForm: TFlashForm;

implementation

{$R *.dfm}

procedure TFlashForm.FormCreate(Sender: TObject);
var
  Ini: TIniFile;
  FileName:string;
begin

  Ini := TIniFile.Create(ChangeFileExt( Application.ExeName, '.INI' ));
  FileName:=ChangeFileExt( Application.ExeName, '.INI' );
  if Ini.ReadBool('SysSet', 'FlashLogoBool',  True) then
     Exit;
     if FileExists(Ini.ReadString('SysSet', 'FlashLogo',  'c:/xxx.jpg')) then
      try
       img1.Picture.LoadFromFile(Ini.ReadString('SysSet', 'FlashLogo',  'c:/xxx.jpg'));
     except
      end;
end;

end.

⌨️ 快捷键说明

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