private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int id = (int)dataGridView1[0, dataGridView1.CurrentRow.Index].Value; FrmPatientEdit frmPatientEdit = new FrmPatientEdit(id); frmPatientEdit.Show(); }
private void nowyToolStripMenuItem_Click(object sender, EventArgs e) { FrmPatientEdit frmPatientEdit = new FrmPatientEdit(0); frmPatientEdit.Show(); }
private void toolStripButton3_Click(object sender, EventArgs e) { FrmPatientEdit frmPatientEdit = new FrmPatientEdit(0); frmPatientEdit.Show(); }