diff --git a/HaRepacker/GUI/AboutForm.Designer.cs b/HaRepacker/GUI/AboutForm.Designer.cs index 391973e6..c3b3a352 100644 --- a/HaRepacker/GUI/AboutForm.Designer.cs +++ b/HaRepacker/GUI/AboutForm.Designer.cs @@ -35,6 +35,7 @@ private void InitializeComponent() this.label4 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); + this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.SuspendLayout(); // // label1 @@ -69,10 +70,18 @@ private void InitializeComponent() resources.ApplyResources(this.label5, "label5"); this.label5.Name = "label5"; // + // linkLabel1 + // + resources.ApplyResources(this.linkLabel1, "linkLabel1"); + this.linkLabel1.Name = "linkLabel1"; + this.linkLabel1.TabStop = true; + this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); + // // AboutForm // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.linkLabel1); this.Controls.Add(this.label5); this.Controls.Add(this.button1); this.Controls.Add(this.label4); @@ -82,6 +91,7 @@ private void InitializeComponent() this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "AboutForm"; this.ResumeLayout(false); + this.PerformLayout(); } @@ -93,5 +103,6 @@ private void InitializeComponent() private System.Windows.Forms.Label label4; private System.Windows.Forms.Button button1; private System.Windows.Forms.Label label5; + private System.Windows.Forms.LinkLabel linkLabel1; } } \ No newline at end of file diff --git a/HaRepacker/GUI/AboutForm.cs b/HaRepacker/GUI/AboutForm.cs index 02a7aa6a..9f325c85 100644 --- a/HaRepacker/GUI/AboutForm.cs +++ b/HaRepacker/GUI/AboutForm.cs @@ -42,5 +42,19 @@ private void button1_Click(object sender, EventArgs e) { Close(); } + + /// + /// Hyperlink + /// + /// + /// + private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { + try { + System.Diagnostics.Process.Start(linkLabel1.Text); + } + catch (Exception ex) { + MessageBox.Show($"An error occurred: {ex.Message}", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + } } } diff --git a/HaRepacker/GUI/AboutForm.resx b/HaRepacker/GUI/AboutForm.resx index 782f34db..7bc7eeea 100644 --- a/HaRepacker/GUI/AboutForm.resx +++ b/HaRepacker/GUI/AboutForm.resx @@ -147,7 +147,7 @@ $this - 5 + 6 12, 50 @@ -174,7 +174,7 @@ $this - 4 + 5 12, 73 @@ -203,7 +203,7 @@ $this - 3 + 4 12, 98 @@ -231,7 +231,7 @@ Copyright (C) 2009-2015 haha01haha01 $this - 2 + 3 211, 297 @@ -255,23 +255,26 @@ Copyright (C) 2009-2015 haha01haha01 $this - 1 + 2 + + + True NoControl - 12, 191 + 114, 242 - 563, 75 + 49, 13 5 - A fork~ https://github.com/lastbattle + A fork~ MiddleCenter @@ -286,6 +289,33 @@ Copyright (C) 2009-2015 haha01haha01 $this + 1 + + + True + + + 169, 242 + + + 280, 13 + + + 6 + + + https://github.com/lastbattle/Harepacker-resurrected + + + linkLabel1 + + + System.Windows.Forms.LinkLabel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + 0