cxs 1 anno fa
parent
commit
756870e638

+ 13 - 0
OTSIncAReportApp/1-UI/Control_Grids/ParticlesGridDevidePage/ParticlesGridDevidePageShowConfig.Designer.cs

@@ -53,11 +53,13 @@ namespace OTSIncAReportApp._1_UI.Control_Grids.ParticlesGridDevidePage
             this.cb_INSCR = new System.Windows.Forms.CheckBox();
             this.btn_ybcsqx = new System.Windows.Forms.Button();
             this.btn_ybcsbc = new System.Windows.Forms.Button();
+            this.label_help = new System.Windows.Forms.Label();
             this.groupBox2.SuspendLayout();
             this.SuspendLayout();
             // 
             // groupBox2
             // 
+            this.groupBox2.Controls.Add(this.label_help);
             this.groupBox2.Controls.Add(this.label1);
             this.groupBox2.Controls.Add(this.cb_ParticleCoordinate);
             this.groupBox2.Controls.Add(this.btn_xsys);
@@ -336,6 +338,16 @@ namespace OTSIncAReportApp._1_UI.Control_Grids.ParticlesGridDevidePage
             this.btn_ybcsbc.UseVisualStyleBackColor = true;
             this.btn_ybcsbc.Click += new System.EventHandler(this.btn_ybcsbc_Click);
             // 
+            // label_help
+            // 
+            this.label_help.AutoSize = true;
+            this.label_help.Location = new System.Drawing.Point(72, 37);
+            this.label_help.Name = "label_help";
+            this.label_help.Size = new System.Drawing.Size(17, 12);
+            this.label_help.TabIndex = 130;
+            this.label_help.Text = "?";
+            this.label_help.MouseHover += new System.EventHandler(this.label_help_MouseHover);
+            // 
             // ParticlesGridDevidePageShowConfig
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -384,5 +396,6 @@ namespace OTSIncAReportApp._1_UI.Control_Grids.ParticlesGridDevidePage
         private System.Windows.Forms.CheckBox cb_INSCR;
         private System.Windows.Forms.Button btn_ybcsqx;
         private System.Windows.Forms.Button btn_ybcsbc;
+        private System.Windows.Forms.Label label_help;
     }
 }

+ 30 - 0
OTSIncAReportApp/1-UI/Control_Grids/ParticlesGridDevidePage/ParticlesGridDevidePageShowConfig.cs

@@ -518,5 +518,35 @@ namespace OTSIncAReportApp._1_UI.Control_Grids.ParticlesGridDevidePage
                 cB_Electrical_conductivity.Enabled = false;
             }
         }
+
+        private void label_help_MouseHover(object sender, EventArgs e)
+        {
+            // 创建the ToolTip 
+            ToolTip toolTip1 = new ToolTip();
+
+            // 设置显示样式
+            toolTip1.AutoPopDelay = 7000;//提示信息的可见时间
+            toolTip1.InitialDelay = 500;//事件触发多久后出现提示
+            toolTip1.ReshowDelay = 500;//指针从一个控件移向另一个控件时,经过多久才会显示下一个提示框
+            toolTip1.ShowAlways = true;//是否显示提示框
+            string str = "Dmax:颗粒最大卡规直径\n" +
+                          "Dmin: 颗粒最小卡规直径\n" +
+                          "Aspect:颗粒长宽比\n" +
+                          "Dperp:与Dmax垂直的对应直径\n" +
+                          "Dmean:平均内接圆直径\n" +
+                          "Area:面积\n" +
+                          "Dferet:费雷特直径\n" +
+                          "Width:宽度(直上直下那种)\n" +
+                          "Height:高度(直上直下那种)\n" +
+                          "Perimeter:周长\n" +
+                          "Dinscr:最大内接圆直径\n" +
+                          "Orientation:朝向角度\n" +
+                          "Delong:展开长度(以最小卡规直径为宽)\n" +
+                          "Aspectelong:展开后长宽比\n" +
+                          "Dequalcircle:等效圆直径\n" +
+                          "Vedio:BSE灰度平均值";
+            //  设置伴随的对象.
+            toolTip1.SetToolTip(this.label_help, str);
+        }
     }
 }