mirror of
https://bitbucket.org/grumdrig/pq.git
synced 2026-09-29 08:44:00 -06:00
svn, so that changes will be trackable thataway. As checked in, right here, this is PQ 6.0
49 lines
987 B
ObjectPascal
49 lines
987 B
ObjectPascal
unit Front;
|
|
|
|
interface
|
|
|
|
uses
|
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
Dialogs, StdCtrls, ExtCtrls;
|
|
|
|
type
|
|
TForm3 = class(TForm)
|
|
Panel1: TPanel;
|
|
Logo: TImage;
|
|
Button1: TButton;
|
|
Button2: TButton;
|
|
Label1: TLabel;
|
|
OpenDialog1: TOpenDialog;
|
|
Button4: TButton;
|
|
Label2: TLabel;
|
|
Label3: TLabel;
|
|
HomeLink: TLabel;
|
|
procedure HomeLinkClick(Sender: TObject);
|
|
procedure LogoClick(Sender: TObject);
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
{ Public declarations }
|
|
end;
|
|
|
|
var
|
|
Form3: TForm3;
|
|
|
|
implementation
|
|
|
|
uses ShellAPI, Main, Info;
|
|
|
|
{$R *.dfm}
|
|
|
|
procedure TForm3.HomeLinkClick(Sender: TObject);
|
|
begin
|
|
ShellExecute(GetDesktopWindow(), 'open', 'http://progressquest.com/pq.html', 0, '', SW_SHOW);
|
|
end;
|
|
|
|
procedure TForm3.LogoClick(Sender: TObject);
|
|
begin
|
|
ShellExecute(GetDesktopWindow(), 'open', 'http://progressquest.com/', 0, '', SW_SHOW);
|
|
end;
|
|
|
|
end.
|