Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            frm_patient frm = new frm_patient();

            frm.Name               = "بحث عن مريض";
            frm.btn_add.Visible    = false;
            frm.btn_delete.Visible = false;
            frm.btn_edit.Visible   = false;
            frm.btn_exit.Visible   = false;
            frm.toolStrip_controrl.Hide();
            frm.ShowDialog();
            txt_pat_name.Text = frm_patient.pat_name;
            pat_code          = frm_patient.pat_cod;
        }
Beispiel #2
0
        private void msPatinet_Click(object sender, EventArgs e)
        {
            frm_patient frm = new frm_patient();

            frm.ShowDialog();
        }