{ ============================================
  Software Name : 	GAlertService
  ============================================ }
{ ******************************************** }
{ Written By WalWalWalides                     }
{ CopyRight © 2020                             }
{ Email : WalWalWalides@gmail.com              }
{ GitHub :https://github.com/walwalwalides     }
{ ******************************************** }
unit About;

interface

uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
  Buttons, ExtCtrls, acPNG, AdvGlowButton;

type
  TAboutBox = class(TForm)
    AboutPanel: TPanel;
    ProgramIcon: TImage;
    ProductName: TLabel;
    Version: TLabel;
    Copyright: TLabel;
    Comments: TLabel;
    Author: TLabel;
    SepBevel: TBevel;
    ProgramIcon2: TImage;
    btnGlowOk: TAdvGlowButton;
    Panel1: TPanel;
    linklblGitHub: TLinkLabel;
    procedure btnGlowOkClick(Sender: TObject);
    procedure linklblGitHubLinkClick(Sender: TObject; const Link: string; LinkType: TSysLinkType);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  AboutBox: TAboutBox;

implementation

uses ShellApi;

{$R *.dfm}

procedure TAboutBox.btnGlowOkClick(Sender: TObject);
begin
  Close;
end;

procedure TAboutBox.linklblGitHubLinkClick(Sender: TObject; const Link: string; LinkType: TSysLinkType);
begin
  ShellExecute(Handle, 'open', PChar(Link), Nil, Nil, SW_SHOWDEFAULT);
end;

end.
