private void btnModificarDentista_Click(object sender, System.EventArgs e) { if (!Validar.ValidarUnaPantalla(new PantallaModificarDentista(null).GetType())) { Interface = new InterfaceUsuario(this); PantallaPedirInformación temp = new PantallaPedirInformación(); bool Cancelado = true; RegistroDentista Dentista = temp.PedirDentista(out Cancelado); if (!Cancelado) { if (Dentista != null) { Interface.DesplegarPantallaModificarDentista(Dentista); } else { MessageBox.Show("El número de dentista ingresado no existe", "AVISO", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1); } } } }