private void button5_Click(object sender, EventArgs e) { ind = Convert.ToInt32(this.dataGridView1.CurrentRow.Cells[0].Value); Form21 F21 = new Form21(); F21.Show(); }
private void patientsToolStripMenuItem2_Click(object sender, EventArgs e) { Form21 c = new Form21(); c.Show(); }