diff --git a/NJCIT/InfomationForm.cs b/NJCIT/InfomationForm.cs index dc9ca3a..487ea7a 100644 --- a/NJCIT/InfomationForm.cs +++ b/NJCIT/InfomationForm.cs @@ -154,7 +154,14 @@ namespace NJCIT private void toolStripLabel_help_Click(object sender, EventArgs e) { - System.Diagnostics.Process.Start("http://xueye.io/njcit-lan-help.html"); + try + { + System.Diagnostics.Process.Start("help.html"); + } + catch (Exception ee) + { + MessageBox.Show(ee.Message, "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Error); + } } } } diff --git a/NJCIT/LoginForm.cs b/NJCIT/LoginForm.cs index 97cc5f2..cb57504 100644 --- a/NJCIT/LoginForm.cs +++ b/NJCIT/LoginForm.cs @@ -243,7 +243,14 @@ namespace NJCIT private void toolStripButton_help_Click(object sender, EventArgs e) { - System.Diagnostics.Process.Start("http://xueye.io/njcit-lan-help.html"); + try + { + System.Diagnostics.Process.Start("help.html"); + } + catch (Exception ee) + { + MessageBox.Show(ee.Message, "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Error); + } } } } diff --git a/NJCIT/bin/Debug/help.html b/NJCIT/bin/Debug/help.html new file mode 100644 index 0000000..e69de29