Browse Source

修改报告程序右键删除功能,将其功能删除

zhangjiaxin 4 năm trước cách đây
mục cha
commit
122caae684
1 tập tin đã thay đổi với 3 bổ sung17 xóa
  1. 3 17
      OTSIncAReportApp/frmMeasureRstMgr.Designer.cs

+ 3 - 17
OTSIncAReportApp/frmMeasureRstMgr.Designer.cs

@@ -31,30 +31,18 @@
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMeasureRstMgr));
             this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
-            this.RDeleteNode = new System.Windows.Forms.ToolStripMenuItem();
             this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
             this.AddSample = new System.Windows.Forms.ToolStripMenuItem();
             this.treeView1 = new System.Windows.Forms.TreeView();
             this.button1 = new System.Windows.Forms.Button();
-            this.contextMenuStrip1.SuspendLayout();
             this.contextMenuStrip2.SuspendLayout();
             this.SuspendLayout();
             // 
             // contextMenuStrip1
             // 
             this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
-            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
-            this.RDeleteNode});
             this.contextMenuStrip1.Name = "contextMenuStrip1";
-            this.contextMenuStrip1.Size = new System.Drawing.Size(157, 34);
-            // 
-            // RDeleteNode
-            // 
-            this.RDeleteNode.Image = global::OTSIncAReportApp.Properties.Resources.delete32;
-            this.RDeleteNode.Name = "RDeleteNode";
-            this.RDeleteNode.Size = new System.Drawing.Size(156, 30);
-            this.RDeleteNode.Text = "删除测量结果";
-            this.RDeleteNode.Click += new System.EventHandler(this.RDeleteNode_Click_1);
+            this.contextMenuStrip1.Size = new System.Drawing.Size(181, 26);
             // 
             // contextMenuStrip2
             // 
@@ -94,7 +82,7 @@
             // button1
             // 
             this.button1.Location = new System.Drawing.Point(1, 1);
-            this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.button1.Margin = new System.Windows.Forms.Padding(2);
             this.button1.Name = "button1";
             this.button1.Size = new System.Drawing.Size(88, 25);
             this.button1.TabIndex = 7;
@@ -116,12 +104,11 @@
             | OTS.WinFormsUI.Docking.DockAreas.DockBottom)));
             this.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
-            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.Margin = new System.Windows.Forms.Padding(4);
             this.Name = "frmMeasureRstMgr";
             this.RightToLeftLayout = true;
             this.Text = "测量结果窗口";
             this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
-            this.contextMenuStrip1.ResumeLayout(false);
             this.contextMenuStrip2.ResumeLayout(false);
             this.ResumeLayout(false);
 
@@ -129,7 +116,6 @@
 
         #endregion
         private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
-        private System.Windows.Forms.ToolStripMenuItem RDeleteNode;
         private System.Windows.Forms.ContextMenuStrip contextMenuStrip2;
         private System.Windows.Forms.ToolStripMenuItem AddSample;
         public System.Windows.Forms.TreeView treeView1;