int flag           = 0; //xác định đăng nhập bằng quyền gì
 public MainBanHang(int flag)
 {
     InitializeComponent();
     DevExpress.LookAndFeel.DefaultLookAndFeel themes = new DevExpress.LookAndFeel.DefaultLookAndFeel();
     themes.LookAndFeel.SkinName = "Office 2010 Blue";
     this.flag = flag;
     frm       = new UC_BanHang(banDangChon, flag);
 }
        private void BtnBan_Click1(object sender, EventArgs e)
        {
            banDangChon = (Ban)(((ButtonX)sender).Tag);
            pHienThiChinh.Hide();
            frm      = new UC_BanHang(banDangChon, flag);
            frm.Dock = DockStyle.Fill;

            pChuyenGiaoDien.Controls.Add(frm);
            frm.Show();
            btnQuayLai.Enabled = true;
        }