From 46dc090e2c74985dce86ca304c0182979c1dd8fa Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 16 Sep 2019 21:15:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B8=AE=E5=8A=A9=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=BA=E6=9C=AC=E5=9C=B0=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NJCIT/InfomationForm.cs | 9 ++++++++- NJCIT/LoginForm.cs | 9 ++++++++- NJCIT/bin/Debug/help.html | 0 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 NJCIT/bin/Debug/help.html 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