Procházet zdrojové kódy

improve GB operate menu behavior

gsp před 2 roky
rodič
revize
7c57ecb319

+ 3 - 3
OTSCPP/OTSRptCalculate/GBCal/GBFieldData.cpp

@@ -82,12 +82,12 @@ namespace OTSGBCalculate
 
 				double dd = 0, ds = 0;
 				ds = abs(ptParticleCenter.x - ptBParticleCenter.x);
-				if (ds < 15 )//recognize these two particle in the same vertical line.
+				if (ds < 15 )//recognize these two particle as in the same vertical line.
 				{
 					if (Bottom > TopB)//current particle is on the above
 					{
 						dd = Bottom - TopB;
-						if (dd < 40)//recognize these two particle in the same vertical string.
+						if (dd < 40)//recognize these two particle as in the same vertical string.
 						{
 							return true;
 						}
@@ -415,7 +415,7 @@ namespace OTSGBCalculate
 						}
 						double dd = 0, ds = 0;
 						ds = abs(ptParticleCenter.x - ptBParticleCenter.x);
-						if (ds < 10 )//认为两个颗粒在一条竖直线上,但不在一起
+						if (ds < 15 )//认为两个颗粒在一条竖直线上,但不在一起
 						{
 							if (Bottom > TopB)//current particle is on the above
 							{

+ 1 - 1
OTSIncAReportApp/1-UI/Control_Graph/Controls/Control_DrawDistrbutionImageAndBSE.designer.cs

@@ -124,7 +124,7 @@
             this.显示国标信息ToolStripMenuItem.Name = "显示国标信息ToolStripMenuItem";
             this.显示国标信息ToolStripMenuItem.Size = new System.Drawing.Size(210, 22);
             this.显示国标信息ToolStripMenuItem.Text = "显示国标信息";
-            this.显示国标信息ToolStripMenuItem.Click += new System.EventHandler(this.显示国标信息ToolStripMenuItem_Click);
+          
             // 
             // toolStripMenuItem2
             //