Пример #1
0
        private void menuItemSalary_Click(object sender, EventArgs e)
        {
            frmSalary fhtv = new frmSalary();

            panel_show.Show();
            panel_show.Controls.Clear();
            fhtv.TopLevel = false;
            fhtv.Dock     = DockStyle.Fill;
            panel_show.Controls.Add(fhtv);
            fhtv.Show();
        }
Пример #2
0
        private void cmd_qlbangcong_Click(object sender, EventArgs e)
        {
            frmSalary fbc = new frmSalary();

            panel_show.Show();
            panel_show.Controls.Clear();
            fbc.TopLevel = false;
            fbc.Dock     = DockStyle.Fill;
            panel_show.Controls.Add(fbc);
            fbc.Show();
        }