private void barbtnNhapTraHang_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { UCTraHang2 ucth = new UCTraHang2(); panel1.Controls.Clear(); panel1.Controls.Add(ucth); }
public UCLichSuTraHang() { InitializeComponent(); ucth = new UCTraHang2(); KH = new KhachHangO(); TH = new TraHangO(); CTTH = new ChiTietTraHangO(); TK = new TonKhoO(); traHangBUS = new TraHangBUS(); khachHangBUS = new KhachHangBUS(); chiTietPhieuTraHangBUS = new ChiTietPhieuTraHangBUS(); tonKhoBUS = new TonKhoBUS(); }