コード例 #1
0
        private void btnQuanLyGiaoVien_ItemClick(object sender, ItemClickEventArgs e)
        {
            UCGiaoVien gv = new UCGiaoVien();

            panel1.Controls.Clear();
            gv.Dock = System.Windows.Forms.DockStyle.Fill;
            //ql.Dock = System.Windows.Forms.DockStyle.Bottom;
            panel1.Controls.Add(gv);
        }
コード例 #2
0
        private void btnLapLichBangTay_ItemClick(object sender, ItemClickEventArgs e)
        {
            UCGiaoVien       gv   = new UCGiaoVien();
            UCLapLichBangTay llbt = new UCLapLichBangTay();

            panel1.Controls.Clear();
            llbt.Dock = System.Windows.Forms.DockStyle.Fill;
            //ql.Dock = System.Windows.Forms.DockStyle.Bottom;
            panel1.Controls.Add(llbt);
        }