diff --git a/Diz.Ui.Winforms b/Diz.Ui.Winforms index 7e787311..586ec58f 160000 --- a/Diz.Ui.Winforms +++ b/Diz.Ui.Winforms @@ -1 +1 @@ -Subproject commit 7e787311f7f5af84126cf5dc7d9e36fb88ab9541 +Subproject commit 586ec58fc9b5aa12bc41b7e919d6b5bfb2c77752 diff --git a/DiztinGUIsh/DiztinGUIsh.csproj b/DiztinGUIsh/DiztinGUIsh.csproj index fed74344..ae509686 100644 --- a/DiztinGUIsh/DiztinGUIsh.csproj +++ b/DiztinGUIsh/DiztinGUIsh.csproj @@ -218,9 +218,6 @@ diztinguish\.github\workflows\dotnet.yml - - - diff --git a/DiztinGUIsh/window/MainWindow.Prompts.cs b/DiztinGUIsh/window/MainWindow.Prompts.cs index 7460e2e1..fa00af5d 100644 --- a/DiztinGUIsh/window/MainWindow.Prompts.cs +++ b/DiztinGUIsh/window/MainWindow.Prompts.cs @@ -52,18 +52,20 @@ private bool PromptForOpenProjectFilename() private void viewHelpToolStripMenuItem_Click(object sender, EventArgs e) { + var helpUrl = "https://github.com/IsoFrieze/DiztinGUIsh/blob/master/DiztinGUIsh/dist/HELP.md"; try { - System.Diagnostics.Process.Start(Directory.GetCurrentDirectory() + "/help.html"); + // System.Diagnostics.Process.Start(Directory.GetCurrentDirectory() + "/help.html"); + GuiUtil.OpenExternalProcess(helpUrl); } catch (Exception) { - MessageBox.Show("Can't find the help file.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show("Failed to open help url:\r\n"+helpUrl+"", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } private void githubToolStripMenuItem_Click(object sender, EventArgs e) => - GuiUtil.OpenExternalProcess("https://github.com/Dotsarecool/DiztinGUIsh"); + GuiUtil.OpenExternalProcess("https://github.com/Isofrieze/DiztinGUIsh"); private string PromptOpenBizhawkCDLFile() { diff --git a/DiztinGUIsh/window/dialog/BSNESTraceLogBinaryMonitorForm.Designer.cs b/DiztinGUIsh/window/dialog/BSNESTraceLogBinaryMonitorForm.Designer.cs index 32aca915..962f44a7 100644 --- a/DiztinGUIsh/window/dialog/BSNESTraceLogBinaryMonitorForm.Designer.cs +++ b/DiztinGUIsh/window/dialog/BSNESTraceLogBinaryMonitorForm.Designer.cs @@ -317,7 +317,7 @@ private void InitializeComponent() this.button1.TabIndex = 28; this.button1.Text = "Help"; this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); + this.button1.Click += new System.EventHandler(this.btnTracelogHelpClick); // // cartesianChart1 // diff --git a/DiztinGUIsh/window/dialog/BSNESTraceLogBinaryMonitorForm.UI.cs b/DiztinGUIsh/window/dialog/BSNESTraceLogBinaryMonitorForm.UI.cs index 8ee412e0..89e0d4aa 100644 --- a/DiztinGUIsh/window/dialog/BSNESTraceLogBinaryMonitorForm.UI.cs +++ b/DiztinGUIsh/window/dialog/BSNESTraceLogBinaryMonitorForm.UI.cs @@ -106,7 +106,7 @@ private void UpdateUi() lblModifiedMFlags.Text = ByteSize.FromBytes(stats.NumMFlagsModified).ToString("0.00"); } - private void button1_Click(object sender, EventArgs e) + private void btnTracelogHelpClick(object sender, EventArgs e) { MessageBox.Show("What is this? \r\n" + "Connect via socket to a special build of BSNES-plus and capture live tracelog as you play the game " +