private void button1_Click(object sender, EventArgs e) { Close = false; S_name = comboBox2.Text.ToString().Trim(); ExamineeInformation f = new ExamineeInformation(FatherForm, 2, S_name); f.Show(); f.getmessage(zhanghao); this.Close(); }
private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e) { S_name = dataGridView1.CurrentRow.Cells[0].Value.ToString(); Close = false; ExamineeInformation f = new ExamineeInformation(FatherForm, 1, S_name); f.Show(); f.getmessage(zhanghao); this.Close(); }