Exemplo n.º 1
0
 protected override void DeleteObject()
 {
     if (XtraMessageBox.Show("是否删除该供应商", "提示", MessageBoxButtons.OKCancel) == DialogResult.OK)
     {
         var client = new CRMServiceClient();
         client.DeleteSupplier(m_supplier);
     }
     base.DeleteObject();
 }
Exemplo n.º 2
0
 protected override void DeleteObject()
 {
     if (XtraMessageBox.Show("是否删除该供应商", "提示", MessageBoxButtons.OKCancel) == DialogResult.OK)
     {
         var client = new CRMServiceClient();
         client.DeleteSupplier(m_supplier);
     }
     base.DeleteObject();
 }