private void trangchu_Load(object sender, EventArgs e) { homeContent noidungHome = new homeContent(); contentPanelhome.Controls.Clear(); contentPanelhome.Controls.Add(noidungHome); }
private void btnIconhome_Click(object sender, EventArgs e) { homeContent noidungHome = new homeContent(); contentPanelhome.Controls.Clear(); contentPanelhome.Controls.Add(noidungHome); tieudeHeaderPanel.Controls.Clear(); }
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(); }