public MaintenancePlan() { InitializeComponent(); this.lvInfo.Font = ControlSetting.ListFont; this._maintainOperationMasterBL = MasterBLLFactory.GetBLL<IMaintainOperationMasterBL>(MasterBLLFactory.MaintainOperationMaster); this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); this._maintainPlanBL = MasterBLLFactory.GetBLL<IMaintainPlanBL>(MasterBLLFactory.MaintainPlan); this._lisPrinterType = new List<CodeMaster_cmt_Info>(); this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General); }
private void init() { this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); this._maintainOperationMasterBL = this._maintainOperationMasterBL = MasterBLLFactory.GetBLL<IMaintainOperationMasterBL>(MasterBLLFactory.MaintainOperationMaster); this._maintainPlanBL = MasterBLLFactory.GetBLL<IMaintainPlanBL>(MasterBLLFactory.MaintainPlan); this.StartPosition = FormStartPosition.CenterParent; this.btnCancel.Click += new EventHandler(btnCancel_Click); this.cmbWeekNo.SelectedIndex = 0; this.cmbWeekDay.SelectedIndex = 0; }