示例#1
0
 private void btnExcluir_Click(object sender, EventArgs e)
 {
     try
     {
         model delete = new model();
         delete.DeleteEmpresa(int.Parse(textBoxID.Text));
         this.Close();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }