dfwaboutdialogu.pas

来自「dfw控件组V0.62」· PAS 代码 · 共 48 行

PAS
48
字号
unit DFWAboutDialogU;

interface

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

type
  TForm1 = class(TForm)
    DFWAboutDialog: TDFWAboutDialog;
    Button1: TButton;
    Label1: TLabel;
    Label2: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    Label5: TLabel;
    Label6: TLabel;
    Label7: TLabel;
    procedure Button1Click(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private-Deklarationen }
  public
    { Public-Deklarationen }
  end;

var
  Form1: TForm1;

implementation

{$R *.DFM}

procedure TForm1.Button1Click(Sender: TObject);
begin
     DFWAboutDialog.Execute;
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
     Label3.caption:=DFWAboutDialog.Version;
     Label5.caption:=DFWAboutDialog.Author;
     Label7.caption:=DFWAboutDialog.EMail;
end;

end.

⌨️ 快捷键说明

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