예제 #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            frmDashboad frm = new frmDashboad();

            frm.TopLevel = false;
            panel4.Controls.Add(frm);
            frm.BringToFront();
            frm.Show();
        }
예제 #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            panel3.Width = 45;
            frmDashboad frm = new frmDashboad();

            frm.TopLevel = false;
            panel4.Controls.Add(frm);
            frm.BringToFront();
            frm.Show();
            btnEmployee.Enabled = false;
        }