瀏覽代碼

查询修改界面BUG

callm 1 月之前
父節點
當前提交
03937c813b
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      UAS_MES_JC/FunctionCode/Query/Query_ExeProgress.cs

+ 4 - 2
UAS_MES_JC/FunctionCode/Query/Query_ExeProgress.cs

@@ -41,6 +41,7 @@ namespace UAS_MES_NEW.Query
         DataTable ListA;//记录数据的当前序列号和之前序列号
 
         AutoSizeFormClass asc = new AutoSizeFormClass();
+        bool Loadad = false;
 
         public Query_ExeProgress()
         {
@@ -54,11 +55,12 @@ namespace UAS_MES_NEW.Query
             ScreenHeight = this.Height;
             asc.controllInitializeSize(this);
             sn_code.Focus();
+            DoubleBuffered = true;
         }
 
         private void Query_ExeProgress_SizeChanged(object sender, EventArgs e)
         {
-            asc.controlAutoSize(this);
+            //asc.controlAutoSize(this);
         }
 
         private void sn_code_KeyDown(object sender, KeyEventArgs e)
@@ -185,7 +187,7 @@ namespace UAS_MES_NEW.Query
                         else if (i == dt.Rows.Count + 1)
                         {
                             Step.Add(i, "结束");
-                            StepName.Add(i, "开始");
+                            StepName.Add(i, "结束");
                         }
                         else
                         {