private void checkInformationToolStripMenuItem_Click(object sender, EventArgs e) { Out_Patient op = new Out_Patient(1, dataGridView1.SelectedRows[0].Cells[1].Value.ToString()); op.ShowDialog(); }
private void outpatientToolStripMenuItem_Click(object sender, EventArgs e) { Out_Patient p = new Out_Patient(0, ""); p.ShowDialog(); }
private void registrationToolStripMenuItem1_Click(object sender, EventArgs e) { outpatient = new Out_Patient(0, ""); outpatient.button2.Hide(); outpatient.ShowDialog(); }