void InitForm(string billType, Guid?sourceBillGuid) { InitializeComponent(); stkOutLogic = new STK_OutLogic(this); orgLogic = new HR_OrgLogic(this); currencyLogic = new SYS_CurrencyLogic(this); dictLineLogic = new SYS_DictItemLineLogic(this); orderLineLogic = new ORD_SalesOrderLineLogic(this); returnLogic = new ORD_PurchaseReturnLogic(this); returnLineLogic = new ORD_PurchaseReturnLineLogic(this); reserveLogic = new STK_StockReserveLogic(this); _billType = billType; _sourceBillGuid = sourceBillGuid; }
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; }
public frmSYSCurrency() { InitializeComponent(); currencyLogic = new SYS_CurrencyLogic(this); dictLineLogic = new SYS_DictItemLineLogic(this); }