diff --git a/CalendarNotepad/WorkMain.cs b/CalendarNotepad/WorkMain.cs index b6ef690..3889dc9 100644 --- a/CalendarNotepad/WorkMain.cs +++ b/CalendarNotepad/WorkMain.cs @@ -71,7 +71,7 @@ namespace CalendarNotepad if(plsq.Any()) { foreach(var i in plsq) { var lit1 = new ListViewItem(i.FileName); - lit1.SubItems.Add(new ListViewItem.ListViewSubItem { Text = "已载入" }); + lit1.SubItems.Add(new ListViewItem.ListViewSubItem { Text = "已导入" }); lit1.SubItems.Add(new ListViewItem.ListViewSubItem { Text = i.FileKey }); this.FileListView.Items.Add(lit1); } @@ -210,7 +210,11 @@ namespace CalendarNotepad } private void rtbMsg_LinkClicked(object sender,LinkClickedEventArgs e) { + if(e.LinkText.IsNullOrEmpty()) { + return; + } try { + //System.Diagnostics.Process.Start("https://www.baidu.com/"); System.Diagnostics.Process.Start(e.LinkText); } catch(Exception ex) { @@ -219,6 +223,9 @@ namespace CalendarNotepad } private void tsp_Copy_Click(object sender,EventArgs e) { + if(this.rtbMsg.SelectedText.IsNullOrEmpty()) { + this.rtbMsg.SelectAll(); + } Clipboard.SetText(this.rtbMsg.SelectedText); } @@ -276,6 +283,7 @@ namespace CalendarNotepad WorkDay = wd, FileName = Path.GetFileName(f), }).ExecuteCommand(); + lit1.SubItems[1].Text = "已导入"; } } diff --git a/CalendarNotepad/WorkMain.resx b/CalendarNotepad/WorkMain.resx index 264df2d..24e1c18 100644 --- a/CalendarNotepad/WorkMain.resx +++ b/CalendarNotepad/WorkMain.resx @@ -117,9 +117,78 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + 17, 17 + + True + @@ -130,12 +199,54 @@ AAAAAElFTkSuQmCC + + True + 127, 17 + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + 248, 17 + + True + 36