Пример #1
0
        private void btnTrangChu_Click(object sender, EventArgs e)
        {
            movesidePannel(btnTrangChu);
            UC_TrangChu tc = new UC_TrangChu();

            addControlsToPanel(tc);
        }
Пример #2
0
        public Main()
        {
            InitializeComponent();
            timerTime.Start();
            panelLeft.Width = panelLeft.Width - 145;
            w     = panelLeft.Width;
            check = false;
            /*hiển thị trang chủ*/
            UC_TrangChu tc = new UC_TrangChu();

            addControlsToPanel(tc);
        }
Пример #3
0
        //   int w;
        //   bool check;
        public Main()
        {
            InitializeComponent();
            timerTime.Start();
            //   panelLeft.Width = panelLeft.Width - 145;
            //    w = panelLeft.Width;
            //   check = false;
            /*hiển thị trang chủ*/
            UC_TrangChu tc = new UC_TrangChu();

            addControlsToPanel(tc);
            PhanQuyen();
            lbUser.Text = Form1.tenNgDung;
        }