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

📄 about.pas

📁 提供产品的售后管理,客户资料管理,维修服务管理等功能
💻 PAS
字号:
unit About;

interface

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

type
  TFrmAbout = class(TForm)
    AboutTitle: TFlatTitlebar;
    FlatPanel1: TFlatPanel;
    BtnOk: TFlatButton;
    lblProgramName: TLabel;
    lblVersion: TLabel;
    Shape1: TShape;
    lblZZ: TLabel;
    lblzzz: TLabel;
    lblemail: TLabel;
    Label1: TLabel;
    Shape2: TShape;
    Label2: TLabel;
    lblRegInc: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    Label5: TLabel;
    procedure FormCreate(Sender: TObject);
    procedure BtnOkClick(Sender: TObject);
    procedure Label5Click(Sender: TObject);
    procedure FormActivate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FrmAbout: TFrmAbout;

implementation

uses Main, Reg,global;

{$R *.dfm}

procedure TFrmAbout.FormCreate(Sender: TObject);
begin
AboutTitle.Caption :='关于'+FrmMain.MainTitle.caption;
lblzz.Caption :='欢迎使用';
lblprogramName.Caption :=FrmMain.MainTitle.caption;
lblzzz.Caption:='软件作者:罗祖术';
lblemail.Caption :='Luozs168@163.net';
lblVersion.Caption :=FrmMain.lblVersion.Caption ;
end;

procedure TFrmAbout.BtnOkClick(Sender: TObject);
begin
  close;
end;

procedure TFrmAbout.Label5Click(Sender: TObject);
begin
FrmRegistry.showmodal;
end;

procedure TFrmAbout.FormActivate(Sender: TObject);
begin
  if checkreg=0 then
      lblreginc.Caption :='未注册版本'
      else
        lblreginc.Caption :=tempInc;
end;

end.

⌨️ 快捷键说明

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