Пример #1
0
        /// <summary>
        /// 控件状态方法设置
        /// </summary>
        public override void SetInputStatus(bool p_Flag)
        {
            ProcessCtl.ProcControlEdit(gridControl3, p_Flag);

            if (SysConvert.ToBoolean(ProductParamSet.GetIntValueByID(5021)))//客户编号自动生成
            {
                ProductCommon.FormNoCtlEditSet(txtVendorID, "Data_Vendor", "VendorID", this.FormListAID, p_Flag);
            }

            ProcessGrid.SetGridEdit(gridView6, new string[] { "Name" }, false);
            ProcessGrid.SetGridColumnReadOnly(gridView6, new string[] { "Name" }, true);
        }
Пример #2
0
        /// <summary>
        /// 控件状态方法设置
        /// </summary>
        public override void SetInputStatus(bool p_Flag)
        {
            ProcessCtl.ProcControlEdit(groupControlMainten, p_Flag);


            // ProductCommon.FormNoCtlEditSet(txtItemCode, "Data_Item", "ItemCode", (int)EnumItemType.面料, p_Flag);

            ProcessGrid.SetGridEdit(gridView6, new string[] { "Name" }, false);
            ProcessGrid.SetGridColumnReadOnly(gridView6, new string[] { "Name" }, true);



            txtGreyFabItemCode.Properties.ReadOnly = true;
        }
Пример #3
0
 public override void IniFormLoadBehind()
 {
     ProcessGrid.SetGridColumnReadOnly(gridView1, new string[] { "GrossQty", "GrossWeight", "NetWeight", "SelectFlag" }, false);
 }