Пример #1
0
 public void CompanyEdit(CompanyInfo InfoCompany)
 {
     try
     {
         SpCompany.CompanyEdit(InfoCompany);
     }
     catch (Exception ex)
     {
         MessageBox.Show("CC2:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
        public void CompanyEdit(CompanyInfo infoCompany)
        {
            CompanySP spCompany = new CompanySP();

            try
            {
                spCompany.CompanyEdit(infoCompany);
            }

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