Beispiel #1
0
 public void CompanyDelete(decimal CompanyId)
 {
     try
     {
         SpCompany.CompanyDelete(CompanyId);
     }
     catch (Exception ex)
     {
         MessageBox.Show("CC6:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
        public void CompanyDelete(decimal CompanyId)
        {
            CompanySP spCompany = new CompanySP();

            try
            {
                spCompany.CompanyDelete(CompanyId);
            }

            catch (Exception ex)
            {
                MessageBox.Show("CB:5" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }