From 5841d6807e9d4c89e911a4ee03c6860ad2e00220 Mon Sep 17 00:00:00 2001 From: Falcon <12919280+falconfly@user.noreply.gitee.com> Date: Thu, 1 Aug 2024 09:20:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=9B=B4=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CalendarNotepad/WorkMain.Designer.cs | 24 +++--- CalendarNotepad/WorkMain.resx | 123 +++++++++++++++++++++++++++ 2 files changed, 135 insertions(+), 12 deletions(-) diff --git a/CalendarNotepad/WorkMain.Designer.cs b/CalendarNotepad/WorkMain.Designer.cs index 32b52dd..bf26bc5 100644 --- a/CalendarNotepad/WorkMain.Designer.cs +++ b/CalendarNotepad/WorkMain.Designer.cs @@ -59,6 +59,7 @@ 删除ToolStripMenuItem = new ToolStripMenuItem(); 导入ToolStripMenuItem = new ToolStripMenuItem(); 下载ToolStripMenuItem = new ToolStripMenuItem(); + 更名ToolStripMenuItem = new ToolStripMenuItem(); tabPage1 = new TabPage(); flowLayoutPanel5 = new FlowLayoutPanel(); bt_m_dbshc = new Button(); @@ -76,7 +77,6 @@ panel2 = new Panel(); panel3 = new Panel(); OpenFileDlg = new OpenFileDialog(); - 更名ToolStripMenuItem = new ToolStripMenuItem(); tabControl1.SuspendLayout(); tpWorkManage.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit(); @@ -421,29 +421,36 @@ // cms_FileList.Items.AddRange(new ToolStripItem[] { 删除ToolStripMenuItem,导入ToolStripMenuItem,下载ToolStripMenuItem,更名ToolStripMenuItem }); cms_FileList.Name = "contextMenuStrip1"; - cms_FileList.Size = new Size(181,114); + cms_FileList.Size = new Size(101,92); // // 删除ToolStripMenuItem // 删除ToolStripMenuItem.Name = "删除ToolStripMenuItem"; - 删除ToolStripMenuItem.Size = new Size(180,22); + 删除ToolStripMenuItem.Size = new Size(100,22); 删除ToolStripMenuItem.Text = "删除"; 删除ToolStripMenuItem.Click += 删除ToolStripMenuItem_Click; // // 导入ToolStripMenuItem // 导入ToolStripMenuItem.Name = "导入ToolStripMenuItem"; - 导入ToolStripMenuItem.Size = new Size(180,22); + 导入ToolStripMenuItem.Size = new Size(100,22); 导入ToolStripMenuItem.Text = "导入"; 导入ToolStripMenuItem.Click += 导入ToolStripMenuItem_Click; // // 下载ToolStripMenuItem // 下载ToolStripMenuItem.Name = "下载ToolStripMenuItem"; - 下载ToolStripMenuItem.Size = new Size(180,22); + 下载ToolStripMenuItem.Size = new Size(100,22); 下载ToolStripMenuItem.Text = "下载"; 下载ToolStripMenuItem.Click += 下载ToolStripMenuItem_Click; // + // 更名ToolStripMenuItem + // + 更名ToolStripMenuItem.Name = "更名ToolStripMenuItem"; + 更名ToolStripMenuItem.Size = new Size(100,22); + 更名ToolStripMenuItem.Text = "更名"; + 更名ToolStripMenuItem.Click += 更名ToolStripMenuItem_Click; + // // tabPage1 // tabPage1.Controls.Add(flowLayoutPanel5); @@ -622,13 +629,6 @@ // OpenFileDlg.Multiselect = true; // - // 更名ToolStripMenuItem - // - 更名ToolStripMenuItem.Name = "更名ToolStripMenuItem"; - 更名ToolStripMenuItem.Size = new Size(180,22); - 更名ToolStripMenuItem.Text = "更名"; - 更名ToolStripMenuItem.Click += 更名ToolStripMenuItem_Click; - // // WorkMain // AutoScaleDimensions = new SizeF(7F,17F); diff --git a/CalendarNotepad/WorkMain.resx b/CalendarNotepad/WorkMain.resx index 0290df8..3940893 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 + @@ -139,12 +208,66 @@ AAAAAElFTkSuQmCC + + True + 127, 17 + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + 248, 17 + + True + 36