private void tsbNuevo_Click(object sender, EventArgs e) { try { LimpiarCampos(); lbl_header.Text = " "; lbl_header.Text = "Inscripción a materia. Seleccione una"; btnAceptar.Visible = true; this.num_Nota.Value = 0; //this.comboBox_Condicion.Text = ""; //this.comboBox_Condicion.SelectedText = "Inscripto"; this.comboBox_Condicion.SelectedItem = ValoresEstadoRegularidad.Inscripto; this.comboBox_Condicion.Enabled = false; Modo = FormInscripciones.ModoForm.Alta; this.btnAceptar.Text = "Agregar"; AlumnoInscripcionLogic inscripcionLogic = new AlumnoInscripcionLogic(); txt_ID_Inscripcion.Text = (inscripcionLogic.GetMaxID() + 1).ToString(); Listar(); } catch (Exception ex) { this.Notificar("Error en alta", "Error al crear una materia \n\n" + ex , MessageBoxButtons.OK, MessageBoxIcon.Error); } }