Ejemplo n.º 1
0
        private void ucBaoHanhXeMay_Load(object sender, EventArgs e)
        {
            enableBaoHanh(false);
            enableSplitPannel(0);
            DeleteTextBaoHanh();
            DeleteTextChiTiet();
            enableChiTiet(false);
            lueMaXe.EditValue = string.Empty;

            splitContainerControl1.FixedPanel = SplitFixedPanel.None;

            gcDanhSachBaoHanh.DataSource = bhControl.getAllDataChoGridControl();
            frmMain.DatLaiTenCotCuaGridView(gvDanhSachBaoHanh);

            lueMaKhachHang.Properties.DataSource    = khControl.getAllDataMaTen();
            lueMaKhachHang.Properties.DisplayMember = "MAKH";

            lueMaXe.Properties.DataSource    = xControl.getMaXeCholueMaXeUCBaoHanh();
            lueMaXe.Properties.DisplayMember = "MAXE";

            lueMaBH.Properties.DataSource    = bhControl.getAllData();
            lueMaBH.Properties.DisplayMember = "MABH";
        }