private void zToolStripMenuItem_Click(object sender, EventArgs e) { AltaMedico Alta = new AltaMedico(); Alta.MdiParent = this; Alta.Show(); }
private void btnModificarMedico_Click(object sender, EventArgs e) { //ARREGLAR LA MODIFICACION!!! Medico Modificar; try { Modificar = (Medico)dgvPlanillaMedicos.CurrentRow.DataBoundItem; AltaMedico Modi = new AltaMedico(Modificar); Modi.ShowDialog(); CargarPlanilla(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }