private void VistasCrearCurso_OnAgregarEvento(object sender, EventArgs e) { AgregarEventoForm1 agregarEventoForm = new AgregarEventoForm1(crearCursoForm); AgregarEventoController agregarEventoController = new AgregarEventoController(agregarEventoForm); agregarEventoForm.ShowDialog(); }
public AgregarEventoController(AgregarEventoForm1 agregarEventoForm) { this.agregarEventoForm = agregarEventoForm; }