/// <summary> /// 设置主窗体属性 /// </summary> /// <param name="ucPhaManager"></param> private void SetMatManagerProperty(Material.In.ucMatIn ucMatInManager) { this.ucInManager = ucMatInManager; if (this.ucInManager != null) { //设置界面显示 this.ucInManager.IsShowInputPanel = false; this.ucInManager.IsShowItemSelectpanel = true; //设置目标科室信息 this.ucInManager.SetTargetDept(true, true, Neusoft.HISFC.Models.IMA.EnumModuelType.Material, Neusoft.HISFC.Models.Base.EnumDepartmentType.L); //设置工具栏按钮显示 this.ucInManager.SetToolBarButtonVisible(false, true, false, false, true, false, false); //设置显示的待选择数据 this.ShowSelectData(); //设置列宽度 this.ucInManager.SetItemListWidth(3); //信息说明设置 this.ucInManager.ShowInfo = "F5 键转入项目选择框"; //设置Fp属性 this.ucInManager.Fp.EditModePermanent = false; this.ucInManager.Fp.EditModeReplace = true; this.ucInManager.FpKeyEvent += new ucIMAInOutBase.FpKeyHandler(value_FpKeyEvent); this.ucInManager.EndTargetChanged -= new In.ucMatIn.DataChangedHandler(value_EndTargetChanged); this.ucInManager.EndTargetChanged += new In.ucMatIn.DataChangedHandler(value_EndTargetChanged); this.ucInManager.Fp.EditModeOn += new EventHandler(Fp_EditModeOn); this.ucInManager.Fp.EditModeOff += new EventHandler(Fp_EditModeOff); } }
public InvoiceInPriv(Material.In.ucMatIn ucMatInManager) { this.SetMatManagerProperty(ucMatInManager); }