unit4.pas

来自「一个DEPHI设备保养系统全套,不错的设计参考」· PAS 代码 · 共 38 行

PAS
38
字号
unit Unit4;

interface

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

type
  Tfrmshalp = class(TForm)
    Image1: TImage;
    Label2: TLabel;
    Label1: TLabel;
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmshalp: Tfrmshalp;

implementation

{$R *.dfm}
begin
  Application.Initialize; {程序初始化}
  Frmshalp := TFrmshalp.Create(Application); {建立徽标Form}
  FFrmshalp.Show; {显示徽标Form}
  FFrmshalp.Update; {重画徽标Form,确保其中的图片被显示出来}
  Application.CreateForm(Tfrmmain, frmmain); {建立主Form}
  Frmshalp.Hide; {隐藏徽标Form,使主Form显示出来}
  Frmshalp.Free; {释放徽标Form占用的资源}
  Application.Run; {程序运行}


end.

⌨️ 快捷键说明

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