コード例 #1
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ucChiTiet));
     DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
     this.bm = new DevExpress.XtraBars.BarManager(this.components);
     this.bar2 = new DevExpress.XtraBars.Bar();
     this.bbiXem = new DevExpress.XtraBars.BarButtonItem();
     this.bbiSua = new DevExpress.XtraBars.BarButtonItem();
     this.bbiXuatExcel = new DevExpress.XtraBars.BarButtonItem();
     this.bbiDong = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.img = new DevExpress.Utils.ImageCollection(this.components);
     this.gcList = new DevExpress.XtraGrid.GridControl();
     this.cHUNGTUCHITIETTheoNgayBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.dsCamDo = new Phan_Mem_Quan_Ly_Cam_Do.CamDo.DS.dsCamDo();
     this.gbList = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridView();
     this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
     this.colMa_Chi_Tiet = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colMa_Chung_Tu = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colNgay = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTen_Khach_Hang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSo_CMND = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colDia_Chi = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSo_Tien_Cam = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.rptMayTinh = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.colTen_Tai_San = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colLoai_Vang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.gridBand2 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
     this.colTrong_Luong_Vang_18k = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTrong_Luong_Vang_24k = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTrong_Luong_Khac = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTrong_Luong = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.gridBand3 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
     this.colChuan_Do = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colGia_Tri_Vat_Cam = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSap_Xep = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTinh_Trang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.rptMayTinhPhanTram = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
     this.layoutControl2 = new DevExpress.XtraLayout.LayoutControl();
     this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.txtDen = new DevExpress.XtraEditors.DateEdit();
     this.txtTu = new DevExpress.XtraEditors.DateEdit();
     this.cbTuyChon = new DevExpress.XtraEditors.ComboBoxEdit();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
     this.cHUNG_TU_CHI_TIET_Theo_NgayTableAdapter = new Phan_Mem_Quan_Ly_Cam_Do.CamDo.DS.dsCamDoTableAdapters.CHUNG_TU_CHI_TIET_Theo_NgayTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.bm)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.img)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cHUNGTUCHITIETTheoNgayBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCamDo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gbList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rptMayTinh)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rptMayTinhPhanTram)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtDen.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtDen.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTu.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTu.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbTuyChon.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     this.SuspendLayout();
     //
     // bm
     //
     this.bm.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar2});
     this.bm.DockControls.Add(this.barDockControlTop);
     this.bm.DockControls.Add(this.barDockControlBottom);
     this.bm.DockControls.Add(this.barDockControlLeft);
     this.bm.DockControls.Add(this.barDockControlRight);
     this.bm.Form = this;
     this.bm.Images = this.img;
     this.bm.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.bbiSua,
     this.bbiDong,
     this.bbiXem,
     this.bbiXuatExcel});
     this.bm.LargeImages = this.img;
     this.bm.MainMenu = this.bar2;
     this.bm.MaxItemId = 7;
     //
     // bar2
     //
     this.bar2.BarName = "Main menu";
     this.bar2.DockCol = 0;
     this.bar2.DockRow = 0;
     this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiXem),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiSua),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiXuatExcel),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiDong)});
     this.bar2.OptionsBar.MultiLine = true;
     this.bar2.OptionsBar.UseWholeRow = true;
     this.bar2.Text = "Main menu";
     //
     // bbiXem
     //
     this.bbiXem.Caption = "Xem";
     this.bbiXem.Id = 5;
     this.bbiXem.ImageIndex = 35;
     this.bbiXem.Name = "bbiXem";
     this.bbiXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiXem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiXem_ItemClick);
     //
     // bbiSua
     //
     this.bbiSua.Caption = "Sửa";
     this.bbiSua.Id = 1;
     this.bbiSua.ImageIndex = 29;
     this.bbiSua.Name = "bbiSua";
     this.bbiSua.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiSua.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiSua_ItemClick);
     //
     // bbiXuatExcel
     //
     this.bbiXuatExcel.Caption = "Xuất Excel";
     this.bbiXuatExcel.Id = 6;
     this.bbiXuatExcel.ImageIndex = 54;
     this.bbiXuatExcel.Name = "bbiXuatExcel";
     this.bbiXuatExcel.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiXuatExcel.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiXuatExcel_ItemClick);
     //
     // bbiDong
     //
     this.bbiDong.Caption = "Đóng";
     this.bbiDong.Id = 3;
     this.bbiDong.ImageIndex = 10;
     this.bbiDong.Name = "bbiDong";
     this.bbiDong.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiDong.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiDong_ItemClick);
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(1133, 24);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 636);
     this.barDockControlBottom.Size = new System.Drawing.Size(1133, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 612);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(1133, 24);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 612);
     //
     // img
     //
     this.img.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("img.ImageStream")));
     this.img.Images.SetKeyName(0, "abort.png");
     this.img.Images.SetKeyName(1, "about.png");
     this.img.Images.SetKeyName(2, "accept.png");
     this.img.Images.SetKeyName(3, "add.png");
     this.img.Images.SetKeyName(4, "application.png");
     this.img.Images.SetKeyName(5, "apply.png");
     this.img.Images.SetKeyName(6, "attention.png");
     this.img.Images.SetKeyName(7, "back.png");
     this.img.Images.SetKeyName(8, "cancel.png");
     this.img.Images.SetKeyName(9, "circulation.png");
     this.img.Images.SetKeyName(10, "close.png");
     this.img.Images.SetKeyName(11, "create.png");
     this.img.Images.SetKeyName(12, "cut.png");
     this.img.Images.SetKeyName(13, "danger.png");
     this.img.Images.SetKeyName(14, "delete.png");
     this.img.Images.SetKeyName(15, "down.png");
     this.img.Images.SetKeyName(16, "erase.png");
     this.img.Images.SetKeyName(17, "error.png");
     this.img.Images.SetKeyName(18, "forward.png");
     this.img.Images.SetKeyName(19, "help.png");
     this.img.Images.SetKeyName(20, "info.png");
     this.img.Images.SetKeyName(21, "information.png");
     this.img.Images.SetKeyName(22, "logout.png");
     this.img.Images.SetKeyName(23, "minus.png");
     this.img.Images.SetKeyName(24, "move.png");
     this.img.Images.SetKeyName(25, "next.png");
     this.img.Images.SetKeyName(26, "no entry.png");
     this.img.Images.SetKeyName(27, "no.png");
     this.img.Images.SetKeyName(28, "OK.png");
     this.img.Images.SetKeyName(29, "options.png");
     this.img.Images.SetKeyName(30, "plus.png");
     this.img.Images.SetKeyName(31, "previous.png");
     this.img.Images.SetKeyName(32, "problem.png");
     this.img.Images.SetKeyName(33, "question.png");
     this.img.Images.SetKeyName(34, "redo.png");
     this.img.Images.SetKeyName(35, "refresh.png");
     this.img.Images.SetKeyName(36, "remove.png");
     this.img.Images.SetKeyName(37, "renew.png");
     this.img.Images.SetKeyName(38, "repeat.png");
     this.img.Images.SetKeyName(39, "run.png");
     this.img.Images.SetKeyName(40, "save.png");
     this.img.Images.SetKeyName(41, "search.png");
     this.img.Images.SetKeyName(42, "settings.png");
     this.img.Images.SetKeyName(43, "stop.png");
     this.img.Images.SetKeyName(44, "switch.png");
     this.img.Images.SetKeyName(45, "sync.png");
     this.img.Images.SetKeyName(46, "system.png");
     this.img.Images.SetKeyName(47, "turn off.png");
     this.img.Images.SetKeyName(48, "undo.png");
     this.img.Images.SetKeyName(49, "up.png");
     this.img.Images.SetKeyName(50, "update.png");
     this.img.Images.SetKeyName(51, "view.png");
     this.img.Images.SetKeyName(52, "warning.png");
     this.img.Images.SetKeyName(53, "yes.png");
     this.img.Images.SetKeyName(54, "Excel-icon.png");
     //
     // gcList
     //
     this.gcList.DataSource = this.cHUNGTUCHITIETTheoNgayBindingSource;
     this.gcList.Location = new System.Drawing.Point(2, 26);
     this.gcList.MainView = this.gbList;
     this.gcList.MenuManager = this.bm;
     this.gcList.Name = "gcList";
     this.gcList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.rptMayTinh,
     this.rptMayTinhPhanTram});
     this.gcList.Size = new System.Drawing.Size(1129, 584);
     this.gcList.TabIndex = 4;
     this.gcList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gbList});
     //
     // cHUNGTUCHITIETTheoNgayBindingSource
     //
     this.cHUNGTUCHITIETTheoNgayBindingSource.DataMember = "CHUNG_TU_CHI_TIET_Theo_Ngay";
     this.cHUNGTUCHITIETTheoNgayBindingSource.DataSource = this.dsCamDo;
     //
     // dsCamDo
     //
     this.dsCamDo.DataSetName = "dsCamDo";
     this.dsCamDo.EnforceConstraints = false;
     this.dsCamDo.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gbList
     //
     this.gbList.Appearance.GroupRow.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.gbList.Appearance.GroupRow.ForeColor = System.Drawing.Color.Red;
     this.gbList.Appearance.GroupRow.Options.UseFont = true;
     this.gbList.Appearance.GroupRow.Options.UseForeColor = true;
     this.gbList.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] {
     this.gridBand1,
     this.gridBand2,
     this.gridBand3});
     this.gbList.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] {
     this.colMa_Chi_Tiet,
     this.colMa_Chung_Tu,
     this.colNgay,
     this.colTen_Khach_Hang,
     this.colSo_CMND,
     this.colDia_Chi,
     this.colSo_Tien_Cam,
     this.colTen_Tai_San,
     this.colLoai_Vang,
     this.colTrong_Luong,
     this.colChuan_Do,
     this.colGia_Tri_Vat_Cam,
     this.colSap_Xep,
     this.colTinh_Trang,
     this.colTrong_Luong_Vang_18k,
     this.colTrong_Luong_Vang_24k,
     this.colTrong_Luong_Khac});
     this.gbList.CustomizationFormBounds = new System.Drawing.Rectangle(427, 278, 216, 199);
     styleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.Red;
     styleFormatCondition1.Appearance.Options.UseForeColor = true;
     styleFormatCondition1.ApplyToRow = true;
     styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Expression;
     styleFormatCondition1.Expression = "Iif([Tinh_Trang] == \'R\',True  ,False )";
     this.gbList.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
     styleFormatCondition1});
     this.gbList.GridControl = this.gcList;
     this.gbList.GroupPanelText = "Kéo cột và thả vào đây để nhóm dữ liệu";
     this.gbList.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Thanh_Tien", null, " - Thành Tiền - {0:##,##0,###}")});
     this.gbList.IndicatorWidth = 40;
     this.gbList.Name = "gbList";
     this.gbList.OptionsBehavior.AutoExpandAllGroups = true;
     this.gbList.OptionsView.ColumnAutoWidth = false;
     this.gbList.OptionsView.ShowAutoFilterRow = true;
     this.gbList.OptionsView.ShowFooter = true;
     this.gbList.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colMa_Chung_Tu, DevExpress.Data.ColumnSortOrder.Descending)});
     this.gbList.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gbList_CustomDrawRowIndicator);
     //
     // gridBand1
     //
     this.gridBand1.Columns.Add(this.colMa_Chi_Tiet);
     this.gridBand1.Columns.Add(this.colMa_Chung_Tu);
     this.gridBand1.Columns.Add(this.colNgay);
     this.gridBand1.Columns.Add(this.colTen_Khach_Hang);
     this.gridBand1.Columns.Add(this.colSo_CMND);
     this.gridBand1.Columns.Add(this.colDia_Chi);
     this.gridBand1.Columns.Add(this.colSo_Tien_Cam);
     this.gridBand1.Columns.Add(this.colTen_Tai_San);
     this.gridBand1.Columns.Add(this.colLoai_Vang);
     this.gridBand1.MinWidth = 20;
     this.gridBand1.Name = "gridBand1";
     this.gridBand1.VisibleIndex = 0;
     this.gridBand1.Width = 659;
     //
     // colMa_Chi_Tiet
     //
     this.colMa_Chi_Tiet.AppearanceHeader.Options.UseTextOptions = true;
     this.colMa_Chi_Tiet.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMa_Chi_Tiet.FieldName = "Ma_Chi_Tiet";
     this.colMa_Chi_Tiet.Name = "colMa_Chi_Tiet";
     this.colMa_Chi_Tiet.OptionsColumn.ReadOnly = true;
     this.colMa_Chi_Tiet.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     //
     // colMa_Chung_Tu
     //
     this.colMa_Chung_Tu.AppearanceHeader.Options.UseTextOptions = true;
     this.colMa_Chung_Tu.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMa_Chung_Tu.Caption = "Mã Chứng Từ";
     this.colMa_Chung_Tu.FieldName = "Ma_Chung_Tu";
     this.colMa_Chung_Tu.Name = "colMa_Chung_Tu";
     this.colMa_Chung_Tu.OptionsColumn.ReadOnly = true;
     this.colMa_Chung_Tu.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colMa_Chung_Tu.Visible = true;
     this.colMa_Chung_Tu.Width = 100;
     //
     // colNgay
     //
     this.colNgay.AppearanceHeader.Options.UseTextOptions = true;
     this.colNgay.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colNgay.Caption = "Ngày";
     this.colNgay.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colNgay.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.colNgay.FieldName = "Ngay";
     this.colNgay.Name = "colNgay";
     this.colNgay.OptionsColumn.ReadOnly = true;
     this.colNgay.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colNgay.Visible = true;
     //
     // colTen_Khach_Hang
     //
     this.colTen_Khach_Hang.AppearanceHeader.Options.UseTextOptions = true;
     this.colTen_Khach_Hang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTen_Khach_Hang.Caption = "Tên Khách Hàng";
     this.colTen_Khach_Hang.FieldName = "Ten_Khach_Hang";
     this.colTen_Khach_Hang.Name = "colTen_Khach_Hang";
     this.colTen_Khach_Hang.OptionsColumn.ReadOnly = true;
     this.colTen_Khach_Hang.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTen_Khach_Hang.Visible = true;
     this.colTen_Khach_Hang.Width = 100;
     //
     // colSo_CMND
     //
     this.colSo_CMND.AppearanceHeader.Options.UseTextOptions = true;
     this.colSo_CMND.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSo_CMND.Caption = "Số CMND";
     this.colSo_CMND.FieldName = "So_CMND";
     this.colSo_CMND.Name = "colSo_CMND";
     this.colSo_CMND.OptionsColumn.ReadOnly = true;
     this.colSo_CMND.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSo_CMND.Visible = true;
     //
     // colDia_Chi
     //
     this.colDia_Chi.AppearanceHeader.Options.UseTextOptions = true;
     this.colDia_Chi.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDia_Chi.Caption = "Địa Chỉ";
     this.colDia_Chi.FieldName = "Dia_Chi";
     this.colDia_Chi.Name = "colDia_Chi";
     this.colDia_Chi.OptionsColumn.ReadOnly = true;
     this.colDia_Chi.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colDia_Chi.Visible = true;
     //
     // colSo_Tien_Cam
     //
     this.colSo_Tien_Cam.AppearanceHeader.Options.UseTextOptions = true;
     this.colSo_Tien_Cam.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSo_Tien_Cam.Caption = "Số Tiền Cầm";
     this.colSo_Tien_Cam.ColumnEdit = this.rptMayTinh;
     this.colSo_Tien_Cam.FieldName = "So_Tien_Cam";
     this.colSo_Tien_Cam.Name = "colSo_Tien_Cam";
     this.colSo_Tien_Cam.OptionsColumn.ReadOnly = true;
     this.colSo_Tien_Cam.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSo_Tien_Cam.Visible = true;
     this.colSo_Tien_Cam.Width = 81;
     //
     // rptMayTinh
     //
     this.rptMayTinh.AutoHeight = false;
     this.rptMayTinh.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.rptMayTinh.DisplayFormat.FormatString = "{0:##,##0.###}";
     this.rptMayTinh.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.rptMayTinh.EditFormat.FormatString = "{0:##,##0.###}";
     this.rptMayTinh.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.rptMayTinh.Name = "rptMayTinh";
     //
     // colTen_Tai_San
     //
     this.colTen_Tai_San.AppearanceHeader.Options.UseTextOptions = true;
     this.colTen_Tai_San.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTen_Tai_San.Caption = "Tên Tài Sản";
     this.colTen_Tai_San.FieldName = "Ten_Tai_San";
     this.colTen_Tai_San.Name = "colTen_Tai_San";
     this.colTen_Tai_San.OptionsColumn.ReadOnly = true;
     this.colTen_Tai_San.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTen_Tai_San.Visible = true;
     this.colTen_Tai_San.Width = 78;
     //
     // colLoai_Vang
     //
     this.colLoai_Vang.AppearanceHeader.Options.UseTextOptions = true;
     this.colLoai_Vang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colLoai_Vang.Caption = "Loại Vàng";
     this.colLoai_Vang.FieldName = "Loai_Vang";
     this.colLoai_Vang.Name = "colLoai_Vang";
     this.colLoai_Vang.OptionsColumn.ReadOnly = true;
     this.colLoai_Vang.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colLoai_Vang.Visible = true;
     //
     // gridBand2
     //
     this.gridBand2.AppearanceHeader.Options.UseTextOptions = true;
     this.gridBand2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridBand2.Caption = "Trọng Lượng";
     this.gridBand2.Columns.Add(this.colTrong_Luong_Vang_18k);
     this.gridBand2.Columns.Add(this.colTrong_Luong_Vang_24k);
     this.gridBand2.Columns.Add(this.colTrong_Luong_Khac);
     this.gridBand2.Columns.Add(this.colTrong_Luong);
     this.gridBand2.MinWidth = 20;
     this.gridBand2.Name = "gridBand2";
     this.gridBand2.VisibleIndex = 1;
     this.gridBand2.Width = 308;
     //
     // colTrong_Luong_Vang_18k
     //
     this.colTrong_Luong_Vang_18k.AppearanceHeader.Options.UseTextOptions = true;
     this.colTrong_Luong_Vang_18k.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTrong_Luong_Vang_18k.Caption = "18k";
     this.colTrong_Luong_Vang_18k.ColumnEdit = this.rptMayTinh;
     this.colTrong_Luong_Vang_18k.FieldName = "Trong_Luong_Vang_18k";
     this.colTrong_Luong_Vang_18k.Name = "colTrong_Luong_Vang_18k";
     this.colTrong_Luong_Vang_18k.OptionsColumn.ReadOnly = true;
     this.colTrong_Luong_Vang_18k.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTrong_Luong_Vang_18k.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Trong_Luong_Vang_18k", "{0:##,##0.###}")});
     this.colTrong_Luong_Vang_18k.Visible = true;
     //
     // colTrong_Luong_Vang_24k
     //
     this.colTrong_Luong_Vang_24k.AppearanceHeader.Options.UseTextOptions = true;
     this.colTrong_Luong_Vang_24k.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTrong_Luong_Vang_24k.Caption = "24k";
     this.colTrong_Luong_Vang_24k.ColumnEdit = this.rptMayTinh;
     this.colTrong_Luong_Vang_24k.FieldName = "Trong_Luong_Vang_24k";
     this.colTrong_Luong_Vang_24k.Name = "colTrong_Luong_Vang_24k";
     this.colTrong_Luong_Vang_24k.OptionsColumn.ReadOnly = true;
     this.colTrong_Luong_Vang_24k.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTrong_Luong_Vang_24k.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Trong_Luong_Vang_24k", "{0:##,##0.###}")});
     this.colTrong_Luong_Vang_24k.Visible = true;
     //
     // colTrong_Luong_Khac
     //
     this.colTrong_Luong_Khac.AppearanceHeader.Options.UseTextOptions = true;
     this.colTrong_Luong_Khac.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTrong_Luong_Khac.Caption = "Khác";
     this.colTrong_Luong_Khac.ColumnEdit = this.rptMayTinh;
     this.colTrong_Luong_Khac.FieldName = "Trong_Luong_Khac";
     this.colTrong_Luong_Khac.Name = "colTrong_Luong_Khac";
     this.colTrong_Luong_Khac.OptionsColumn.ReadOnly = true;
     this.colTrong_Luong_Khac.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTrong_Luong_Khac.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Trong_Luong_Khac", "{0:##,##0.###}")});
     this.colTrong_Luong_Khac.Visible = true;
     //
     // colTrong_Luong
     //
     this.colTrong_Luong.AppearanceHeader.Options.UseTextOptions = true;
     this.colTrong_Luong.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTrong_Luong.Caption = "Trọng Lượng";
     this.colTrong_Luong.FieldName = "Trong_Luong";
     this.colTrong_Luong.Name = "colTrong_Luong";
     this.colTrong_Luong.OptionsColumn.ReadOnly = true;
     this.colTrong_Luong.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTrong_Luong.Visible = true;
     this.colTrong_Luong.Width = 83;
     //
     // gridBand3
     //
     this.gridBand3.Columns.Add(this.colChuan_Do);
     this.gridBand3.Columns.Add(this.colGia_Tri_Vat_Cam);
     this.gridBand3.Columns.Add(this.colSap_Xep);
     this.gridBand3.Columns.Add(this.colTinh_Trang);
     this.gridBand3.MinWidth = 20;
     this.gridBand3.Name = "gridBand3";
     this.gridBand3.VisibleIndex = 2;
     this.gridBand3.Width = 245;
     //
     // colChuan_Do
     //
     this.colChuan_Do.AppearanceHeader.Options.UseTextOptions = true;
     this.colChuan_Do.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colChuan_Do.Caption = "Chuẩn Độ";
     this.colChuan_Do.FieldName = "Chuan_Do";
     this.colChuan_Do.Name = "colChuan_Do";
     this.colChuan_Do.OptionsColumn.ReadOnly = true;
     this.colChuan_Do.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colChuan_Do.Visible = true;
     //
     // colGia_Tri_Vat_Cam
     //
     this.colGia_Tri_Vat_Cam.AppearanceHeader.Options.UseTextOptions = true;
     this.colGia_Tri_Vat_Cam.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colGia_Tri_Vat_Cam.Caption = "Giá Trị Vật Cầm";
     this.colGia_Tri_Vat_Cam.ColumnEdit = this.rptMayTinh;
     this.colGia_Tri_Vat_Cam.FieldName = "Gia_Tri_Vat_Cam";
     this.colGia_Tri_Vat_Cam.Name = "colGia_Tri_Vat_Cam";
     this.colGia_Tri_Vat_Cam.OptionsColumn.ReadOnly = true;
     this.colGia_Tri_Vat_Cam.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colGia_Tri_Vat_Cam.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Gia_Tri_Vat_Cam", "{0:##,##0.###}")});
     this.colGia_Tri_Vat_Cam.Visible = true;
     this.colGia_Tri_Vat_Cam.Width = 95;
     //
     // colSap_Xep
     //
     this.colSap_Xep.AppearanceHeader.Options.UseTextOptions = true;
     this.colSap_Xep.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSap_Xep.Caption = "Sắp Xếp";
     this.colSap_Xep.FieldName = "Sap_Xep";
     this.colSap_Xep.Name = "colSap_Xep";
     this.colSap_Xep.OptionsColumn.ReadOnly = true;
     this.colSap_Xep.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSap_Xep.Visible = true;
     //
     // colTinh_Trang
     //
     this.colTinh_Trang.AppearanceHeader.Options.UseTextOptions = true;
     this.colTinh_Trang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTinh_Trang.FieldName = "Tinh_Trang";
     this.colTinh_Trang.Name = "colTinh_Trang";
     //
     // rptMayTinhPhanTram
     //
     this.rptMayTinhPhanTram.AutoHeight = false;
     this.rptMayTinhPhanTram.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.rptMayTinhPhanTram.DisplayFormat.FormatString = "{0:##,##0.###} %";
     this.rptMayTinhPhanTram.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.rptMayTinhPhanTram.EditFormat.FormatString = "{0:##,##0.###} %";
     this.rptMayTinhPhanTram.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.rptMayTinhPhanTram.Name = "rptMayTinhPhanTram";
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.layoutControl2);
     this.layoutControl1.Controls.Add(this.txtDen);
     this.layoutControl1.Controls.Add(this.txtTu);
     this.layoutControl1.Controls.Add(this.cbTuyChon);
     this.layoutControl1.Controls.Add(this.gcList);
     this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(0, 24);
     this.layoutControl1.Name = "layoutControl1";
     this.layoutControl1.Root = this.layoutControlGroup1;
     this.layoutControl1.Size = new System.Drawing.Size(1133, 612);
     this.layoutControl1.TabIndex = 5;
     this.layoutControl1.Text = "layoutControl1";
     //
     // layoutControl2
     //
     this.layoutControl2.Location = new System.Drawing.Point(541, 2);
     this.layoutControl2.Name = "layoutControl2";
     this.layoutControl2.Root = this.layoutControlGroup2;
     this.layoutControl2.Size = new System.Drawing.Size(590, 20);
     this.layoutControl2.TabIndex = 8;
     this.layoutControl2.Text = "layoutControl2";
     //
     // layoutControlGroup2
     //
     this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2";
     this.layoutControlGroup2.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup2.GroupBordersVisible = false;
     this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0);
     this.layoutControlGroup2.Name = "layoutControlGroup2";
     this.layoutControlGroup2.Size = new System.Drawing.Size(590, 20);
     this.layoutControlGroup2.Text = "layoutControlGroup2";
     this.layoutControlGroup2.TextVisible = false;
     //
     // txtDen
     //
     this.txtDen.EditValue = null;
     this.txtDen.Location = new System.Drawing.Point(397, 2);
     this.txtDen.MenuManager = this.bm;
     this.txtDen.Name = "txtDen";
     this.txtDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txtDen.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.txtDen.Properties.DisplayFormat.FormatString = "{0:dd/MM/yyyy}";
     this.txtDen.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.txtDen.Properties.EditFormat.FormatString = "{0:dd/MM/yyyy}";
     this.txtDen.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.txtDen.Size = new System.Drawing.Size(140, 20);
     this.txtDen.StyleController = this.layoutControl1;
     this.txtDen.TabIndex = 7;
     //
     // txtTu
     //
     this.txtTu.EditValue = null;
     this.txtTu.Location = new System.Drawing.Point(217, 2);
     this.txtTu.MenuManager = this.bm;
     this.txtTu.Name = "txtTu";
     this.txtTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txtTu.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.txtTu.Properties.DisplayFormat.FormatString = "{0:dd/MM/yyyy}";
     this.txtTu.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.txtTu.Properties.EditFormat.FormatString = "{0:dd/MM/yyyy}";
     this.txtTu.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.txtTu.Size = new System.Drawing.Size(141, 20);
     this.txtTu.StyleController = this.layoutControl1;
     this.txtTu.TabIndex = 6;
     //
     // cbTuyChon
     //
     this.cbTuyChon.EditValue = "Tùy chọn";
     this.cbTuyChon.Location = new System.Drawing.Point(57, 2);
     this.cbTuyChon.MenuManager = this.bm;
     this.cbTuyChon.Name = "cbTuyChon";
     this.cbTuyChon.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbTuyChon.Properties.Items.AddRange(new object[] {
     "Tùy chọn",
     "Tất cả",
     "Tháng 1",
     "Tháng 2",
     "Tháng 3",
     "Tháng 4",
     "Tháng 5",
     "Tháng 6",
     "Tháng 7",
     "Tháng 8",
     "Tháng 9",
     "Tháng 10",
     "Tháng 11",
     "Tháng 12"});
     this.cbTuyChon.Size = new System.Drawing.Size(121, 20);
     this.cbTuyChon.StyleController = this.layoutControl1;
     this.cbTuyChon.TabIndex = 5;
     this.cbTuyChon.SelectedIndexChanged += new System.EventHandler(this.cbTuyChon_SelectedIndexChanged);
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutControlItem1,
     this.layoutControlItem2,
     this.layoutControlItem3,
     this.layoutControlItem4,
     this.layoutControlItem5});
     this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name = "layoutControlGroup1";
     this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.layoutControlGroup1.Size = new System.Drawing.Size(1133, 612);
     this.layoutControlGroup1.Text = "layoutControlGroup1";
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control = this.gcList;
     this.layoutControlItem1.CustomizationFormText = "layoutControlItem1";
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 24);
     this.layoutControlItem1.Name = "layoutControlItem1";
     this.layoutControlItem1.Size = new System.Drawing.Size(1133, 588);
     this.layoutControlItem1.Text = "layoutControlItem1";
     this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem1.TextToControlDistance = 0;
     this.layoutControlItem1.TextVisible = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control = this.cbTuyChon;
     this.layoutControlItem2.CustomizationFormText = "Tùy Chọn";
     this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem2.MaxSize = new System.Drawing.Size(180, 24);
     this.layoutControlItem2.MinSize = new System.Drawing.Size(109, 24);
     this.layoutControlItem2.Name = "layoutControlItem2";
     this.layoutControlItem2.Size = new System.Drawing.Size(180, 24);
     this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem2.Text = "Tùy Chọn";
     this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize;
     this.layoutControlItem2.TextSize = new System.Drawing.Size(50, 13);
     this.layoutControlItem2.TextToControlDistance = 5;
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control = this.txtTu;
     this.layoutControlItem3.CustomizationFormText = "Từ";
     this.layoutControlItem3.Location = new System.Drawing.Point(180, 0);
     this.layoutControlItem3.MaxSize = new System.Drawing.Size(180, 24);
     this.layoutControlItem3.MinSize = new System.Drawing.Size(151, 24);
     this.layoutControlItem3.Name = "layoutControlItem3";
     this.layoutControlItem3.Size = new System.Drawing.Size(180, 24);
     this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem3.Text = "Từ";
     this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize;
     this.layoutControlItem3.TextSize = new System.Drawing.Size(30, 13);
     this.layoutControlItem3.TextToControlDistance = 5;
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control = this.txtDen;
     this.layoutControlItem4.CustomizationFormText = "Đến";
     this.layoutControlItem4.Location = new System.Drawing.Point(360, 0);
     this.layoutControlItem4.MaxSize = new System.Drawing.Size(180, 24);
     this.layoutControlItem4.MinSize = new System.Drawing.Size(151, 24);
     this.layoutControlItem4.Name = "layoutControlItem4";
     this.layoutControlItem4.Size = new System.Drawing.Size(179, 24);
     this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem4.Text = "Đến";
     this.layoutControlItem4.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize;
     this.layoutControlItem4.TextSize = new System.Drawing.Size(30, 13);
     this.layoutControlItem4.TextToControlDistance = 5;
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control = this.layoutControl2;
     this.layoutControlItem5.CustomizationFormText = "layoutControlItem5";
     this.layoutControlItem5.Location = new System.Drawing.Point(539, 0);
     this.layoutControlItem5.Name = "layoutControlItem5";
     this.layoutControlItem5.Size = new System.Drawing.Size(594, 24);
     this.layoutControlItem5.Text = "layoutControlItem5";
     this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem5.TextToControlDistance = 0;
     this.layoutControlItem5.TextVisible = false;
     //
     // cHUNG_TU_CHI_TIET_Theo_NgayTableAdapter
     //
     this.cHUNG_TU_CHI_TIET_Theo_NgayTableAdapter.ClearBeforeFill = true;
     //
     // ucChiTiet
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.layoutControl1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "ucChiTiet";
     this.Size = new System.Drawing.Size(1133, 636);
     ((System.ComponentModel.ISupportInitialize)(this.bm)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.img)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cHUNGTUCHITIETTheoNgayBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCamDo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gbList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rptMayTinh)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rptMayTinhPhanTram)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtDen.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtDen.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTu.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTu.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbTuyChon.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ucDanhSach));
     this.gbChild_List = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridView();
     this.gridBand4 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
     this.colTen_Tai_San = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colLoai_Vang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.gridBand5 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
     this.colTrong_Luong_Vang_18k = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.rptMayTinh = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.colTrong_Luong_Vang_24k = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTrong_Luong_Khac = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTrong_Luong = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.gridBand6 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
     this.colChuan_Do = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colGia_Tri_Vat_Cam = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.gcList = new DevExpress.XtraGrid.GridControl();
     this.cHUNGTUTheoNgayBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.dsCamDo = new Phan_Mem_Quan_Ly_Cam_Do.CamDo.DS.dsCamDo();
     this.gbList = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridView();
     this.gridBand1 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
     this.colMa_Chung_Tu = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSo = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colLien = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colNgay_Cam_Do = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colNgay_Ghi_So = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTen_Khach_Hang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSo_CMND = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSo_Tien = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSo_Ngay_Le = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSo_Thang_Cam = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTong_Tien_Lai = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.gridBand3 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
     this.colChung_Tu_Goc = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colGhi_Chu = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colLai_Suat_Ngay = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.rptMayTinhPhanTram = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.colLai_Suat_Thang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colNgay_Cap_CMND = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colNoi_Cap = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colNgay_Sinh = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colDia_Chi = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSo_Dien_Thoai = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colChu_Tiem = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTu_Ngay = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colDen_Ngay = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSo_Tien_Cam = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSo_Ngay_Cam = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colDa_Lam_Lai_Giay = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colMat_Giay = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colSap_Xep = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.colTinh_Trang = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn();
     this.bm = new DevExpress.XtraBars.BarManager(this.components);
     this.bar2 = new DevExpress.XtraBars.Bar();
     this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem();
     this.bbiInPhieu = new DevExpress.XtraBars.BarButtonItem();
     this.bbiSua = new DevExpress.XtraBars.BarButtonItem();
     this.bbiXoa = new DevExpress.XtraBars.BarButtonItem();
     this.bbiTheoDoi = new DevExpress.XtraBars.BarButtonItem();
     this.bbiXuatExcel = new DevExpress.XtraBars.BarButtonItem();
     this.bbiDong = new DevExpress.XtraBars.BarButtonItem();
     this.bar1 = new DevExpress.XtraBars.Bar();
     this.bbiChuocDo = new DevExpress.XtraBars.BarButtonItem();
     this.bbiTraTienLoi = new DevExpress.XtraBars.BarButtonItem();
     this.bbiKhachTraBotTien = new DevExpress.XtraBars.BarButtonItem();
     this.bbiKhachLayThemTien = new DevExpress.XtraBars.BarButtonItem();
     this.bbiLapGiayMoi = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.img = new DevExpress.Utils.ImageCollection(this.components);
     this.bbiTuyChon = new DevExpress.XtraBars.BarEditItem();
     this.rpt_cbTuyChon = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.bbiTu = new DevExpress.XtraBars.BarEditItem();
     this.rtp_dtTu = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.bbiDen = new DevExpress.XtraBars.BarEditItem();
     this.rpt_dtDen = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.bbiTheoNgay = new DevExpress.XtraBars.BarEditItem();
     this.rpt_cbTheoNgay = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
     this.cbTatCa = new DevExpress.XtraEditors.CheckEdit();
     this.layoutControl2 = new DevExpress.XtraLayout.LayoutControl();
     this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.txtDen = new DevExpress.XtraEditors.DateEdit();
     this.txtTu = new DevExpress.XtraEditors.DateEdit();
     this.cbTuyChon = new DevExpress.XtraEditors.ComboBoxEdit();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
     this.cHUNG_TU_Theo_NgayTableAdapter = new Phan_Mem_Quan_Ly_Cam_Do.CamDo.DS.dsCamDoTableAdapters.CHUNG_TU_Theo_NgayTableAdapter();
     this.cHUNGTUCHITIETTheoNgayBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.cHUNG_TU_CHI_TIET_Theo_NgayTableAdapter = new Phan_Mem_Quan_Ly_Cam_Do.CamDo.DS.dsCamDoTableAdapters.CHUNG_TU_CHI_TIET_Theo_NgayTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.gbChild_List)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rptMayTinh)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cHUNGTUTheoNgayBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCamDo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gbList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rptMayTinhPhanTram)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bm)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.img)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rpt_cbTuyChon)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rtp_dtTu)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rtp_dtTu.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rpt_dtDen)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rpt_dtDen.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rpt_cbTheoNgay)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbTatCa.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtDen.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtDen.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTu.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTu.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbTuyChon.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cHUNGTUCHITIETTheoNgayBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // gbChild_List
     //
     this.gbChild_List.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] {
     this.gridBand4,
     this.gridBand5,
     this.gridBand6});
     this.gbChild_List.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] {
     this.colTen_Tai_San,
     this.colLoai_Vang,
     this.colTrong_Luong,
     this.colChuan_Do,
     this.colGia_Tri_Vat_Cam,
     this.colTrong_Luong_Vang_18k,
     this.colTrong_Luong_Vang_24k,
     this.colTrong_Luong_Khac});
     this.gbChild_List.GridControl = this.gcList;
     this.gbChild_List.IndicatorWidth = 40;
     this.gbChild_List.Name = "gbChild_List";
     this.gbChild_List.OptionsView.ColumnAutoWidth = false;
     this.gbChild_List.OptionsView.ShowFooter = true;
     this.gbChild_List.OptionsView.ShowGroupPanel = false;
     this.gbChild_List.ViewCaption = "Chi Tiết";
     this.gbChild_List.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gbChild_List_CustomDrawRowIndicator);
     //
     // gridBand4
     //
     this.gridBand4.Columns.Add(this.colTen_Tai_San);
     this.gridBand4.Columns.Add(this.colLoai_Vang);
     this.gridBand4.Name = "gridBand4";
     this.gridBand4.VisibleIndex = 0;
     this.gridBand4.Width = 150;
     //
     // colTen_Tai_San
     //
     this.colTen_Tai_San.AppearanceHeader.Options.UseTextOptions = true;
     this.colTen_Tai_San.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTen_Tai_San.Caption = "Tên Tài Sản";
     this.colTen_Tai_San.FieldName = "Ten_Tai_San";
     this.colTen_Tai_San.Name = "colTen_Tai_San";
     this.colTen_Tai_San.OptionsColumn.ReadOnly = true;
     this.colTen_Tai_San.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTen_Tai_San.Visible = true;
     //
     // colLoai_Vang
     //
     this.colLoai_Vang.AppearanceHeader.Options.UseTextOptions = true;
     this.colLoai_Vang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colLoai_Vang.Caption = "Loại Vàng";
     this.colLoai_Vang.FieldName = "Loai_Vang";
     this.colLoai_Vang.Name = "colLoai_Vang";
     this.colLoai_Vang.OptionsColumn.ReadOnly = true;
     this.colLoai_Vang.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colLoai_Vang.Visible = true;
     //
     // gridBand5
     //
     this.gridBand5.AppearanceHeader.Options.UseTextOptions = true;
     this.gridBand5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridBand5.Caption = "Trọng Lượng";
     this.gridBand5.Columns.Add(this.colTrong_Luong_Vang_18k);
     this.gridBand5.Columns.Add(this.colTrong_Luong_Vang_24k);
     this.gridBand5.Columns.Add(this.colTrong_Luong_Khac);
     this.gridBand5.Columns.Add(this.colTrong_Luong);
     this.gridBand5.Name = "gridBand5";
     this.gridBand5.VisibleIndex = 1;
     this.gridBand5.Width = 300;
     //
     // colTrong_Luong_Vang_18k
     //
     this.colTrong_Luong_Vang_18k.AppearanceHeader.Options.UseTextOptions = true;
     this.colTrong_Luong_Vang_18k.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTrong_Luong_Vang_18k.Caption = "18k";
     this.colTrong_Luong_Vang_18k.ColumnEdit = this.rptMayTinh;
     this.colTrong_Luong_Vang_18k.FieldName = "Trong_Luong_Vang_18k";
     this.colTrong_Luong_Vang_18k.Name = "colTrong_Luong_Vang_18k";
     this.colTrong_Luong_Vang_18k.OptionsColumn.ReadOnly = true;
     this.colTrong_Luong_Vang_18k.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTrong_Luong_Vang_18k.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Trong_Luong_Vang_18k", "{0:##,##0.###}")});
     this.colTrong_Luong_Vang_18k.Visible = true;
     //
     // rptMayTinh
     //
     this.rptMayTinh.AutoHeight = false;
     this.rptMayTinh.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.rptMayTinh.DisplayFormat.FormatString = "{0:##,##0.###}";
     this.rptMayTinh.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.rptMayTinh.EditFormat.FormatString = "{0:##,##0.###}";
     this.rptMayTinh.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.rptMayTinh.Name = "rptMayTinh";
     //
     // colTrong_Luong_Vang_24k
     //
     this.colTrong_Luong_Vang_24k.AppearanceHeader.Options.UseTextOptions = true;
     this.colTrong_Luong_Vang_24k.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTrong_Luong_Vang_24k.Caption = "24k";
     this.colTrong_Luong_Vang_24k.ColumnEdit = this.rptMayTinh;
     this.colTrong_Luong_Vang_24k.FieldName = "Trong_Luong_Vang_24k";
     this.colTrong_Luong_Vang_24k.Name = "colTrong_Luong_Vang_24k";
     this.colTrong_Luong_Vang_24k.OptionsColumn.ReadOnly = true;
     this.colTrong_Luong_Vang_24k.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTrong_Luong_Vang_24k.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Trong_Luong_Vang_24k", "{0:##,##0.###}")});
     this.colTrong_Luong_Vang_24k.Visible = true;
     //
     // colTrong_Luong_Khac
     //
     this.colTrong_Luong_Khac.AppearanceHeader.Options.UseTextOptions = true;
     this.colTrong_Luong_Khac.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTrong_Luong_Khac.Caption = "Khác";
     this.colTrong_Luong_Khac.ColumnEdit = this.rptMayTinh;
     this.colTrong_Luong_Khac.FieldName = "Trong_Luong_Khac";
     this.colTrong_Luong_Khac.Name = "colTrong_Luong_Khac";
     this.colTrong_Luong_Khac.OptionsColumn.ReadOnly = true;
     this.colTrong_Luong_Khac.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTrong_Luong_Khac.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Trong_Luong_Khac", "{0:##,##0.###}")});
     this.colTrong_Luong_Khac.Visible = true;
     //
     // colTrong_Luong
     //
     this.colTrong_Luong.AppearanceHeader.Options.UseTextOptions = true;
     this.colTrong_Luong.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTrong_Luong.Caption = "Trọng Lượng";
     this.colTrong_Luong.FieldName = "Trong_Luong";
     this.colTrong_Luong.Name = "colTrong_Luong";
     this.colTrong_Luong.OptionsColumn.ReadOnly = true;
     this.colTrong_Luong.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTrong_Luong.Visible = true;
     //
     // gridBand6
     //
     this.gridBand6.Columns.Add(this.colChuan_Do);
     this.gridBand6.Columns.Add(this.colGia_Tri_Vat_Cam);
     this.gridBand6.Name = "gridBand6";
     this.gridBand6.VisibleIndex = 2;
     this.gridBand6.Width = 160;
     //
     // colChuan_Do
     //
     this.colChuan_Do.AppearanceHeader.Options.UseTextOptions = true;
     this.colChuan_Do.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colChuan_Do.Caption = "Chuẩn Độ";
     this.colChuan_Do.FieldName = "Chuan_Do";
     this.colChuan_Do.Name = "colChuan_Do";
     this.colChuan_Do.OptionsColumn.ReadOnly = true;
     this.colChuan_Do.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colChuan_Do.Visible = true;
     //
     // colGia_Tri_Vat_Cam
     //
     this.colGia_Tri_Vat_Cam.AppearanceHeader.Options.UseTextOptions = true;
     this.colGia_Tri_Vat_Cam.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colGia_Tri_Vat_Cam.Caption = "Giá Trị Vật Cầm";
     this.colGia_Tri_Vat_Cam.ColumnEdit = this.rptMayTinh;
     this.colGia_Tri_Vat_Cam.FieldName = "Gia_Tri_Vat_Cam";
     this.colGia_Tri_Vat_Cam.Name = "colGia_Tri_Vat_Cam";
     this.colGia_Tri_Vat_Cam.OptionsColumn.ReadOnly = true;
     this.colGia_Tri_Vat_Cam.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colGia_Tri_Vat_Cam.Visible = true;
     this.colGia_Tri_Vat_Cam.Width = 85;
     //
     // gcList
     //
     this.gcList.Cursor = System.Windows.Forms.Cursors.Default;
     this.gcList.DataSource = this.cHUNGTUTheoNgayBindingSource;
     gridLevelNode1.LevelTemplate = this.gbChild_List;
     gridLevelNode1.RelationName = "CHUNG_TU_Theo_Ngay_CHUNG_TU_CHI_TIET_Theo_Ngay";
     this.gcList.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
     gridLevelNode1});
     this.gcList.Location = new System.Drawing.Point(2, 26);
     this.gcList.MainView = this.gbList;
     this.gcList.MenuManager = this.bm;
     this.gcList.Name = "gcList";
     this.gcList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.rptMayTinh,
     this.rptMayTinhPhanTram});
     this.gcList.Size = new System.Drawing.Size(1280, 530);
     this.gcList.TabIndex = 4;
     this.gcList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gbList,
     this.gbChild_List});
     //
     // cHUNGTUTheoNgayBindingSource
     //
     this.cHUNGTUTheoNgayBindingSource.DataMember = "CHUNG_TU_Theo_Ngay";
     this.cHUNGTUTheoNgayBindingSource.DataSource = this.dsCamDo;
     //
     // dsCamDo
     //
     this.dsCamDo.DataSetName = "dsCamDo";
     this.dsCamDo.EnforceConstraints = false;
     this.dsCamDo.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gbList
     //
     this.gbList.Appearance.GroupRow.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.gbList.Appearance.GroupRow.ForeColor = System.Drawing.Color.Red;
     this.gbList.Appearance.GroupRow.Options.UseFont = true;
     this.gbList.Appearance.GroupRow.Options.UseForeColor = true;
     this.gbList.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] {
     this.gridBand1,
     this.gridBand3});
     this.gbList.Columns.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn[] {
     this.colMa_Chung_Tu,
     this.colSo,
     this.colTen_Khach_Hang,
     this.colSo_CMND,
     this.colNgay_Cap_CMND,
     this.colNoi_Cap,
     this.colDia_Chi,
     this.colSo_Dien_Thoai,
     this.colChu_Tiem,
     this.colSo_Tien_Cam,
     this.colTu_Ngay,
     this.colDen_Ngay,
     this.colSap_Xep,
     this.colNgay_Cam_Do,
     this.colNgay_Ghi_So,
     this.colSo_Ngay_Cam,
     this.colSo_Thang_Cam,
     this.colSo_Ngay_Le,
     this.colSo_Tien,
     this.colLai_Suat_Ngay,
     this.colLai_Suat_Thang,
     this.colTong_Tien_Lai,
     this.colMat_Giay,
     this.colGhi_Chu,
     this.colTinh_Trang,
     this.colChung_Tu_Goc,
     this.colDa_Lam_Lai_Giay,
     this.colLien,
     this.colNgay_Sinh});
     this.gbList.CustomizationFormBounds = new System.Drawing.Rectangle(574, 294, 216, 199);
     styleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.Red;
     styleFormatCondition1.Appearance.Options.UseForeColor = true;
     styleFormatCondition1.ApplyToRow = true;
     styleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Expression;
     styleFormatCondition1.Expression = "Iif([Tinh_Trang] == \'R\',True  ,False )";
     this.gbList.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
     styleFormatCondition1});
     this.gbList.GridControl = this.gcList;
     this.gbList.GroupPanelText = "Kéo cột và thả vào đây để nhóm dữ liệu";
     this.gbList.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Thanh_Tien", null, " - Thành Tiền - {0:##,##0,###}")});
     this.gbList.IndicatorWidth = 40;
     this.gbList.Name = "gbList";
     this.gbList.OptionsBehavior.AutoExpandAllGroups = true;
     this.gbList.OptionsSelection.MultiSelect = true;
     this.gbList.OptionsView.ColumnAutoWidth = false;
     this.gbList.OptionsView.ShowAutoFilterRow = true;
     this.gbList.OptionsView.ShowBands = false;
     this.gbList.OptionsView.ShowFooter = true;
     this.gbList.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
     new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colNgay_Ghi_So, DevExpress.Data.ColumnSortOrder.Descending)});
     this.gbList.CustomDrawRowIndicator += new DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventHandler(this.gbList_CustomDrawRowIndicator);
     this.gbList.MasterRowExpanded += new DevExpress.XtraGrid.Views.Grid.CustomMasterRowEventHandler(this.gbList_MasterRowExpanded);
     //
     // gridBand1
     //
     this.gridBand1.Columns.Add(this.colMa_Chung_Tu);
     this.gridBand1.Columns.Add(this.colSo);
     this.gridBand1.Columns.Add(this.colLien);
     this.gridBand1.Columns.Add(this.colNgay_Cam_Do);
     this.gridBand1.Columns.Add(this.colNgay_Ghi_So);
     this.gridBand1.Columns.Add(this.colTen_Khach_Hang);
     this.gridBand1.Columns.Add(this.colSo_CMND);
     this.gridBand1.Columns.Add(this.colSo_Tien);
     this.gridBand1.Columns.Add(this.colSo_Ngay_Le);
     this.gridBand1.Columns.Add(this.colSo_Thang_Cam);
     this.gridBand1.Columns.Add(this.colTong_Tien_Lai);
     this.gridBand1.MinWidth = 20;
     this.gridBand1.Name = "gridBand1";
     this.gridBand1.VisibleIndex = 0;
     this.gridBand1.Width = 970;
     //
     // colMa_Chung_Tu
     //
     this.colMa_Chung_Tu.AppearanceHeader.Options.UseTextOptions = true;
     this.colMa_Chung_Tu.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMa_Chung_Tu.Caption = "Mã Chứng Từ";
     this.colMa_Chung_Tu.FieldName = "Ma_Chung_Tu";
     this.colMa_Chung_Tu.Name = "colMa_Chung_Tu";
     this.colMa_Chung_Tu.OptionsColumn.ReadOnly = true;
     this.colMa_Chung_Tu.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colMa_Chung_Tu.Visible = true;
     this.colMa_Chung_Tu.Width = 105;
     //
     // colSo
     //
     this.colSo.AppearanceHeader.Options.UseTextOptions = true;
     this.colSo.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSo.Caption = "Số";
     this.colSo.FieldName = "So";
     this.colSo.Name = "colSo";
     this.colSo.OptionsColumn.ReadOnly = true;
     this.colSo.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSo.Visible = true;
     //
     // colLien
     //
     this.colLien.AppearanceHeader.Options.UseTextOptions = true;
     this.colLien.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colLien.Caption = "Liên";
     this.colLien.FieldName = "Lien";
     this.colLien.Name = "colLien";
     this.colLien.OptionsColumn.ReadOnly = true;
     this.colLien.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colLien.Visible = true;
     //
     // colNgay_Cam_Do
     //
     this.colNgay_Cam_Do.AppearanceHeader.Options.UseTextOptions = true;
     this.colNgay_Cam_Do.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colNgay_Cam_Do.Caption = "Ngày Cầm Đồ";
     this.colNgay_Cam_Do.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colNgay_Cam_Do.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.colNgay_Cam_Do.FieldName = "Ngay_Cam_Do";
     this.colNgay_Cam_Do.Name = "colNgay_Cam_Do";
     this.colNgay_Cam_Do.OptionsColumn.ReadOnly = true;
     this.colNgay_Cam_Do.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colNgay_Cam_Do.Visible = true;
     this.colNgay_Cam_Do.Width = 88;
     //
     // colNgay_Ghi_So
     //
     this.colNgay_Ghi_So.AppearanceHeader.Options.UseTextOptions = true;
     this.colNgay_Ghi_So.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colNgay_Ghi_So.Caption = "Ngày Ghi Sổ";
     this.colNgay_Ghi_So.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colNgay_Ghi_So.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.colNgay_Ghi_So.FieldName = "Ngay_Ghi_So";
     this.colNgay_Ghi_So.Name = "colNgay_Ghi_So";
     this.colNgay_Ghi_So.OptionsColumn.ReadOnly = true;
     this.colNgay_Ghi_So.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colNgay_Ghi_So.Visible = true;
     this.colNgay_Ghi_So.Width = 93;
     //
     // colTen_Khach_Hang
     //
     this.colTen_Khach_Hang.AppearanceHeader.Options.UseTextOptions = true;
     this.colTen_Khach_Hang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTen_Khach_Hang.Caption = "Tên Khách Hàng";
     this.colTen_Khach_Hang.FieldName = "Ten_Khach_Hang";
     this.colTen_Khach_Hang.Name = "colTen_Khach_Hang";
     this.colTen_Khach_Hang.OptionsColumn.ReadOnly = true;
     this.colTen_Khach_Hang.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTen_Khach_Hang.Visible = true;
     this.colTen_Khach_Hang.Width = 124;
     //
     // colSo_CMND
     //
     this.colSo_CMND.AppearanceHeader.Options.UseTextOptions = true;
     this.colSo_CMND.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSo_CMND.Caption = "Số CMND";
     this.colSo_CMND.FieldName = "So_CMND";
     this.colSo_CMND.Name = "colSo_CMND";
     this.colSo_CMND.OptionsColumn.ReadOnly = true;
     this.colSo_CMND.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSo_CMND.Visible = true;
     //
     // colSo_Tien
     //
     this.colSo_Tien.AppearanceHeader.Options.UseTextOptions = true;
     this.colSo_Tien.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSo_Tien.Caption = "Số Tiền";
     this.colSo_Tien.ColumnEdit = this.rptMayTinh;
     this.colSo_Tien.FieldName = "So_Tien";
     this.colSo_Tien.Name = "colSo_Tien";
     this.colSo_Tien.OptionsColumn.ReadOnly = true;
     this.colSo_Tien.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSo_Tien.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "So_Tien", "{0:##,##0.###}")});
     this.colSo_Tien.Visible = true;
     //
     // colSo_Ngay_Le
     //
     this.colSo_Ngay_Le.AppearanceHeader.Options.UseTextOptions = true;
     this.colSo_Ngay_Le.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSo_Ngay_Le.Caption = "Số Ngày Lẻ";
     this.colSo_Ngay_Le.ColumnEdit = this.rptMayTinh;
     this.colSo_Ngay_Le.FieldName = "So_Ngay_Le";
     this.colSo_Ngay_Le.Name = "colSo_Ngay_Le";
     this.colSo_Ngay_Le.OptionsColumn.ReadOnly = true;
     this.colSo_Ngay_Le.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSo_Ngay_Le.Visible = true;
     //
     // colSo_Thang_Cam
     //
     this.colSo_Thang_Cam.AppearanceHeader.Options.UseTextOptions = true;
     this.colSo_Thang_Cam.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSo_Thang_Cam.Caption = "Số Tháng Cầm";
     this.colSo_Thang_Cam.ColumnEdit = this.rptMayTinh;
     this.colSo_Thang_Cam.FieldName = "So_Thang_Cam";
     this.colSo_Thang_Cam.Name = "colSo_Thang_Cam";
     this.colSo_Thang_Cam.OptionsColumn.ReadOnly = true;
     this.colSo_Thang_Cam.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSo_Thang_Cam.Visible = true;
     this.colSo_Thang_Cam.Width = 91;
     //
     // colTong_Tien_Lai
     //
     this.colTong_Tien_Lai.AppearanceHeader.Options.UseTextOptions = true;
     this.colTong_Tien_Lai.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTong_Tien_Lai.Caption = "Tổng Tiền Lãi";
     this.colTong_Tien_Lai.ColumnEdit = this.rptMayTinh;
     this.colTong_Tien_Lai.FieldName = "Tong_Tien_Lai";
     this.colTong_Tien_Lai.Name = "colTong_Tien_Lai";
     this.colTong_Tien_Lai.OptionsColumn.ReadOnly = true;
     this.colTong_Tien_Lai.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTong_Tien_Lai.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Tong_Tien_Lai", "{0:##,##0.###}")});
     this.colTong_Tien_Lai.Visible = true;
     this.colTong_Tien_Lai.Width = 94;
     //
     // gridBand3
     //
     this.gridBand3.Columns.Add(this.colChung_Tu_Goc);
     this.gridBand3.Columns.Add(this.colGhi_Chu);
     this.gridBand3.Columns.Add(this.colLai_Suat_Ngay);
     this.gridBand3.Columns.Add(this.colLai_Suat_Thang);
     this.gridBand3.Columns.Add(this.colNgay_Cap_CMND);
     this.gridBand3.Columns.Add(this.colNoi_Cap);
     this.gridBand3.Columns.Add(this.colNgay_Sinh);
     this.gridBand3.Columns.Add(this.colDia_Chi);
     this.gridBand3.Columns.Add(this.colSo_Dien_Thoai);
     this.gridBand3.Columns.Add(this.colChu_Tiem);
     this.gridBand3.Columns.Add(this.colTu_Ngay);
     this.gridBand3.Columns.Add(this.colDen_Ngay);
     this.gridBand3.Columns.Add(this.colSo_Tien_Cam);
     this.gridBand3.Columns.Add(this.colSo_Ngay_Cam);
     this.gridBand3.Columns.Add(this.colDa_Lam_Lai_Giay);
     this.gridBand3.Columns.Add(this.colMat_Giay);
     this.gridBand3.Columns.Add(this.colSap_Xep);
     this.gridBand3.Columns.Add(this.colTinh_Trang);
     this.gridBand3.MinWidth = 20;
     this.gridBand3.Name = "gridBand3";
     this.gridBand3.VisibleIndex = 1;
     this.gridBand3.Width = 1541;
     //
     // colChung_Tu_Goc
     //
     this.colChung_Tu_Goc.AppearanceHeader.Options.UseTextOptions = true;
     this.colChung_Tu_Goc.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colChung_Tu_Goc.Caption = "Chứng Từ Gốc";
     this.colChung_Tu_Goc.FieldName = "Chung_Tu_Goc";
     this.colChung_Tu_Goc.Name = "colChung_Tu_Goc";
     this.colChung_Tu_Goc.OptionsColumn.ReadOnly = true;
     this.colChung_Tu_Goc.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colChung_Tu_Goc.Visible = true;
     this.colChung_Tu_Goc.Width = 91;
     //
     // colGhi_Chu
     //
     this.colGhi_Chu.AppearanceHeader.Options.UseTextOptions = true;
     this.colGhi_Chu.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colGhi_Chu.Caption = "Ghi Chú";
     this.colGhi_Chu.FieldName = "Ghi_Chu";
     this.colGhi_Chu.Name = "colGhi_Chu";
     this.colGhi_Chu.OptionsColumn.ReadOnly = true;
     this.colGhi_Chu.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colGhi_Chu.Visible = true;
     this.colGhi_Chu.Width = 173;
     //
     // colLai_Suat_Ngay
     //
     this.colLai_Suat_Ngay.AppearanceHeader.Options.UseTextOptions = true;
     this.colLai_Suat_Ngay.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colLai_Suat_Ngay.Caption = "Lãi Suất Ngày";
     this.colLai_Suat_Ngay.ColumnEdit = this.rptMayTinhPhanTram;
     this.colLai_Suat_Ngay.FieldName = "Lai_Suat_Ngay";
     this.colLai_Suat_Ngay.Name = "colLai_Suat_Ngay";
     this.colLai_Suat_Ngay.OptionsColumn.ReadOnly = true;
     this.colLai_Suat_Ngay.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colLai_Suat_Ngay.Visible = true;
     this.colLai_Suat_Ngay.Width = 88;
     //
     // rptMayTinhPhanTram
     //
     this.rptMayTinhPhanTram.AutoHeight = false;
     this.rptMayTinhPhanTram.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.rptMayTinhPhanTram.DisplayFormat.FormatString = "{0:##,##0.###} %";
     this.rptMayTinhPhanTram.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.rptMayTinhPhanTram.EditFormat.FormatString = "{0:##,##0.###} %";
     this.rptMayTinhPhanTram.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.rptMayTinhPhanTram.Name = "rptMayTinhPhanTram";
     //
     // colLai_Suat_Thang
     //
     this.colLai_Suat_Thang.AppearanceHeader.Options.UseTextOptions = true;
     this.colLai_Suat_Thang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colLai_Suat_Thang.Caption = "Lãi Suất Tháng";
     this.colLai_Suat_Thang.ColumnEdit = this.rptMayTinhPhanTram;
     this.colLai_Suat_Thang.FieldName = "Lai_Suat_Thang";
     this.colLai_Suat_Thang.Name = "colLai_Suat_Thang";
     this.colLai_Suat_Thang.OptionsColumn.ReadOnly = true;
     this.colLai_Suat_Thang.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colLai_Suat_Thang.Visible = true;
     this.colLai_Suat_Thang.Width = 93;
     //
     // colNgay_Cap_CMND
     //
     this.colNgay_Cap_CMND.AppearanceHeader.Options.UseTextOptions = true;
     this.colNgay_Cap_CMND.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colNgay_Cap_CMND.Caption = "Ngày Cấp";
     this.colNgay_Cap_CMND.FieldName = "Ngay_Cap_CMND";
     this.colNgay_Cap_CMND.Name = "colNgay_Cap_CMND";
     this.colNgay_Cap_CMND.OptionsColumn.ReadOnly = true;
     this.colNgay_Cap_CMND.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colNgay_Cap_CMND.Visible = true;
     //
     // colNoi_Cap
     //
     this.colNoi_Cap.AppearanceHeader.Options.UseTextOptions = true;
     this.colNoi_Cap.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colNoi_Cap.Caption = "Nơi Cấp";
     this.colNoi_Cap.FieldName = "Noi_Cap";
     this.colNoi_Cap.Name = "colNoi_Cap";
     this.colNoi_Cap.OptionsColumn.ReadOnly = true;
     this.colNoi_Cap.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colNoi_Cap.Visible = true;
     //
     // colNgay_Sinh
     //
     this.colNgay_Sinh.AppearanceHeader.Options.UseTextOptions = true;
     this.colNgay_Sinh.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colNgay_Sinh.Caption = "Ngày Sinh";
     this.colNgay_Sinh.FieldName = "Ngay_Sinh";
     this.colNgay_Sinh.Name = "colNgay_Sinh";
     this.colNgay_Sinh.OptionsColumn.ReadOnly = true;
     this.colNgay_Sinh.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colNgay_Sinh.Visible = true;
     //
     // colDia_Chi
     //
     this.colDia_Chi.AppearanceHeader.Options.UseTextOptions = true;
     this.colDia_Chi.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDia_Chi.Caption = "Địa Chỉ";
     this.colDia_Chi.FieldName = "Dia_Chi";
     this.colDia_Chi.Name = "colDia_Chi";
     this.colDia_Chi.OptionsColumn.ReadOnly = true;
     this.colDia_Chi.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colDia_Chi.Visible = true;
     //
     // colSo_Dien_Thoai
     //
     this.colSo_Dien_Thoai.AppearanceHeader.Options.UseTextOptions = true;
     this.colSo_Dien_Thoai.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSo_Dien_Thoai.Caption = "Số Điện Thoại";
     this.colSo_Dien_Thoai.FieldName = "So_Dien_Thoai";
     this.colSo_Dien_Thoai.Name = "colSo_Dien_Thoai";
     this.colSo_Dien_Thoai.OptionsColumn.ReadOnly = true;
     this.colSo_Dien_Thoai.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSo_Dien_Thoai.Visible = true;
     this.colSo_Dien_Thoai.Width = 112;
     //
     // colChu_Tiem
     //
     this.colChu_Tiem.AppearanceHeader.Options.UseTextOptions = true;
     this.colChu_Tiem.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colChu_Tiem.Caption = "Chủ Tiệm";
     this.colChu_Tiem.FieldName = "Chu_Tiem";
     this.colChu_Tiem.Name = "colChu_Tiem";
     this.colChu_Tiem.OptionsColumn.ReadOnly = true;
     this.colChu_Tiem.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colChu_Tiem.Visible = true;
     //
     // colTu_Ngay
     //
     this.colTu_Ngay.AppearanceHeader.Options.UseTextOptions = true;
     this.colTu_Ngay.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTu_Ngay.Caption = "Từ Ngày";
     this.colTu_Ngay.FieldName = "Tu_Ngay";
     this.colTu_Ngay.Name = "colTu_Ngay";
     this.colTu_Ngay.OptionsColumn.ReadOnly = true;
     this.colTu_Ngay.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colTu_Ngay.Visible = true;
     //
     // colDen_Ngay
     //
     this.colDen_Ngay.AppearanceHeader.Options.UseTextOptions = true;
     this.colDen_Ngay.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDen_Ngay.Caption = "Đến Ngày";
     this.colDen_Ngay.FieldName = "Den_Ngay";
     this.colDen_Ngay.Name = "colDen_Ngay";
     this.colDen_Ngay.OptionsColumn.ReadOnly = true;
     this.colDen_Ngay.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colDen_Ngay.Visible = true;
     //
     // colSo_Tien_Cam
     //
     this.colSo_Tien_Cam.AppearanceHeader.Options.UseTextOptions = true;
     this.colSo_Tien_Cam.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSo_Tien_Cam.Caption = "Số Tiền Cầm";
     this.colSo_Tien_Cam.ColumnEdit = this.rptMayTinh;
     this.colSo_Tien_Cam.FieldName = "So_Tien_Cam";
     this.colSo_Tien_Cam.Name = "colSo_Tien_Cam";
     this.colSo_Tien_Cam.OptionsColumn.ReadOnly = true;
     this.colSo_Tien_Cam.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSo_Tien_Cam.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "So_Tien_Cam", "{0:##,##0.###}")});
     this.colSo_Tien_Cam.Visible = true;
     this.colSo_Tien_Cam.Width = 125;
     //
     // colSo_Ngay_Cam
     //
     this.colSo_Ngay_Cam.AppearanceHeader.Options.UseTextOptions = true;
     this.colSo_Ngay_Cam.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSo_Ngay_Cam.Caption = "Số Ngày Cầm";
     this.colSo_Ngay_Cam.ColumnEdit = this.rptMayTinh;
     this.colSo_Ngay_Cam.FieldName = "So_Ngay_Cam";
     this.colSo_Ngay_Cam.Name = "colSo_Ngay_Cam";
     this.colSo_Ngay_Cam.OptionsColumn.ReadOnly = true;
     this.colSo_Ngay_Cam.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSo_Ngay_Cam.Visible = true;
     this.colSo_Ngay_Cam.Width = 86;
     //
     // colDa_Lam_Lai_Giay
     //
     this.colDa_Lam_Lai_Giay.AppearanceHeader.Options.UseTextOptions = true;
     this.colDa_Lam_Lai_Giay.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colDa_Lam_Lai_Giay.Caption = "Đã Làm Lại Giấy";
     this.colDa_Lam_Lai_Giay.FieldName = "Da_Lam_Lai_Giay";
     this.colDa_Lam_Lai_Giay.Name = "colDa_Lam_Lai_Giay";
     this.colDa_Lam_Lai_Giay.OptionsColumn.ReadOnly = true;
     this.colDa_Lam_Lai_Giay.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colDa_Lam_Lai_Giay.Visible = true;
     this.colDa_Lam_Lai_Giay.Width = 98;
     //
     // colMat_Giay
     //
     this.colMat_Giay.AppearanceHeader.Options.UseTextOptions = true;
     this.colMat_Giay.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colMat_Giay.Caption = "Mất Giấy";
     this.colMat_Giay.FieldName = "Mat_Giay";
     this.colMat_Giay.Name = "colMat_Giay";
     this.colMat_Giay.OptionsColumn.ReadOnly = true;
     this.colMat_Giay.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colMat_Giay.Visible = true;
     //
     // colSap_Xep
     //
     this.colSap_Xep.AppearanceHeader.Options.UseTextOptions = true;
     this.colSap_Xep.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSap_Xep.Caption = "Sắp Xếp";
     this.colSap_Xep.FieldName = "Sap_Xep";
     this.colSap_Xep.Name = "colSap_Xep";
     this.colSap_Xep.OptionsColumn.ReadOnly = true;
     this.colSap_Xep.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colSap_Xep.Visible = true;
     //
     // colTinh_Trang
     //
     this.colTinh_Trang.AppearanceHeader.Options.UseTextOptions = true;
     this.colTinh_Trang.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colTinh_Trang.FieldName = "Tinh_Trang";
     this.colTinh_Trang.Name = "colTinh_Trang";
     this.colTinh_Trang.OptionsColumn.ReadOnly = true;
     this.colTinh_Trang.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     //
     // bm
     //
     this.bm.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar2,
     this.bar1});
     this.bm.DockControls.Add(this.barDockControlTop);
     this.bm.DockControls.Add(this.barDockControlBottom);
     this.bm.DockControls.Add(this.barDockControlLeft);
     this.bm.DockControls.Add(this.barDockControlRight);
     this.bm.Form = this;
     this.bm.Images = this.img;
     this.bm.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.bbiSua,
     this.bbiXoa,
     this.bbiDong,
     this.barButtonItem1,
     this.bbiChuocDo,
     this.bbiTraTienLoi,
     this.bbiKhachTraBotTien,
     this.bbiKhachLayThemTien,
     this.bbiTheoDoi,
     this.bbiXuatExcel,
     this.bbiInPhieu,
     this.bbiLapGiayMoi,
     this.bbiTuyChon,
     this.bbiTu,
     this.bbiDen,
     this.bbiTheoNgay});
     this.bm.LargeImages = this.img;
     this.bm.MainMenu = this.bar2;
     this.bm.MaxItemId = 19;
     this.bm.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.rpt_cbTuyChon,
     this.rtp_dtTu,
     this.rpt_dtDen,
     this.rpt_cbTheoNgay});
     //
     // bar2
     //
     this.bar2.BarName = "Main menu";
     this.bar2.DockCol = 0;
     this.bar2.DockRow = 1;
     this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiInPhieu),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiSua),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiXoa),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiTheoDoi),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiXuatExcel),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiDong)});
     this.bar2.OptionsBar.MultiLine = true;
     this.bar2.OptionsBar.UseWholeRow = true;
     this.bar2.Text = "Main menu";
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "Xem";
     this.barButtonItem1.Id = 5;
     this.barButtonItem1.ImageIndex = 35;
     this.barButtonItem1.Name = "barButtonItem1";
     this.barButtonItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiXem_ItemClick);
     //
     // bbiInPhieu
     //
     this.bbiInPhieu.Caption = "In Phiếu";
     this.bbiInPhieu.Id = 13;
     this.bbiInPhieu.ImageIndex = 46;
     this.bbiInPhieu.Name = "bbiInPhieu";
     this.bbiInPhieu.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiInPhieu.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiInPhieu_ItemClick);
     //
     // bbiSua
     //
     this.bbiSua.Caption = "Sửa";
     this.bbiSua.Id = 1;
     this.bbiSua.ImageIndex = 29;
     this.bbiSua.Name = "bbiSua";
     this.bbiSua.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiSua.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiSua_ItemClick);
     //
     // bbiXoa
     //
     this.bbiXoa.Caption = "Xóa";
     this.bbiXoa.Id = 2;
     this.bbiXoa.ImageIndex = 16;
     this.bbiXoa.Name = "bbiXoa";
     this.bbiXoa.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiXoa.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiXoa_ItemClick);
     //
     // bbiTheoDoi
     //
     this.bbiTheoDoi.Caption = "Theo Dõi";
     this.bbiTheoDoi.Id = 11;
     this.bbiTheoDoi.ImageIndex = 44;
     this.bbiTheoDoi.Name = "bbiTheoDoi";
     this.bbiTheoDoi.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiTheoDoi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiTheoDoi_ItemClick);
     //
     // bbiXuatExcel
     //
     this.bbiXuatExcel.Caption = "Xuất Excel";
     this.bbiXuatExcel.Id = 12;
     this.bbiXuatExcel.ImageIndex = 54;
     this.bbiXuatExcel.Name = "bbiXuatExcel";
     this.bbiXuatExcel.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiXuatExcel.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiXuatExcel_ItemClick);
     //
     // bbiDong
     //
     this.bbiDong.Caption = "Đóng";
     this.bbiDong.Id = 3;
     this.bbiDong.ImageIndex = 10;
     this.bbiDong.Name = "bbiDong";
     this.bbiDong.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiDong.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiDong_ItemClick);
     //
     // bar1
     //
     this.bar1.BarName = "Custom 2";
     this.bar1.DockCol = 0;
     this.bar1.DockRow = 0;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiChuocDo),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiTraTienLoi),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiKhachTraBotTien),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiKhachLayThemTien),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiLapGiayMoi)});
     this.bar1.OptionsBar.UseWholeRow = true;
     this.bar1.Text = "Custom 2";
     //
     // bbiChuocDo
     //
     this.bbiChuocDo.Caption = "Chuộc Đồ";
     this.bbiChuocDo.Id = 7;
     this.bbiChuocDo.ImageIndex = 15;
     this.bbiChuocDo.Name = "bbiChuocDo";
     this.bbiChuocDo.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiChuocDo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiChuocDo_ItemClick);
     //
     // bbiTraTienLoi
     //
     this.bbiTraTienLoi.Caption = "Trả Tiền Lời";
     this.bbiTraTienLoi.Id = 8;
     this.bbiTraTienLoi.ImageIndex = 7;
     this.bbiTraTienLoi.Name = "bbiTraTienLoi";
     this.bbiTraTienLoi.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiTraTienLoi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiTraTienLoi_ItemClick);
     //
     // bbiKhachTraBotTien
     //
     this.bbiKhachTraBotTien.Caption = "Khách Trả Bớt Tiền";
     this.bbiKhachTraBotTien.Id = 9;
     this.bbiKhachTraBotTien.ImageIndex = 18;
     this.bbiKhachTraBotTien.Name = "bbiKhachTraBotTien";
     this.bbiKhachTraBotTien.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiKhachTraBotTien.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiKhachTraBotTien_ItemClick);
     //
     // bbiKhachLayThemTien
     //
     this.bbiKhachLayThemTien.Caption = "Khách Lấy Thêm Tiền";
     this.bbiKhachLayThemTien.Id = 10;
     this.bbiKhachLayThemTien.ImageIndex = 49;
     this.bbiKhachLayThemTien.Name = "bbiKhachLayThemTien";
     this.bbiKhachLayThemTien.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiKhachLayThemTien.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiKhachLayThemTien_ItemClick);
     //
     // bbiLapGiayMoi
     //
     this.bbiLapGiayMoi.Caption = "Lập Giấy Mới";
     this.bbiLapGiayMoi.Id = 14;
     this.bbiLapGiayMoi.ImageIndex = 34;
     this.bbiLapGiayMoi.Name = "bbiLapGiayMoi";
     this.bbiLapGiayMoi.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.bbiLapGiayMoi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiLapGiayMoi_ItemClick);
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(1284, 55);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 636);
     this.barDockControlBottom.Size = new System.Drawing.Size(1284, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 55);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 581);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(1284, 55);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 581);
     //
     // img
     //
     this.img.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("img.ImageStream")));
     this.img.Images.SetKeyName(0, "abort.png");
     this.img.Images.SetKeyName(1, "about.png");
     this.img.Images.SetKeyName(2, "accept.png");
     this.img.Images.SetKeyName(3, "add.png");
     this.img.Images.SetKeyName(4, "application.png");
     this.img.Images.SetKeyName(5, "apply.png");
     this.img.Images.SetKeyName(6, "attention.png");
     this.img.Images.SetKeyName(7, "back.png");
     this.img.Images.SetKeyName(8, "cancel.png");
     this.img.Images.SetKeyName(9, "circulation.png");
     this.img.Images.SetKeyName(10, "close.png");
     this.img.Images.SetKeyName(11, "create.png");
     this.img.Images.SetKeyName(12, "cut.png");
     this.img.Images.SetKeyName(13, "danger.png");
     this.img.Images.SetKeyName(14, "delete.png");
     this.img.Images.SetKeyName(15, "down.png");
     this.img.Images.SetKeyName(16, "erase.png");
     this.img.Images.SetKeyName(17, "error.png");
     this.img.Images.SetKeyName(18, "forward.png");
     this.img.Images.SetKeyName(19, "help.png");
     this.img.Images.SetKeyName(20, "info.png");
     this.img.Images.SetKeyName(21, "information.png");
     this.img.Images.SetKeyName(22, "logout.png");
     this.img.Images.SetKeyName(23, "minus.png");
     this.img.Images.SetKeyName(24, "move.png");
     this.img.Images.SetKeyName(25, "next.png");
     this.img.Images.SetKeyName(26, "no entry.png");
     this.img.Images.SetKeyName(27, "no.png");
     this.img.Images.SetKeyName(28, "OK.png");
     this.img.Images.SetKeyName(29, "options.png");
     this.img.Images.SetKeyName(30, "plus.png");
     this.img.Images.SetKeyName(31, "previous.png");
     this.img.Images.SetKeyName(32, "problem.png");
     this.img.Images.SetKeyName(33, "question.png");
     this.img.Images.SetKeyName(34, "redo.png");
     this.img.Images.SetKeyName(35, "refresh.png");
     this.img.Images.SetKeyName(36, "remove.png");
     this.img.Images.SetKeyName(37, "renew.png");
     this.img.Images.SetKeyName(38, "repeat.png");
     this.img.Images.SetKeyName(39, "run.png");
     this.img.Images.SetKeyName(40, "save.png");
     this.img.Images.SetKeyName(41, "search.png");
     this.img.Images.SetKeyName(42, "settings.png");
     this.img.Images.SetKeyName(43, "stop.png");
     this.img.Images.SetKeyName(44, "switch.png");
     this.img.Images.SetKeyName(45, "sync.png");
     this.img.Images.SetKeyName(46, "system.png");
     this.img.Images.SetKeyName(47, "turn off.png");
     this.img.Images.SetKeyName(48, "undo.png");
     this.img.Images.SetKeyName(49, "up.png");
     this.img.Images.SetKeyName(50, "update.png");
     this.img.Images.SetKeyName(51, "view.png");
     this.img.Images.SetKeyName(52, "warning.png");
     this.img.Images.SetKeyName(53, "yes.png");
     this.img.Images.SetKeyName(54, "Excel-icon.png");
     //
     // bbiTuyChon
     //
     this.bbiTuyChon.Caption = "Tùy chọn";
     this.bbiTuyChon.Edit = this.rpt_cbTuyChon;
     this.bbiTuyChon.EditValue = "";
     this.bbiTuyChon.Id = 15;
     this.bbiTuyChon.Name = "bbiTuyChon";
     this.bbiTuyChon.Width = 111;
     //
     // rpt_cbTuyChon
     //
     this.rpt_cbTuyChon.AutoHeight = false;
     this.rpt_cbTuyChon.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.rpt_cbTuyChon.Items.AddRange(new object[] {
     "Tùy chọn",
     "Tất cả",
     "Tháng 1",
     "Tháng 2",
     "Tháng 3",
     "Tháng 4",
     "Tháng 5",
     "Tháng 6",
     "Tháng 7",
     "Tháng 8",
     "Tháng 9",
     "Tháng 10",
     "Tháng 11",
     "Tháng 12"});
     this.rpt_cbTuyChon.Name = "rpt_cbTuyChon";
     //
     // bbiTu
     //
     this.bbiTu.Caption = "Từ";
     this.bbiTu.Edit = this.rtp_dtTu;
     this.bbiTu.EditValue = new System.DateTime(2015, 2, 27, 21, 3, 23, 134);
     this.bbiTu.Id = 16;
     this.bbiTu.Name = "bbiTu";
     this.bbiTu.Width = 91;
     //
     // rtp_dtTu
     //
     this.rtp_dtTu.AutoHeight = false;
     this.rtp_dtTu.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.rtp_dtTu.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.rtp_dtTu.Name = "rtp_dtTu";
     //
     // bbiDen
     //
     this.bbiDen.Caption = "Đến";
     this.bbiDen.Edit = this.rpt_dtDen;
     this.bbiDen.EditValue = new System.DateTime(2015, 2, 27, 21, 3, 14, 608);
     this.bbiDen.Id = 17;
     this.bbiDen.Name = "bbiDen";
     this.bbiDen.Width = 98;
     //
     // rpt_dtDen
     //
     this.rpt_dtDen.AutoHeight = false;
     this.rpt_dtDen.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.rpt_dtDen.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.rpt_dtDen.Name = "rpt_dtDen";
     //
     // bbiTheoNgay
     //
     this.bbiTheoNgay.Caption = "Theo Ngày";
     this.bbiTheoNgay.Edit = this.rpt_cbTheoNgay;
     this.bbiTheoNgay.EditValue = "";
     this.bbiTheoNgay.Id = 18;
     this.bbiTheoNgay.Name = "bbiTheoNgay";
     this.bbiTheoNgay.Width = 89;
     //
     // rpt_cbTheoNgay
     //
     this.rpt_cbTheoNgay.AutoHeight = false;
     this.rpt_cbTheoNgay.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.rpt_cbTheoNgay.Items.AddRange(new object[] {
     "Ngày ghi sổ",
     "Ngày cầm đồ"});
     this.rpt_cbTheoNgay.Name = "rpt_cbTheoNgay";
     this.rpt_cbTheoNgay.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.cbTatCa);
     this.layoutControl1.Controls.Add(this.layoutControl2);
     this.layoutControl1.Controls.Add(this.txtDen);
     this.layoutControl1.Controls.Add(this.txtTu);
     this.layoutControl1.Controls.Add(this.cbTuyChon);
     this.layoutControl1.Controls.Add(this.gcList);
     this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(0, 55);
     this.layoutControl1.Name = "layoutControl1";
     this.layoutControl1.Root = this.layoutControlGroup1;
     this.layoutControl1.Size = new System.Drawing.Size(1284, 581);
     this.layoutControl1.TabIndex = 5;
     this.layoutControl1.Text = "layoutControl1";
     //
     // cbTatCa
     //
     this.cbTatCa.Location = new System.Drawing.Point(2, 560);
     this.cbTatCa.MenuManager = this.bm;
     this.cbTatCa.Name = "cbTatCa";
     this.cbTatCa.Properties.Caption = "Xem tất cả các phiếu đã chuộc";
     this.cbTatCa.Size = new System.Drawing.Size(1280, 19);
     this.cbTatCa.StyleController = this.layoutControl1;
     this.cbTatCa.TabIndex = 9;
     this.cbTatCa.CheckedChanged += new System.EventHandler(this.cbTatCa_CheckedChanged);
     //
     // layoutControl2
     //
     this.layoutControl2.Location = new System.Drawing.Point(542, 2);
     this.layoutControl2.Name = "layoutControl2";
     this.layoutControl2.Root = this.layoutControlGroup2;
     this.layoutControl2.Size = new System.Drawing.Size(740, 20);
     this.layoutControl2.TabIndex = 8;
     this.layoutControl2.Text = "layoutControl2";
     //
     // layoutControlGroup2
     //
     this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2";
     this.layoutControlGroup2.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup2.GroupBordersVisible = false;
     this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0);
     this.layoutControlGroup2.Name = "layoutControlGroup2";
     this.layoutControlGroup2.Size = new System.Drawing.Size(740, 20);
     this.layoutControlGroup2.Text = "layoutControlGroup2";
     this.layoutControlGroup2.TextVisible = false;
     //
     // txtDen
     //
     this.txtDen.EditValue = null;
     this.txtDen.Location = new System.Drawing.Point(397, 2);
     this.txtDen.MenuManager = this.bm;
     this.txtDen.Name = "txtDen";
     this.txtDen.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txtDen.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.txtDen.Properties.DisplayFormat.FormatString = "{0:dd/MM/yyyy}";
     this.txtDen.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.txtDen.Properties.EditFormat.FormatString = "{0:dd/MM/yyyy}";
     this.txtDen.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.txtDen.Size = new System.Drawing.Size(141, 20);
     this.txtDen.StyleController = this.layoutControl1;
     this.txtDen.TabIndex = 7;
     //
     // txtTu
     //
     this.txtTu.EditValue = null;
     this.txtTu.Location = new System.Drawing.Point(217, 2);
     this.txtTu.MenuManager = this.bm;
     this.txtTu.Name = "txtTu";
     this.txtTu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.txtTu.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.txtTu.Properties.DisplayFormat.FormatString = "{0:dd/MM/yyyy}";
     this.txtTu.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.txtTu.Properties.EditFormat.FormatString = "{0:dd/MM/yyyy}";
     this.txtTu.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom;
     this.txtTu.Size = new System.Drawing.Size(141, 20);
     this.txtTu.StyleController = this.layoutControl1;
     this.txtTu.TabIndex = 6;
     //
     // cbTuyChon
     //
     this.cbTuyChon.EditValue = "Tùy chọn";
     this.cbTuyChon.Location = new System.Drawing.Point(57, 2);
     this.cbTuyChon.MenuManager = this.bm;
     this.cbTuyChon.Name = "cbTuyChon";
     this.cbTuyChon.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.cbTuyChon.Properties.Items.AddRange(new object[] {
     "Tùy chọn",
     "Tất cả",
     "Tháng 1",
     "Tháng 2",
     "Tháng 3",
     "Tháng 4",
     "Tháng 5",
     "Tháng 6",
     "Tháng 7",
     "Tháng 8",
     "Tháng 9",
     "Tháng 10",
     "Tháng 11",
     "Tháng 12"});
     this.cbTuyChon.Size = new System.Drawing.Size(121, 20);
     this.cbTuyChon.StyleController = this.layoutControl1;
     this.cbTuyChon.TabIndex = 5;
     this.cbTuyChon.SelectedIndexChanged += new System.EventHandler(this.cbTuyChon_SelectedIndexChanged);
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1";
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutControlItem1,
     this.layoutControlItem2,
     this.layoutControlItem3,
     this.layoutControlItem4,
     this.layoutControlItem5,
     this.layoutControlItem6});
     this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name = "layoutControlGroup1";
     this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.layoutControlGroup1.Size = new System.Drawing.Size(1284, 581);
     this.layoutControlGroup1.Text = "layoutControlGroup1";
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control = this.gcList;
     this.layoutControlItem1.CustomizationFormText = "layoutControlItem1";
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 24);
     this.layoutControlItem1.Name = "layoutControlItem1";
     this.layoutControlItem1.Size = new System.Drawing.Size(1284, 534);
     this.layoutControlItem1.Text = "layoutControlItem1";
     this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem1.TextToControlDistance = 0;
     this.layoutControlItem1.TextVisible = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control = this.cbTuyChon;
     this.layoutControlItem2.CustomizationFormText = "Tùy Chọn";
     this.layoutControlItem2.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem2.MaxSize = new System.Drawing.Size(180, 24);
     this.layoutControlItem2.MinSize = new System.Drawing.Size(150, 24);
     this.layoutControlItem2.Name = "layoutControlItem2";
     this.layoutControlItem2.Size = new System.Drawing.Size(180, 24);
     this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem2.Text = "Tùy Chọn";
     this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize;
     this.layoutControlItem2.TextSize = new System.Drawing.Size(50, 13);
     this.layoutControlItem2.TextToControlDistance = 5;
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control = this.txtTu;
     this.layoutControlItem3.CustomizationFormText = "Từ";
     this.layoutControlItem3.Location = new System.Drawing.Point(180, 0);
     this.layoutControlItem3.MaxSize = new System.Drawing.Size(180, 24);
     this.layoutControlItem3.MinSize = new System.Drawing.Size(150, 24);
     this.layoutControlItem3.Name = "layoutControlItem3";
     this.layoutControlItem3.Size = new System.Drawing.Size(180, 24);
     this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem3.Text = "Từ";
     this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize;
     this.layoutControlItem3.TextSize = new System.Drawing.Size(30, 13);
     this.layoutControlItem3.TextToControlDistance = 5;
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control = this.txtDen;
     this.layoutControlItem4.CustomizationFormText = "Đến";
     this.layoutControlItem4.Location = new System.Drawing.Point(360, 0);
     this.layoutControlItem4.MaxSize = new System.Drawing.Size(180, 24);
     this.layoutControlItem4.MinSize = new System.Drawing.Size(150, 24);
     this.layoutControlItem4.Name = "layoutControlItem4";
     this.layoutControlItem4.Size = new System.Drawing.Size(180, 24);
     this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem4.Text = "Đến";
     this.layoutControlItem4.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize;
     this.layoutControlItem4.TextSize = new System.Drawing.Size(30, 13);
     this.layoutControlItem4.TextToControlDistance = 5;
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control = this.layoutControl2;
     this.layoutControlItem5.CustomizationFormText = "layoutControlItem5";
     this.layoutControlItem5.Location = new System.Drawing.Point(540, 0);
     this.layoutControlItem5.Name = "layoutControlItem5";
     this.layoutControlItem5.Size = new System.Drawing.Size(744, 24);
     this.layoutControlItem5.Text = "layoutControlItem5";
     this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem5.TextToControlDistance = 0;
     this.layoutControlItem5.TextVisible = false;
     //
     // layoutControlItem6
     //
     this.layoutControlItem6.Control = this.cbTatCa;
     this.layoutControlItem6.CustomizationFormText = "layoutControlItem6";
     this.layoutControlItem6.Location = new System.Drawing.Point(0, 558);
     this.layoutControlItem6.Name = "layoutControlItem6";
     this.layoutControlItem6.Size = new System.Drawing.Size(1284, 23);
     this.layoutControlItem6.Text = "layoutControlItem6";
     this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0);
     this.layoutControlItem6.TextToControlDistance = 0;
     this.layoutControlItem6.TextVisible = false;
     //
     // cHUNG_TU_Theo_NgayTableAdapter
     //
     this.cHUNG_TU_Theo_NgayTableAdapter.ClearBeforeFill = true;
     //
     // cHUNGTUCHITIETTheoNgayBindingSource
     //
     this.cHUNGTUCHITIETTheoNgayBindingSource.DataMember = "CHUNG_TU_CHI_TIET_Theo_Ngay";
     this.cHUNGTUCHITIETTheoNgayBindingSource.DataSource = this.dsCamDo;
     //
     // cHUNG_TU_CHI_TIET_Theo_NgayTableAdapter
     //
     this.cHUNG_TU_CHI_TIET_Theo_NgayTableAdapter.ClearBeforeFill = true;
     //
     // ucDanhSach
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.layoutControl1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "ucDanhSach";
     this.Size = new System.Drawing.Size(1284, 636);
     ((System.ComponentModel.ISupportInitialize)(this.gbChild_List)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rptMayTinh)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cHUNGTUTheoNgayBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCamDo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gbList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rptMayTinhPhanTram)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bm)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.img)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rpt_cbTuyChon)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rtp_dtTu.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rtp_dtTu)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rpt_dtDen.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rpt_dtDen)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rpt_cbTheoNgay)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbTatCa.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtDen.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtDen.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTu.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtTu.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cbTuyChon.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cHUNGTUCHITIETTheoNgayBindingSource)).EndInit();
     this.ResumeLayout(false);
 }