Add github link
This commit is contained in:
parent
b307837b1b
commit
ba5364f12e
16
RecodeItGUI/GUI/Main.Designer.cs
generated
16
RecodeItGUI/GUI/Main.Designer.cs
generated
@ -161,6 +161,7 @@ partial class ReCodeItForm
|
|||||||
CCBuildDirText = new TextBox();
|
CCBuildDirText = new TextBox();
|
||||||
SettingsTab = new TabPage();
|
SettingsTab = new TabPage();
|
||||||
groupBox2 = new GroupBox();
|
groupBox2 = new GroupBox();
|
||||||
|
GithubLinkLabel = new LinkLabel();
|
||||||
SilentModeCheckbox = new CheckBox();
|
SilentModeCheckbox = new CheckBox();
|
||||||
DebugLoggingCheckbox = new CheckBox();
|
DebugLoggingCheckbox = new CheckBox();
|
||||||
TabPageRemapper.SuspendLayout();
|
TabPageRemapper.SuspendLayout();
|
||||||
@ -1634,6 +1635,7 @@ partial class ReCodeItForm
|
|||||||
//
|
//
|
||||||
// groupBox2
|
// groupBox2
|
||||||
//
|
//
|
||||||
|
groupBox2.Controls.Add(GithubLinkLabel);
|
||||||
groupBox2.Controls.Add(SilentModeCheckbox);
|
groupBox2.Controls.Add(SilentModeCheckbox);
|
||||||
groupBox2.Controls.Add(DebugLoggingCheckbox);
|
groupBox2.Controls.Add(DebugLoggingCheckbox);
|
||||||
groupBox2.Location = new Point(13, 6);
|
groupBox2.Location = new Point(13, 6);
|
||||||
@ -1643,6 +1645,17 @@ partial class ReCodeItForm
|
|||||||
groupBox2.TabStop = false;
|
groupBox2.TabStop = false;
|
||||||
groupBox2.Text = "App Settings";
|
groupBox2.Text = "App Settings";
|
||||||
//
|
//
|
||||||
|
// GithubLinkLabel
|
||||||
|
//
|
||||||
|
GithubLinkLabel.AutoSize = true;
|
||||||
|
GithubLinkLabel.Location = new Point(6, 313);
|
||||||
|
GithubLinkLabel.Name = "GithubLinkLabel";
|
||||||
|
GithubLinkLabel.Size = new Size(301, 25);
|
||||||
|
GithubLinkLabel.TabIndex = 3;
|
||||||
|
GithubLinkLabel.TabStop = true;
|
||||||
|
GithubLinkLabel.Text = "https://github.com/CJ-SPT/ReCodeIt";
|
||||||
|
GithubLinkLabel.LinkClicked += GithubLinkLabel_LinkClicked;
|
||||||
|
//
|
||||||
// SilentModeCheckbox
|
// SilentModeCheckbox
|
||||||
//
|
//
|
||||||
SilentModeCheckbox.AutoSize = true;
|
SilentModeCheckbox.AutoSize = true;
|
||||||
@ -1674,7 +1687,7 @@ partial class ReCodeItForm
|
|||||||
Controls.Add(TabControlMain);
|
Controls.Add(TabControlMain);
|
||||||
FormBorderStyle = FormBorderStyle.FixedSingle;
|
FormBorderStyle = FormBorderStyle.FixedSingle;
|
||||||
Name = "ReCodeItForm";
|
Name = "ReCodeItForm";
|
||||||
Text = "ReCodeIt V0.1.0";
|
Text = "ReCodeIt V0.1.0 - PRC0";
|
||||||
TabPageRemapper.ResumeLayout(false);
|
TabPageRemapper.ResumeLayout(false);
|
||||||
groupBox1.ResumeLayout(false);
|
groupBox1.ResumeLayout(false);
|
||||||
groupBox1.PerformLayout();
|
groupBox1.PerformLayout();
|
||||||
@ -1855,4 +1868,5 @@ partial class ReCodeItForm
|
|||||||
private CheckBox CCAutoLoadLastProj;
|
private CheckBox CCAutoLoadLastProj;
|
||||||
private GroupBox groupBox5;
|
private GroupBox groupBox5;
|
||||||
private TextBox CCBuildConfiguration;
|
private TextBox CCBuildConfiguration;
|
||||||
|
private LinkLabel GithubLinkLabel;
|
||||||
}
|
}
|
||||||
|
@ -6,6 +6,7 @@ using ReCodeIt.Enums;
|
|||||||
using ReCodeIt.Models;
|
using ReCodeIt.Models;
|
||||||
using ReCodeIt.ReMapper;
|
using ReCodeIt.ReMapper;
|
||||||
using ReCodeIt.Utils;
|
using ReCodeIt.Utils;
|
||||||
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace ReCodeIt.GUI;
|
namespace ReCodeIt.GUI;
|
||||||
|
|
||||||
@ -1096,4 +1097,13 @@ public partial class ReCodeItForm : Form
|
|||||||
CCMappingTreeView.Nodes.Add(GUIHelpers.GenerateTreeNode(remap, this));
|
CCMappingTreeView.Nodes.Add(GUIHelpers.GenerateTreeNode(remap, this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void GithubLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
|
{
|
||||||
|
Process.Start(new ProcessStartInfo
|
||||||
|
{
|
||||||
|
FileName = GithubLinkLabel.Text,
|
||||||
|
UseShellExecute = true
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user