private void GridDocen_DoubleClick(object sender, EventArgs e) { FrmInfoDocente info = new FrmInfoDocente(); info.lblDocente.Text = GridDocen.CurrentRow.Cells[0].Value.ToString(); info.Show(); }
private void btnInformacion_Click(object sender, EventArgs e) { FrmInfoDocente info = new FrmInfoDocente(); this.Hide(); info.ShowDialog(); this.Show(); }