Example #1
0
        private void Patient_Click(object sender, EventArgs e)
        {
            frmPatient f = new frmPatient(this)
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            this.pContainer.Controls.Clear();
            this.pContainer.Controls.Add(f);
            this.pContainer.BringToFront();
            f.Show();

            /*frmPatient f = new frmPatient(this);
             * f.Show();
             * this.Hide();*/
        }
Example #2
0
 public frmOrderTherapyFinal(string patientId, frmPatient parent)
 {
     InitializeComponent();
     this.parent    = parent;
     this.patientId = patientId;
 }