Beispiel #1
0
        private void Button4_Click(object sender, EventArgs e)
        {
            panel3.Height = button4.Height;
            panel3.Top    = button4.Top;

            this.Text   = "المرضى";
            frmPatients = new frmPatients();
            groupBox1.Controls.Clear();
            frmPatients.TopLevel = false;
            groupBox1.Controls.Add(frmPatients);
            frmPatients.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frmPatients.Dock            = DockStyle.Fill;
            frmPatients.Show();
        }
Beispiel #2
0
        private void patientsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmPatients patients = new frmPatients();

            patients.Show();
        }