cdk
4 天以前 da1667144a6160a2ea78e9c4b112272dea20cbec
DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs
@@ -1,9 +1,12 @@
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
@@ -32,7 +35,14 @@
            //禁用样本数之外的单元格且改变颜色
            gvMx1.CustomDrawCell += GvMx1_CustomDrawCell;
            getModel();
            this.FormClosing +=  (s, e) =>
            {
                textEdit1.Focus();
            };
        }
        /// <summary>
        /// 判断单元格的编辑性
@@ -87,7 +97,8 @@
                {
                    e.Appearance.BackColor = Color.Red;
                    e.Appearance.ForeColor = Color.White;
                };
                }
                ;
            }
        }