optimize_patch/¶©µ¥ÅÅÑù¿Í»§¶Ë/EDIT/ÈÎÎñ.cs
@@ -14,6 +14,7 @@
using Utility;
using MyGlassEdit.EDIT.功能;
using MyGlassEdit.ng.optima.model;
using ng.optima.model;
using MyGlassEdit.ng.optima.server;
using ng.optima.server;
using MyGlassEdit.EDIT.配置;
@@ -652,7 +653,7 @@
                    {
                        for (int c = 0; c < polyView.Columns.Count; c++)
                        {
                            polyView.Rows[j].Cells[c].ReadOnly = true;
                            //polyView.Rows[j].Cells[c].ReadOnly = true;
                            polyView.Rows[j].Cells[c].Style.ForeColor = Color.Gray;
                        }
                    }
@@ -978,7 +979,7 @@
                }
                else
                {
                    polyView.Columns[j].ReadOnly = true;
                    //polyView.Columns[j].ReadOnly = true;
                    polyView.Columns[j].DefaultCellStyle.ForeColor = Color.Gray;
                }
            }
@@ -1934,10 +1935,10 @@
                {
                    Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["宽度"]);
                    Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["高度"]);
                    Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["长磨1"]);
                    Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["短磨1"]);
                    Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["长磨2"]);
                    Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["短磨2"]);
                    //Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["长磨1"]);
                    //Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["短磨1"]);
                    //Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["长磨2"]);
                    //Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["短磨2"]);
                    Functions.setCellReadonly(polyView.Rows[e.RowIndex].Cells["四边一致"]);
                }
            }
@@ -4604,6 +4605,9 @@
                    ShowMaterialData();
                }
                projectnameText.Text += $" {gThick}mm {gType}";
                polyView.ReadOnly = false;
                ProhibitColumnSorting();
            }