public frmStkInManage() { InitializeComponent(); stkInlogic = new STK_InLogic(this); dictLineLogic = new SYS_DictItemLineLogic(this); appHandler = new Logic.AppHandler.SearchAssembleHandler(this); }
public frmSalesReturnManage() { InitializeComponent(); returnLogic = new ORD_SalesReturnLogic(this); dictLineLogic = new SYS_DictItemLineLogic(this); stkInLogic = new STK_InLogic(this); }
void InitForm(string billType, Guid?sourceBillGuid) { InitializeComponent(); this.GetEditEntity += new dlgGetEditEntity(Form_GetEditEntity); dictLineLogic = new SYS_DictItemLineLogic(this); orgLogic = new HR_OrgLogic(this); purOrderLogic = new ORD_PurchaseOrderLogic(this); purLineLogic = new ORD_PurchaseOrderLineLogic(this); stkInLogic = new STK_InLogic(this); companyLogic = new CRM_CompanyLogic(this); currencyLogic = new SYS_CurrencyLogic(this); stkStockLogic = new STK_StockLogic(this); stkInLineLogic = new STK_InLineLogic(this); stkStockSheetLogic = new STK_StockSheetLogic(this); returnLogic = new ORD_SalesReturnLogic(this); returnLineLogic = new ORD_SalesReturnLineLogic(this); BillType = billType; _sourceBillGuid = sourceBillGuid; }