Explorar el Código

样品孔拍摄英文化

CXS hace 4 años
padre
commit
616807dd42
Se han modificado 1 ficheros con 13 adiciones y 11 borrados
  1. 13 11
      OTSIncAMeasureApp/4-OTSSamplespaceGraphicsPanel/CStageManage.cs

+ 13 - 11
OTSIncAMeasureApp/4-OTSSamplespaceGraphicsPanel/CStageManage.cs

@@ -696,16 +696,18 @@ namespace OTSMeasureApp
 
         public static void SetShowCMStrip(int IsSelectType, ContextMenuStrip cmStrip, bool IsTrue)
         {
-            //国际化
-            OTSSysMgrTools.Language lan = new OTSSysMgrTools.Language();
-            Hashtable table;
-            table = lan.GetNameTable("CStageManage");
-            string str1 = "拍摄样品孔BSE照片";
-            str1 = table["shootbsepicture1"].ToString();
-            string str2 = "拍摄测量区域BSE照片";
-            str2 = table["shootbsepicture2"].ToString();
+            /*不知道哪里用这个,若无影响日后可删
+            ////国际化
+            //OTSSysMgrTools.Language lan = new OTSSysMgrTools.Language();
+            //Hashtable table;
+            //table = lan.GetNameTable("CStageManage");
+            //string str1 = "拍摄样品孔BSE照片";
+            //str1 = table["shootbsepicture1"].ToString();
+            //string str2 = "拍摄测量区域BSE照片";
+            //str2 = table["shootbsepicture2"].ToString();
+            //cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Text = str1;
+            */
             //鼠标右键选择的类型 0:样品台 1:样品 2:测量区域
-            cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Text = str1;
             cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Tag = (int)MessageState.ShotBSEPicture;
             switch (IsSelectType)
             {
@@ -743,7 +745,7 @@ namespace OTSMeasureApp
                     cmStrip.Items[(int)MenuIndex.DriveSEMToCurrentLocation].Enabled = true;
                     cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Enabled = true;
                     cmStrip.Items[(int)MenuIndex.DeleteBSEPicture].Enabled = IsTrue;
-                    cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Text = str2;
+                    //cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Text = str2;
                     cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Tag = MessageState.MeasureBSEPicture;
                     break;
                 case (int)ContextMenuType.SingleMenu:
@@ -756,7 +758,7 @@ namespace OTSMeasureApp
                     cmStrip.Items[(int)MenuIndex.DriveSEMToCurrentLocation].Enabled = true;
                     cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Enabled = true;
                     cmStrip.Items[(int)MenuIndex.DeleteBSEPicture].Enabled = false;
-                    cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Text = str2;
+                    //cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Text = str2;
                     cmStrip.Items[(int)MenuIndex.ShootBSEPicture].Tag = MessageState.MeasureBSEPicture;
                     break;
                 case (int)ContextMenuType.ThreadRunMenu: