📄 winabout.~pas
字号:
unit Winabout;
//****************************************************************
//*公司名:华夏数码有限公司
//*系统名:考勤管理系统
//*程序名:Winabout
//*
//*--------------------------------------------------------------
//* [年月日] [制造者]
//*--------------------------------------------------------------
//* 2005/12/15 徐二芳
//*
//****************************************************************
interface
uses
System.Drawing, System.Collections, System.ComponentModel,
System.Windows.Forms, System.Data, System.Resources,clsmain;
type
TWinabout = class(System.Windows.Forms.Form)
{$REGION 'Designer Managed Code'}
strict private
/// <summary>
/// Required designer variable.
/// </summary>
Components: System.ComponentModel.Container;
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
procedure InitializeComponent;
procedure TWinabout_DoubleClick(sender: System.Object; e: System.EventArgs);
procedure TWinabout_Load(sender: System.Object; e: System.EventArgs);
procedure TWinabout_Closed(sender: System.Object; e: System.EventArgs);
{$ENDREGION}
strict protected
/// <summary>
/// Clean up any resources being used.
/// </summary>
procedure Dispose(Disposing: Boolean); override;
private
{ Private Declarations }
public
constructor Create;
end;
[assembly: RuntimeRequiredAttribute(TypeOf(TWinabout))]
implementation
{$REGION 'Windows Form Designer generated code'}
/// <summary>
/// Required method for Designer support -- do not modify
/// the contents of this method with the code editor.
/// </summary>
procedure TWinabout.InitializeComponent;
var
resources: System.Resources.ResourceManager;
begin
resources := System.Resources.ResourceManager.Create(TypeOf(TWinabout));
//
// TWinabout
//
Self.AutoScaleBaseSize := System.Drawing.Size.Create(6, 14);
Self.BackgroundImage := (System.Drawing.Image(resources.GetObject('$this.BackgroundImage')));
Self.ClientSize := System.Drawing.Size.Create(456, 325);
Self.Icon := (System.Drawing.Icon(resources.GetObject('$this.Icon')));
Self.Name := 'TWinabout';
Self.Text := '关于';
Include(Self.Load, Self.TWinabout_Load);
Include(Self.DoubleClick, Self.TWinabout_DoubleClick);
Include(Self.Closed, Self.TWinabout_Closed);
end;
{$ENDREGION}
procedure TWinabout.Dispose(Disposing: Boolean);
begin
if Disposing then
begin
if Components <> nil then
Components.Dispose();
end;
inherited Dispose(Disposing);
end;
constructor TWinabout.Create;
begin
inherited Create;
//
// Required for Windows Form Designer support
//
InitializeComponent;
//
// TODO: Add any constructor code after InitializeComponent call
//
end;
//====================================
// 关于窗体---关闭事件
// [参数]
// 系统参数
// [返回]
// 无
//====================================
procedure TWinabout.TWinabout_Closed(sender: System.Object; e: System.EventArgs);
begin
try
WinAboutShowFla:=false;
except
on ex:exception do
begin
messagebox.Show('TWinabout.TWinabout_closed:('+ex.message+')','考勤管理系统');
end;
end;
end;
//====================================
// 关于窗体----加载事件
// [参数]
// 系统参数
// [返回]
// 无
//====================================
procedure TWinabout.TWinabout_Load(sender: System.Object; e: System.EventArgs);
begin
try
WinAboutShowFla:=true;
except
on ex:exception do
begin
messagebox.Show('TWinabout.TWinabout_Load:('+ex.message+')','考勤管理系统');
end;
end;
end;
//====================================
// 关于窗体双击事件
// [参数]
// 系统参数
// [返回]
// 无
//====================================
procedure TWinabout.TWinabout_DoubleClick(sender: System.Object; e: System.EventArgs);
begin
self.Close;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -