Example #1
0
 public frmReserveOperate()
 {
     InitializeComponent();
     stockLogic      = new STK_StockLogic(this);
     reserveLogic    = new STK_StockReserveLogic(this);
     dictLineLogic   = new SYS_DictItemLineLogic(this);
     orderLineLogic  = new ORD_SalesOrderLineLogic(this);
     stkInLineLogic  = new STK_InLineLogic(this);
     returnLineLogic = new ORD_PurchaseReturnLineLogic(this);
 }
Example #2
0
 public frmPurchaseOrder()
 {
     InitializeComponent();
     this.GetEditEntity += new dlgGetEditEntity(Form_GetEditEntity);
     dictLineLogic       = new SYS_DictItemLineLogic(this);
     orgLogic            = new HR_OrgLogic(this);
     orderLogic          = new ORD_PurchaseOrderLogic(this);
     orderLineLogic      = new ORD_PurchaseOrderLineLogic(this);
     companyLogic        = new CRM_CompanyLogic(this);
     noticeLogic         = new ORD_PurchaseNoticeLogic(this);
     salesOrderLineLogic = new ORD_SalesOrderLineLogic(this);
 }
Example #3
0
 public frmPurchaseNotice()
 {
     InitializeComponent();
     orderLogic     = new ORD_SalesOrderLogic(this);
     orderLineLogic = new ORD_SalesOrderLineLogic(this);
     dictLineLogic  = new SYS_DictItemLineLogic(this);
     empLogic       = new HR_EmployeeLogic(this);
     noticeLogic    = new ORD_PurchaseNoticeLogic(this);
     noNoticedPanel = usgNoNoticed.PrimaryGrid;
     noticedPanel   = usgNoticed.PrimaryGrid;
     InitializeGrid();
     BindComboBox();
 }
Example #4
0
 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;
 }