Пример #1
0
        private void btnQL_TrangBi_ItemClick(object sender, ItemClickEventArgs e)
        {
            panelMain.Controls.Clear();
            QL_TrangBi uc = new QL_TrangBi();

            uc.Dock = DockStyle.Fill;
            panelMain.Controls.Add(uc);
        }
Пример #2
0
        private void FrmMain_Load(object sender, EventArgs e)
        {
            panelMain.Controls.Clear();
            QL_TrangBi uc = new QL_TrangBi();

            uc.Dock = DockStyle.Fill;
            panelMain.Controls.Add(uc);
        }