private void dataGridView1_DoubleCellClick(object sender, DataGridViewCellMouseEventArgs e) { PatientForm starcek = new PatientForm(e.RowIndex, this, this.dataGridView); starcek.Show(); }
private void button5_Click(object sender, EventArgs e) { PatientForm starcek = new PatientForm(this); starcek.Show(); }