Browse Source

修改元素排序代码

zhangjiaxin 1 year ago
parent
commit
174555d3d7

+ 3 - 1
OTSIncAReportApp/1-UI/OTSReportExport/ClassificationOrderAdjuster.Designer.cs

@@ -106,11 +106,13 @@ namespace OTSIncAReportApp._1_UI.OTSReportExport
             this.Controls.Add(this.listView_select);
             this.Controls.Add(this.button_up);
             this.Controls.Add(this.button_down);
+            this.MaximizeBox = false;
             this.MaximumSize = new System.Drawing.Size(292, 517);
+            this.MinimizeBox = false;
             this.MinimumSize = new System.Drawing.Size(292, 517);
             this.Name = "ClassificationOrderAdjuster";
             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
-            this.Text = "分类排序";
+            this.Text = "排序修改";
             this.Load += new System.EventHandler(this.ClassificationOrderAdjuster_Load);
             this.ResumeLayout(false);
 

+ 3 - 2
OTSIncAReportApp/1-UI/OTSReportExport/ClassificationOrderAdjuster.cs

@@ -27,7 +27,8 @@ namespace OTSIncAReportApp._1_UI.OTSReportExport
 
         private void ClassificationOrderAdjuster_Load(object sender, EventArgs e)
         {
-           
+            OutElementList.Clear();
+            OutElementList = OriginalClassificationSet;
         }
 
 
@@ -121,7 +122,7 @@ namespace OTSIncAReportApp._1_UI.OTSReportExport
 
         private void button4_Click(object sender, EventArgs e)
         {
-            OutElementList.Clear();
+            //OutElementList.Clear();
             OutElementList = OriginalClassificationSet;
             this.Close();
         }