private void удалитьПациентаToolStripMenuItem_Click(object sender, EventArgs e) { DeletePatient del = new DeletePatient(ID, pname.Text.ToString(), db); del.ShowDialog(); }
private void button3_Click_1(object sender, EventArgs e) { if (action != null && Info.Rows.Count != 0) { DeletePatient del = new DeletePatient(actionIDs[action], Info[0, action].Value.ToString(), db); del.ShowDialog(); } }