| | |
| | | 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.é
ç½®; |
| | |
| | | { |
| | | 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; |
| | | } |
| | | } |
| | |
| | | } |
| | | else |
| | | { |
| | | polyView.Columns[j].ReadOnly = true; |
| | | //polyView.Columns[j].ReadOnly = true; |
| | | polyView.Columns[j].DefaultCellStyle.ForeColor = Color.Gray; |
| | | } |
| | | } |
| | |
| | | { |
| | | 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["åè¾¹ä¸è´"]); |
| | | } |
| | | } |
| | |
| | | ShowMaterialData(); |
| | | } |
| | | projectnameText.Text += $" {gThick}mm {gType}"; |
| | | |
| | | polyView.ReadOnly = false; |
| | | ProhibitColumnSorting(); |
| | | } |
| | | |
| | | |