| | |
| | | using Gs.DevApp.Entity; |
| | | using DevExpress.Utils.MVVM.Services; |
| | | using DevExpress.XtraLayout.Customization; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace Gs.DevApp.DevFrm.QC |
| | |
| | | //禁用样本数之外的单元格且改变颜色 |
| | | gvMx1.CustomDrawCell += GvMx1_CustomDrawCell; |
| | | getModel(); |
| | | |
| | | this.FormClosing += (s, e) => |
| | | { |
| | | textEdit1.Focus(); |
| | | }; |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 判断单元格的编辑性 |
| | |
| | | { |
| | | e.Appearance.BackColor = Color.Red; |
| | | e.Appearance.ForeColor = Color.White; |
| | | }; |
| | | } |
| | | ; |
| | | } |
| | | } |
| | | |