فهرست منبع

优化报告修改类别功能样式

zhangjiaxin 7 ماه پیش
والد
کامیت
714d829568

+ 2 - 1
OTSIncAReportApp/1-UI/Control_Grids/ParticlesGridDevidePage/ModifyCategoryForm.Designer.cs

@@ -117,7 +117,8 @@
             this.ClientSize = new System.Drawing.Size(388, 148);
             this.Controls.Add(this.panel1);
             this.Name = "ModifyCategoryForm";
-            this.Text = "ModifyCategoryForm";
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+            this.Text = "重新分类颗粒";
             this.Load += new System.EventHandler(this.ModifyCategoryForm_Load);
             this.panel1.ResumeLayout(false);
             this.panel1.PerformLayout();

+ 0 - 8
OTSIncAReportApp/1-UI/Control_Grids/ParticlesGridDevidePage/ParticlesGridDevidePage.cs

@@ -1120,7 +1120,6 @@ namespace OTSIncAReportGrids
             string TypeColor = "";
             string GroupName = "";
             DataTable da = Particledata.GetParticleListForParticlSize("area", "");
-           
             ModifyCategoryForm modifyCategoryForm = new ModifyCategoryForm(da, CategoryName);
             DialogResult result = modifyCategoryForm.ShowDialog();
             if(modifyCategoryForm.DoYouWantToModifyIt)
@@ -1130,7 +1129,6 @@ namespace OTSIncAReportGrids
                 TypeColor = modifyCategoryForm.OutTypeAndName[2];
                 GroupName = modifyCategoryForm.OutTypeAndName[3];
 
-
                 List<string> strings = new List<string>();
                 strings.Add(TypeId);
                 strings.Add(TypeName);
@@ -1154,12 +1152,6 @@ namespace OTSIncAReportGrids
                 }
                 Particledata.ExecuteNonQueryBatch(cmdlist);
             }
-        
-            
-    
-            
-
-
         }
 
         private void ToolStripMenuItem5_Click(object sender, EventArgs e)