Exemple #1
0
        private void trangchu_Load(object sender, EventArgs e)
        {
            homeContent noidungHome = new homeContent();

            contentPanelhome.Controls.Clear();
            contentPanelhome.Controls.Add(noidungHome);
        }
Exemple #2
0
        private void btnIconhome_Click(object sender, EventArgs e)
        {
            homeContent noidungHome = new homeContent();

            contentPanelhome.Controls.Clear();
            contentPanelhome.Controls.Add(noidungHome);

            tieudeHeaderPanel.Controls.Clear();
        }
Exemple #3
0
        private void btnDangxuat_Click(object sender, EventArgs e)
        {
            homeContent home = new homeContent();

            tc.enable_button();
            tc.DangnhapPanel.Controls.Clear();
            tc.DangnhapPanel.Controls.Add(tc.btnDangnhap);
            tc.contentPanelhome.Controls.Clear();
            tc.contentPanelhome.Controls.Add(home);
            tc.tieudeHeaderPanel.Controls.Clear();
        }