uAbout.pas
资源名称:辩论赛计时器.rar [点击查看]
上传用户:pegasus
上传日期:2013-04-14
资源大小:3825k
文件大小:1k
源码类别:
教育系统应用
开发平台:
Delphi
- unit uAbout;
- interface
- uses
- Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
- Dialogs, StdCtrls, ExtCtrls,ShellAPI, jpeg;
- type
- TFormAbout = class(TForm)
- Image1: TImage;
- Label1: TLabel;
- Label4: TLabel;
- Label2: TLabel;
- BtnOK: TButton;
- Label3: TLabel;
- procedure Label2Click(Sender: TObject);
- procedure Label2MouseEnter(Sender: TObject);
- procedure Label2MouseLeave(Sender: TObject);
- procedure BtnOKClick(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- var
- FormAbout: TFormAbout;
- implementation
- {$R *.dfm}
- procedure TFormAbout.Label2Click(Sender: TObject);
- begin
- Shellexecute(handle,nil,pchar('mailto:guangbin240@yahoo.com.cn'),nil,
- nil,sw_shownormal);
- end;
- procedure TFormAbout.Label2MouseEnter(Sender: TObject);
- begin
- Label2.Font.Color:=clBlue;
- end;
- procedure TFormAbout.Label2MouseLeave(Sender: TObject);
- begin
- Label2.Font.Color:=clBlack;
- end;
- procedure TFormAbout.BtnOKClick(Sender: TObject);
- begin
- Close; // 关闭窗体
- end;
- end.