f_bz.pas
上传用户:lcqxtx
上传日期:2013-02-15
资源大小:530k
文件大小:1k
- unit f_bz;
- interface
- uses
- Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
- Dialogs, ExtCtrls, StdCtrls;
- type
- Tw_bz = class(TForm)
- Panel1: TPanel;
- ProgramIcon: TImage;
- ProductName: TLabel;
- Version: TLabel;
- Copyright: TLabel;
- Comments: TLabel;
- StaticText1: TStaticText;
- Timer1: TTimer;
- procedure FormClose(Sender: TObject; var Action: TCloseAction);
- procedure Timer1Timer(Sender: TObject);
- procedure StaticText1Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- var
- w_bz: Tw_bz;
- implementation
- {$R *.dfm}
- procedure Tw_bz.FormClose(Sender: TObject; var Action: TCloseAction);
- begin
- AnimateWindow(self.Handle, 1800, AW_HIDE + AW_CENTER + AW_BLEND);
- end;
- procedure Tw_bz.Timer1Timer(Sender: TObject);
- begin
- Timer1.Enabled:=False;//停止计时
- end;
- procedure Tw_bz.StaticText1Click(Sender: TObject);
- begin
- close;
- end;
- end.