unit AboutForm;

interface

uses
  System.Drawing, System.Collections, System.ComponentModel,
  System.Windows.Forms, System.Data, System.Resources;

type
  TAboutBox = class(System.Windows.Forms.Form)
  {$REGION 'Designer Managed Code'}
  strict private
    /// <summary>
    /// Required designer variable.
    /// </summary>
    Components: System.ComponentModel.Container;
    PictureBox1: System.Windows.Forms.PictureBox;
    Label1: System.Windows.Forms.Label;
    Panel1: System.Windows.Forms.Panel;
    Button1: System.Windows.Forms.Button;
    Label2: System.Windows.Forms.Label;
    Panel2: System.Windows.Forms.Panel;
    PictureBox2: System.Windows.Forms.PictureBox;
    Label3: System.Windows.Forms.Label;
    LinkLabel1: System.Windows.Forms.LinkLabel;
    Label4: System.Windows.Forms.Label;
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    procedure InitializeComponent;
    procedure Button1_Click(sender: System.Object; e: System.EventArgs);
    procedure LinkLabel1_LinkClicked(sender: System.Object; e: System.Windows.Forms.LinkLabelLinkClickedEventArgs);
  {$ENDREGION}
  strict protected
    /// <summary>
    /// Clean up any resources being used.
    /// </summary>
    procedure Dispose(Disposing: Boolean); override;
  public
    constructor Create;
  end;

  [assembly: RuntimeRequiredAttribute(TypeOf(TAboutBox))]

implementation

uses
  System.Diagnostics;

{$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 TAboutBox.InitializeComponent;
var
  resources: System.Resources.ResourceManager;
begin
  resources := System.Resources.ResourceManager.Create(TypeOf(TAboutBox));
  Self.Panel1 := System.Windows.Forms.Panel.Create;
  Self.Label4 := System.Windows.Forms.Label.Create;
  Self.LinkLabel1 := System.Windows.Forms.LinkLabel.Create;
  Self.Label3 := System.Windows.Forms.Label.Create;
  Self.PictureBox2 := System.Windows.Forms.PictureBox.Create;
  Self.Panel2 := System.Windows.Forms.Panel.Create;
  Self.Label2 := System.Windows.Forms.Label.Create;
  Self.Button1 := System.Windows.Forms.Button.Create;
  Self.Label1 := System.Windows.Forms.Label.Create;
  Self.PictureBox1 := System.Windows.Forms.PictureBox.Create;
  Self.Panel1.SuspendLayout;
  Self.SuspendLayout;
  // 
  // Panel1
  // 
  Self.Panel1.BackColor := System.Drawing.Color.White;
  Self.Panel1.BorderStyle := System.Windows.Forms.BorderStyle.FixedSingle;
  Self.Panel1.Controls.Add(Self.Label4);
  Self.Panel1.Controls.Add(Self.LinkLabel1);
  Self.Panel1.Controls.Add(Self.Label3);
  Self.Panel1.Controls.Add(Self.PictureBox2);
  Self.Panel1.Controls.Add(Self.Panel2);
  Self.Panel1.Controls.Add(Self.Label2);
  Self.Panel1.Controls.Add(Self.Button1);
  Self.Panel1.Controls.Add(Self.Label1);
  Self.Panel1.Controls.Add(Self.PictureBox1);
  Self.Panel1.Dock := System.Windows.Forms.DockStyle.Fill;
  Self.Panel1.Location := System.Drawing.Point.Create(0, 0);
  Self.Panel1.Name := 'Panel1';
  Self.Panel1.Size := System.Drawing.Size.Create(410, 232);
  Self.Panel1.TabIndex := 0;
  // 
  // Label4
  // 
  Self.Label4.AutoSize := True;
  Self.Label4.BackColor := System.Drawing.Color.Transparent;
  Self.Label4.Location := System.Drawing.Point.Create(150, 32);
  Self.Label4.Name := 'Label4';
  Self.Label4.Size := System.Drawing.Size.Create(125, 16);
  Self.Label4.TabIndex := 10;
  Self.Label4.Text := 'for the .NET Framework';
  // 
  // LinkLabel1
  // 
  Self.LinkLabel1.AutoSize := True;
  Self.LinkLabel1.Location := System.Drawing.Point.Create(216, 168);
  Self.LinkLabel1.Name := 'LinkLabel1';
  Self.LinkLabel1.Size := System.Drawing.Size.Create(94, 16);
  Self.LinkLabel1.TabIndex := 9;
  Self.LinkLabel1.TabStop := True;
  Self.LinkLabel1.Text := 'www.borland.com';
  Include(Self.LinkLabel1.LinkClicked, Self.LinkLabel1_LinkClicked);
  // 
  // Label3
  // 
  Self.Label3.AutoSize := True;
  Self.Label3.BackColor := System.Drawing.Color.Transparent;
  Self.Label3.Location := System.Drawing.Point.Create(122, 144);
  Self.Label3.Name := 'Label3';
  Self.Label3.Size := System.Drawing.Size.Create(292, 16);
  Self.Label3.TabIndex := 8;
  Self.Label3.Text := 'Designed with Delphi 8 for the Microsoft .NET Framework';
  // 
  // PictureBox2
  // 
  Self.PictureBox2.Image := (System.Drawing.Image(resources.GetObject('PictureBox2.Image')));
  Self.PictureBox2.Location := System.Drawing.Point.Create(189, 96);
  Self.PictureBox2.Name := 'PictureBox2';
  Self.PictureBox2.Size := System.Drawing.Size.Create(150, 41);
  Self.PictureBox2.SizeMode := System.Windows.Forms.PictureBoxSizeMode.AutoSize;
  Self.PictureBox2.TabIndex := 7;
  Self.PictureBox2.TabStop := False;
  // 
  // Panel2
  // 
  Self.Panel2.BorderStyle := System.Windows.Forms.BorderStyle.Fixed3D;
  Self.Panel2.Location := System.Drawing.Point.Create(136, 80);
  Self.Panel2.Name := 'Panel2';
  Self.Panel2.Size := System.Drawing.Size.Create(256, 4);
  Self.Panel2.TabIndex := 6;
  // 
  // Label2
  // 
  Self.Label2.AutoSize := True;
  Self.Label2.Location := System.Drawing.Point.Create(147, 56);
  Self.Label2.Name := 'Label2';
  Self.Label2.Size := System.Drawing.Size.Create(248, 16);
  Self.Label2.TabIndex := 5;
  Self.Label2.Text := 'Copyright © 2003, Borland Software Corporation';
  // 
  // Button1
  // 
  Self.Button1.Cursor := System.Windows.Forms.Cursors.Default;
  Self.Button1.FlatStyle := System.Windows.Forms.FlatStyle.System;
  Self.Button1.Location := System.Drawing.Point.Create(312, 200);
  Self.Button1.Name := 'Button1';
  Self.Button1.TabIndex := 4;
  Self.Button1.Text := '&OK';
  Include(Self.Button1.Click, Self.Button1_Click);
  // 
  // Label1
  // 
  Self.Label1.AutoSize := True;
  Self.Label1.Font := System.Drawing.Font.Create('Microsoft Sans Serif', 15.75, 
      System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, (Byte(0)));
  Self.Label1.ForeColor := System.Drawing.SystemColors.ActiveCaption;
  Self.Label1.Location := System.Drawing.Point.Create(145, 8);
  Self.Label1.Name := 'Label1';
  Self.Label1.Size := System.Drawing.Size.Create(239, 27);
  Self.Label1.TabIndex := 3;
  Self.Label1.Text := 'ResXBuilder version 1.0';
  // 
  // PictureBox1
  // 
  Self.PictureBox1.BackColor := System.Drawing.Color.Transparent;
  Self.PictureBox1.Dock := System.Windows.Forms.DockStyle.Left;
  Self.PictureBox1.Image := (System.Drawing.Image(resources.GetObject('PictureBox1.Image')));
  Self.PictureBox1.Location := System.Drawing.Point.Create(0, 0);
  Self.PictureBox1.Name := 'PictureBox1';
  Self.PictureBox1.Size := System.Drawing.Size.Create(120, 230);
  Self.PictureBox1.SizeMode := System.Windows.Forms.PictureBoxSizeMode.StretchImage;
  Self.PictureBox1.TabIndex := 2;
  Self.PictureBox1.TabStop := False;
  // 
  // TAboutBox
  // 
  Self.AutoScaleBaseSize := System.Drawing.Size.Create(5, 13);
  Self.ClientSize := System.Drawing.Size.Create(410, 232);
  Self.Controls.Add(Self.Panel1);
  Self.FormBorderStyle := System.Windows.Forms.FormBorderStyle.None;
  Self.Icon := (System.Drawing.Icon(resources.GetObject('$this.Icon')));
  Self.Name := 'TAboutBox';
  Self.ShowInTaskbar := False;
  Self.StartPosition := System.Windows.Forms.FormStartPosition.CenterParent;
  Self.Text := 'About ResXBuilder 1.0';
  Self.Panel1.ResumeLayout(False);
  Self.ResumeLayout(False);
end;
{$ENDREGION}

procedure TAboutBox.Dispose(Disposing: Boolean);
begin
  if Disposing then
  begin
    if Components <> nil then
      Components.Dispose();
  end;
  inherited Dispose(Disposing);
end;

constructor TAboutBox.Create;
begin
  inherited Create;
  //
  // Required for Windows Form Designer support
  //
  InitializeComponent;
  //
  // TODO: Add any constructor code after InitializeComponent call
  //
end;

procedure TAboutBox.LinkLabel1_LinkClicked(sender: System.Object; e: System.Windows.Forms.LinkLabelLinkClickedEventArgs);
begin
  System.Diagnostics.Process.Start(LinkLabel1.Text);
end;

procedure TAboutBox.Button1_Click(sender: System.Object; e: System.EventArgs);
begin
  Close;
end;

end.
