Пример #1
0
 public frmCRMVisitPlanLine()
 {
     InitializeComponent();
     this.GetEditEntity += new dlgGetEditEntity(Form_GetEditEntity);
     planLogic           = new CRM_VisitPlanLogic(this);
     planLineLogic       = new CRM_VisitPlanLineLogic(this);
     companyLogic        = new CRM_CompanyLogic(this);
 }
Пример #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            CRM_CompanyLogic             logic = new CRM_CompanyLogic(this);
            CRM_CompanyParam             param = new CRM_CompanyParam();
            PageList <CRM_CompanyResult> rst   = logic.GetCustPageList(param);

            this.ShowMessage(rst.TotalCount.ToString());
        }
Пример #3
0
 public frmPurchaseReturn()
 {
     InitializeComponent();
     dictLineLogic = new SYS_DictItemLineLogic(this);
     orgLogic      = new HR_OrgLogic(this);
     returnLogic   = new ORD_PurchaseReturnLogic(this);
     inLineLogic   = new STK_InLineLogic(this);
     companyLogic  = new CRM_CompanyLogic(this);
     orderLogic    = new ORD_PurchaseOrderLogic(this);
 }
Пример #4
0
 public frmCustomerEdit()
 {
     InitializeComponent();
     this.GetEditEntity += new dlgGetEditEntity(Form_GetEditEntity);
     dictLineLogic       = new SYS_DictItemLineLogic(this);
     zoneLogic           = new CRM_ZoneLogic(this);
     orgLogic            = new HR_OrgLogic(this);
     deptLogic           = new HR_DepartmentLogic(this);
     companyLogic        = new CRM_CompanyLogic(this);
 }
Пример #5
0
 public frmSelectSupplier(bool isMutiSelect, string idColName)
 {
     InitializeComponent();
     if (!string.IsNullOrEmpty(idColName))
     {
         _idColName = idColName;
     }
     InitBaseSelectForm(isMutiSelect, this.dgvCompany, this.chkAll, _idColName, _chkColName);
     companyLogic = new CRM_CompanyLogic(this);
 }
Пример #6
0
 public frmSalesOrder()
 {
     InitializeComponent();
     this.GetEditEntity += new dlgGetEditEntity(Form_GetEditEntity);
     dictLineLogic       = new SYS_DictItemLineLogic(this);
     orgLogic            = new HR_OrgLogic(this);
     orderLogic          = new ORD_SalesOrderLogic(this);
     companyLogic        = new CRM_CompanyLogic(this);
     reserveLogic        = new STK_StockReserveLogic(this);
     noticeLogic         = new ORD_PurchaseNoticeLogic(this);
 }
Пример #7
0
 void InitForm(Guid?sourceBillGuid)
 {
     InitializeComponent();
     this.GetEditEntity += new dlgGetEditEntity(Form_GetEditEntity);
     dictLineLogic       = new SYS_DictItemLineLogic(this);
     orgLogic            = new HR_OrgLogic(this);
     returnLogic         = new ORD_SalesReturnLogic(this);
     outLineLogic        = new STK_OutLineLogic(this);
     companyLogic        = new CRM_CompanyLogic(this);
     orderLogic          = new ORD_SalesOrderLogic(this);
     _SOGuid             = sourceBillGuid;
 }
Пример #8
0
 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;
 }
Пример #9
0
 public frmSupplierManage()
 {
     InitializeComponent();
     companyLogic = new CRM_CompanyLogic(this);
 }