private void elButton2_Click(object sender, EventArgs e) { if (gridEX1.CurrentRow != null) { string number_Este = gridEX1.CurrentRow.Cells[2].Value.ToString(); string var_per = gridEX1.CurrentRow.Cells[9].Value.ToString(); //MessageBox.Show("" + number_Este + " " + var_per); RegisterPersonel frm2 = new RegisterPersonel(); frm2.Var_per = var_per; frm2.Num_Este = number_Este; frm2.Show(); } }
private void elButton3_Click(object sender, EventArgs e) { RegisterPersonel frm = new RegisterPersonel(); frm.Show(); }