예제 #1
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     if (!MessageBoxEx.ShowQuestion("新增客户会关闭当前页面,确认要新增吗?"))
     {
         return;
     }
     if (GlobalStaticObj.AppMainForm is HXCMainForm)
     {
         UCCustomerManager manage = new UCCustomerManager();
         var ucCustomerAddOrEdit = new UCCustomerAddOrEdit { UCCustomerManager = manage, windowStatus = WindowStatus.Add };
         ((HXCMainForm)GlobalStaticObj.AppMainForm).addUserControls(ucCustomerAddOrEdit, "客户信息新增", "UCCustomerAddOrEdit-Add", "CL_DataManagement_BasicData_Customer|CL_DataManagement|CL_DataManagement_BasicData", "CL_DataManagement_BasicData_Customer");
     }
     this.Close();
 }
예제 #2
0
 private void picKhzl_Click(object sender, EventArgs e)
 {
     UCCustomerManager uc = new UCCustomerManager();
     string tag = "CL_DataManagement|CL_DataManagement_BasicData|CL_DataManagement_BasicData_Customer";
     UCBase.AddUserControl(uc, "客户资料", "CL_DataManagement_BasicData_Customer", tag, "");
 }