Ejemplo n.º 1
0
        private void barButtonItem11_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            tbTrangChu.Hide();
            QuanLyMatHang hs = new QuanLyMatHang(taiKhoan, nhanVien);

            hs.Width  = pnlTrangChu.Width;
            hs.Height = pnlTrangChu.Height;
            pnlTrangChu.Controls.Clear();
            pnlTrangChu.Controls.Add(hs);
            btnBack.Visible = true;
            lbTieuDe.Text   = "Quản lý mặt hàng";
            hs.Show();
        }
Ejemplo n.º 2
0
        private void simpleButton2_Click(object sender, EventArgs e)
        {
            tbTrangChu.Hide();
            QuanLyMatHang hs = new QuanLyMatHang(taiKhoan, nhanVien);

            hs.Width  = pnlTrangChu.Width;
            hs.Height = pnlTrangChu.Height;
            pnlTrangChu.Controls.Clear();
            pnlTrangChu.Controls.Add(hs);
            btnBack.Visible = true;
            lbTieuDe.Text   = "Quản lý mặt hàng";
            hs.Show();
        }