コード例 #1
0
 private void EstablecerReglasDeColorParaLaConsulta()
 {
     try
     {
         if (Configuraciones.Count < 0)
         {
             return;
         }
         foreach (var configuracion in Configuraciones)
         {
             DevExpress.XtraGrid.GridFormatRule regla = new DevExpress.XtraGrid.GridFormatRule();
             regla.ApplyToRow = true;
             regla.Name       = configuracion.PARAM_NAME;
             DevExpress.XtraEditors.FormatConditionRuleExpression expressionRegla = new DevExpress.XtraEditors.FormatConditionRuleExpression();
             expressionRegla.Appearance.BackColor            = Color.FromArgb(int.Parse(configuracion.COLOR));
             expressionRegla.Appearance.BackColor2           = Color.FromArgb(int.Parse(configuracion.COLOR));
             expressionRegla.Appearance.Options.UseBackColor = true;
             expressionRegla.Expression = $"[IDLE] >= {configuracion.RANGE_NUM_START} And [IDLE] <={configuracion.RANGE_NUM_END}";
             regla.Rule = expressionRegla;
             UiVistaInventarioInactivo.FormatRules.Add(regla);
         }
     }
     catch (Exception ex)
     {
         InteraccionConUsuarioServicio.Mensaje(ex.Message);
     }
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     System.ComponentModel.ComponentResourceManager       resources = new System.ComponentModel.ComponentResourceManager(typeof(frmBaoCaoSanXuatMoiNgay));
     this.grcBaoCaoNgay                     = new DevExpress.XtraGrid.GridControl();
     this.grBaoCaoNgay                      = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn1                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn17                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn9                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn10                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn11                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn12                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn13                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn14                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn15                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn16                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn18                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn19                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn20                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn21                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCalcEdit4           = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.repositoryItemCalcEdit5           = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.repositoryItemCalcEdit6           = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.repositoryItemFontEdit2           = new DevExpress.XtraEditors.Repository.RepositoryItemFontEdit();
     this.repositoryItemMemoEdit1           = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
     this.repositoryItemMemoEdit2           = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
     this.repositoryItemMarqueeProgressBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemMarqueeProgressBar();
     this.repositoryItemMemoEdit3           = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
     this.panelControl1                     = new DevExpress.XtraEditors.PanelControl();
     this.btnTaoMoi                  = new DevExpress.XtraEditors.SimpleButton();
     this.lbUser                     = new System.Windows.Forms.Label();
     this.btnXoa                     = new DevExpress.XtraEditors.SimpleButton();
     this.btnSua                     = new DevExpress.XtraEditors.SimpleButton();
     this.btnGhi                     = new DevExpress.XtraEditors.SimpleButton();
     this.layoutControl1             = new DevExpress.XtraLayout.LayoutControl();
     this.btnTraCuuSanLuongHoanThanh = new DevExpress.XtraEditors.SimpleButton();
     this.btnExport                  = new DevExpress.XtraEditors.SimpleButton();
     this.dpDen = new System.Windows.Forms.DateTimePicker();
     this.dpTu  = new System.Windows.Forms.DateTimePicker();
     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();
     ((System.ComponentModel.ISupportInitialize)(this.grcBaoCaoNgay)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grBaoCaoNgay)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemFontEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMarqueeProgressBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((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();
     this.SuspendLayout();
     //
     // grcBaoCaoNgay
     //
     this.grcBaoCaoNgay.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.grcBaoCaoNgay.Font     = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grcBaoCaoNgay.Location = new System.Drawing.Point(0, 30);
     this.grcBaoCaoNgay.MainView = this.grBaoCaoNgay;
     this.grcBaoCaoNgay.Name     = "grcBaoCaoNgay";
     this.grcBaoCaoNgay.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemCalcEdit4,
         this.repositoryItemCalcEdit5,
         this.repositoryItemCalcEdit6,
         this.repositoryItemFontEdit2,
         this.repositoryItemMemoEdit1,
         this.repositoryItemMemoEdit2,
         this.repositoryItemMarqueeProgressBar1,
         this.repositoryItemMemoEdit3
     });
     this.grcBaoCaoNgay.Size                 = new System.Drawing.Size(1370, 455);
     this.grcBaoCaoNgay.TabIndex             = 1039;
     this.grcBaoCaoNgay.UseEmbeddedNavigator = true;
     this.grcBaoCaoNgay.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.grBaoCaoNgay
     });
     this.grcBaoCaoNgay.MouseMove += new System.Windows.Forms.MouseEventHandler(this.grcBaoCaoNgay_MouseMove);
     //
     // grBaoCaoNgay
     //
     this.grBaoCaoNgay.Appearance.Row.Options.UseTextOptions = true;
     this.grBaoCaoNgay.Appearance.Row.TextOptions.WordWrap   = DevExpress.Utils.WordWrap.Wrap;
     this.grBaoCaoNgay.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn17,
         this.gridColumn7,
         this.gridColumn8,
         this.gridColumn9,
         this.gridColumn10,
         this.gridColumn11,
         this.gridColumn12,
         this.gridColumn13,
         this.gridColumn14,
         this.gridColumn15,
         this.gridColumn16,
         this.gridColumn18,
         this.gridColumn19,
         this.gridColumn20,
         this.gridColumn21
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Format0";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.Color.GreenYellow;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "[SOLUONGTP] >= [soluongsx]";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.grBaoCaoNgay.FormatRules.Add(gridFormatRule1);
     this.grBaoCaoNgay.GridControl = this.grcBaoCaoNgay;
     this.grBaoCaoNgay.Name        = "grBaoCaoNgay";
     this.grBaoCaoNgay.OptionsSelection.MultiSelect   = true;
     this.grBaoCaoNgay.OptionsView.ColumnAutoWidth    = false;
     this.grBaoCaoNgay.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.grBaoCaoNgay.OptionsView.RowAutoHeight      = true;
     this.grBaoCaoNgay.OptionsView.ShowAutoFilterRow  = true;
     this.grBaoCaoNgay.OptionsView.ShowFooter         = true;
     this.grBaoCaoNgay.OptionsView.ShowGroupPanel     = false;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption      = "ID";
     this.gridColumn1.Name         = "gridColumn1";
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 16;
     this.gridColumn1.Width        = 21;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption      = "Ngày sản xuất";
     this.gridColumn2.FieldName    = "NgaySanXuat";
     this.gridColumn2.Name         = "gridColumn2";
     this.gridColumn2.Visible      = true;
     this.gridColumn2.VisibleIndex = 0;
     this.gridColumn2.Width        = 81;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption      = "Mã đơn hàng";
     this.gridColumn3.FieldName    = "MaDonHang";
     this.gridColumn3.Name         = "gridColumn3";
     this.gridColumn3.Visible      = true;
     this.gridColumn3.VisibleIndex = 1;
     this.gridColumn3.Width        = 168;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption      = "Mã sản phẩm";
     this.gridColumn4.FieldName    = "MaSanPham";
     this.gridColumn4.Name         = "gridColumn4";
     this.gridColumn4.Visible      = true;
     this.gridColumn4.VisibleIndex = 2;
     this.gridColumn4.Width        = 112;
     //
     // gridColumn5
     //
     this.gridColumn5.Caption      = "Tên sản phẩm";
     this.gridColumn5.FieldName    = "TenSanPham";
     this.gridColumn5.Name         = "gridColumn5";
     this.gridColumn5.Visible      = true;
     this.gridColumn5.VisibleIndex = 3;
     this.gridColumn5.Width        = 225;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption   = "Kê hoạch";
     this.gridColumn6.FieldName = "KeHoach";
     this.gridColumn6.Name      = "gridColumn6";
     this.gridColumn6.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "KeHoach", "{0:#,#}")
     });
     this.gridColumn6.Visible      = true;
     this.gridColumn6.VisibleIndex = 4;
     this.gridColumn6.Width        = 91;
     //
     // gridColumn17
     //
     this.gridColumn17.Caption   = "Kết quả";
     this.gridColumn17.FieldName = "KetQua";
     this.gridColumn17.Name      = "gridColumn17";
     this.gridColumn17.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "KetQua", "{0:#,#}")
     });
     this.gridColumn17.Visible      = true;
     this.gridColumn17.VisibleIndex = 6;
     //
     // gridColumn7
     //
     this.gridColumn7.Caption      = "Công suất/1 giờ";
     this.gridColumn7.FieldName    = "CongSuatTrenGio";
     this.gridColumn7.Name         = "gridColumn7";
     this.gridColumn7.Visible      = true;
     this.gridColumn7.VisibleIndex = 5;
     this.gridColumn7.Width        = 88;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption      = "Thời gian hoàn thành";
     this.gridColumn8.FieldName    = "ThoiGianHoanThanh";
     this.gridColumn8.Name         = "gridColumn8";
     this.gridColumn8.Visible      = true;
     this.gridColumn8.VisibleIndex = 7;
     this.gridColumn8.Width        = 82;
     //
     // gridColumn9
     //
     this.gridColumn9.Caption      = "Rớt kế hoạch";
     this.gridColumn9.FieldName    = "RotKeHoach";
     this.gridColumn9.Name         = "gridColumn9";
     this.gridColumn9.Visible      = true;
     this.gridColumn9.VisibleIndex = 8;
     //
     // gridColumn10
     //
     this.gridColumn10.Caption   = "Đã giao";
     this.gridColumn10.FieldName = "DaGiao";
     this.gridColumn10.Name      = "gridColumn10";
     this.gridColumn10.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "DaGiao", "{0:#,#}")
     });
     this.gridColumn10.Visible      = true;
     this.gridColumn10.VisibleIndex = 9;
     this.gridColumn10.Width        = 60;
     //
     // gridColumn11
     //
     this.gridColumn11.Caption   = "Tồn kho";
     this.gridColumn11.FieldName = "TonKho";
     this.gridColumn11.Name      = "gridColumn11";
     this.gridColumn11.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "TonKho", "{0:0.##}")
     });
     this.gridColumn11.Visible      = true;
     this.gridColumn11.VisibleIndex = 10;
     //
     // gridColumn12
     //
     this.gridColumn12.Caption   = "Người giao";
     this.gridColumn12.FieldName = "NguoiGiao";
     this.gridColumn12.Name      = "gridColumn12";
     this.gridColumn12.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "NguoiGiao", "{0:#,#}")
     });
     this.gridColumn12.Visible      = true;
     this.gridColumn12.VisibleIndex = 11;
     //
     // gridColumn13
     //
     this.gridColumn13.Caption      = "Người nhận";
     this.gridColumn13.FieldName    = "NguoiNhan";
     this.gridColumn13.Name         = "gridColumn13";
     this.gridColumn13.Visible      = true;
     this.gridColumn13.VisibleIndex = 12;
     //
     // gridColumn14
     //
     this.gridColumn14.Caption   = "Số lượng công nhân";
     this.gridColumn14.FieldName = "SoLuongCongNhan";
     this.gridColumn14.Name      = "gridColumn14";
     this.gridColumn14.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "SoLuongCongNhan", "{0:#,#}")
     });
     this.gridColumn14.Visible      = true;
     this.gridColumn14.VisibleIndex = 13;
     //
     // gridColumn15
     //
     this.gridColumn15.Caption      = "Tổ trưởng";
     this.gridColumn15.FieldName    = "ToTruong";
     this.gridColumn15.Name         = "gridColumn15";
     this.gridColumn15.Visible      = true;
     this.gridColumn15.VisibleIndex = 14;
     //
     // gridColumn16
     //
     this.gridColumn16.Caption      = "Ghi chú";
     this.gridColumn16.FieldName    = "GhiChu";
     this.gridColumn16.Name         = "gridColumn16";
     this.gridColumn16.Visible      = true;
     this.gridColumn16.VisibleIndex = 15;
     //
     // gridColumn18
     //
     this.gridColumn18.Caption      = "Người tạo";
     this.gridColumn18.FieldName    = "NguoiTao";
     this.gridColumn18.Name         = "gridColumn18";
     this.gridColumn18.Visible      = true;
     this.gridColumn18.VisibleIndex = 17;
     //
     // gridColumn19
     //
     this.gridColumn19.Caption      = "Ngày tạo";
     this.gridColumn19.FieldName    = "NgayTao";
     this.gridColumn19.Name         = "gridColumn19";
     this.gridColumn19.Visible      = true;
     this.gridColumn19.VisibleIndex = 18;
     //
     // gridColumn20
     //
     this.gridColumn20.Caption      = "Người sửa";
     this.gridColumn20.FieldName    = "NguoiSua";
     this.gridColumn20.Name         = "gridColumn20";
     this.gridColumn20.Visible      = true;
     this.gridColumn20.VisibleIndex = 19;
     //
     // gridColumn21
     //
     this.gridColumn21.Caption      = "Ngày sửa";
     this.gridColumn21.FieldName    = "NgaySua";
     this.gridColumn21.Name         = "gridColumn21";
     this.gridColumn21.Visible      = true;
     this.gridColumn21.VisibleIndex = 20;
     //
     // repositoryItemCalcEdit4
     //
     this.repositoryItemCalcEdit4.AutoHeight = false;
     this.repositoryItemCalcEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCalcEdit4.Name = "repositoryItemCalcEdit4";
     //
     // repositoryItemCalcEdit5
     //
     this.repositoryItemCalcEdit5.AutoHeight = false;
     this.repositoryItemCalcEdit5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCalcEdit5.Name = "repositoryItemCalcEdit5";
     //
     // repositoryItemCalcEdit6
     //
     this.repositoryItemCalcEdit6.AutoHeight = false;
     this.repositoryItemCalcEdit6.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCalcEdit6.Name = "repositoryItemCalcEdit6";
     //
     // repositoryItemFontEdit2
     //
     this.repositoryItemFontEdit2.AutoHeight = false;
     this.repositoryItemFontEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemFontEdit2.Name = "repositoryItemFontEdit2";
     //
     // repositoryItemMemoEdit1
     //
     this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1";
     //
     // repositoryItemMemoEdit2
     //
     this.repositoryItemMemoEdit2.Name = "repositoryItemMemoEdit2";
     //
     // repositoryItemMarqueeProgressBar1
     //
     this.repositoryItemMarqueeProgressBar1.Name = "repositoryItemMarqueeProgressBar1";
     //
     // repositoryItemMemoEdit3
     //
     this.repositoryItemMemoEdit3.Name = "repositoryItemMemoEdit3";
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.btnTaoMoi);
     this.panelControl1.Controls.Add(this.lbUser);
     this.panelControl1.Controls.Add(this.btnXoa);
     this.panelControl1.Controls.Add(this.btnSua);
     this.panelControl1.Controls.Add(this.btnGhi);
     this.panelControl1.Controls.Add(this.layoutControl1);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(1370, 30);
     this.panelControl1.TabIndex = 1103;
     //
     // btnTaoMoi
     //
     this.btnTaoMoi.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnTaoMoi.ImageOptions.Image")));
     this.btnTaoMoi.Location           = new System.Drawing.Point(406, 7);
     this.btnTaoMoi.Name     = "btnTaoMoi";
     this.btnTaoMoi.Size     = new System.Drawing.Size(65, 18);
     this.btnTaoMoi.TabIndex = 1104;
     this.btnTaoMoi.Text     = "Tạo mới";
     this.btnTaoMoi.Click   += new System.EventHandler(this.btnTaoMoi_Click);
     //
     // lbUser
     //
     this.lbUser.AutoSize = true;
     this.lbUser.Location = new System.Drawing.Point(1197, 9);
     this.lbUser.Name     = "lbUser";
     this.lbUser.Size     = new System.Drawing.Size(10, 13);
     this.lbUser.TabIndex = 1104;
     this.lbUser.Text     = " ";
     //
     // btnXoa
     //
     this.btnXoa.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnXoa.Appearance.Options.UseFont = true;
     this.btnXoa.Enabled            = false;
     this.btnXoa.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnXoa.ImageOptions.Image")));
     this.btnXoa.Location           = new System.Drawing.Point(583, 7);
     this.btnXoa.Name     = "btnXoa";
     this.btnXoa.Size     = new System.Drawing.Size(46, 18);
     this.btnXoa.TabIndex = 1110;
     this.btnXoa.Text     = "Xóa";
     this.btnXoa.Click   += new System.EventHandler(this.btnXoa_Click);
     //
     // btnSua
     //
     this.btnSua.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSua.Appearance.Options.UseFont = true;
     this.btnSua.Enabled            = false;
     this.btnSua.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSua.ImageOptions.Image")));
     this.btnSua.Location           = new System.Drawing.Point(528, 7);
     this.btnSua.Name     = "btnSua";
     this.btnSua.Size     = new System.Drawing.Size(49, 18);
     this.btnSua.TabIndex = 1109;
     this.btnSua.Text     = "Sửa";
     this.btnSua.Click   += new System.EventHandler(this.btnSua_Click);
     //
     // btnGhi
     //
     this.btnGhi.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnGhi.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnGhi.Appearance.Options.UseFont = true;
     this.btnGhi.Enabled                    = false;
     this.btnGhi.ImageOptions.Image         = ((System.Drawing.Image)(resources.GetObject("btnGhi.ImageOptions.Image")));
     this.btnGhi.Location                   = new System.Drawing.Point(477, 7);
     this.btnGhi.Name     = "btnGhi";
     this.btnGhi.Size     = new System.Drawing.Size(45, 18);
     this.btnGhi.TabIndex = 1108;
     this.btnGhi.TabStop  = false;
     this.btnGhi.Text     = "Ghi";
     this.btnGhi.Click   += new System.EventHandler(this.btnGhi_Click);
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.btnTraCuuSanLuongHoanThanh);
     this.layoutControl1.Controls.Add(this.btnExport);
     this.layoutControl1.Controls.Add(this.dpDen);
     this.layoutControl1.Controls.Add(this.dpTu);
     this.layoutControl1.Location = new System.Drawing.Point(1, 2);
     this.layoutControl1.Name     = "layoutControl1";
     this.layoutControl1.Root     = this.layoutControlGroup1;
     this.layoutControl1.Size     = new System.Drawing.Size(395, 27);
     this.layoutControl1.TabIndex = 1121;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // btnTraCuuSanLuongHoanThanh
     //
     this.btnTraCuuSanLuongHoanThanh.Appearance.ForeColor            = System.Drawing.Color.Green;
     this.btnTraCuuSanLuongHoanThanh.Appearance.Options.UseForeColor = true;
     this.btnTraCuuSanLuongHoanThanh.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnTraCuuSanLuongHoanThanh.ImageOptions.Image")));
     this.btnTraCuuSanLuongHoanThanh.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
     this.btnTraCuuSanLuongHoanThanh.Location        = new System.Drawing.Point(246, 2);
     this.btnTraCuuSanLuongHoanThanh.Name            = "btnTraCuuSanLuongHoanThanh";
     this.btnTraCuuSanLuongHoanThanh.Size            = new System.Drawing.Size(65, 22);
     this.btnTraCuuSanLuongHoanThanh.StyleController = this.layoutControl1;
     this.btnTraCuuSanLuongHoanThanh.TabIndex        = 1103;
     this.btnTraCuuSanLuongHoanThanh.Text            = "Tra cứu";
     this.btnTraCuuSanLuongHoanThanh.Click          += new System.EventHandler(this.btnTraCuuSanLuongHoanThanh_Click);
     //
     // btnExport
     //
     this.btnExport.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnExport.ImageOptions.Image")));
     this.btnExport.Location           = new System.Drawing.Point(315, 2);
     this.btnExport.Name            = "btnExport";
     this.btnExport.Size            = new System.Drawing.Size(78, 22);
     this.btnExport.StyleController = this.layoutControl1;
     this.btnExport.TabIndex        = 1121;
     this.btnExport.Text            = "Export";
     this.btnExport.Click          += new System.EventHandler(this.btnExport_Click);
     //
     // dpDen
     //
     this.dpDen.CalendarFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpDen.Font         = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpDen.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpDen.Location     = new System.Drawing.Point(149, 2);
     this.dpDen.Name         = "dpDen";
     this.dpDen.Size         = new System.Drawing.Size(93, 18);
     this.dpDen.TabIndex     = 1119;
     this.dpDen.TabStop      = false;
     //
     // dpTu
     //
     this.dpTu.CalendarFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpTu.Font         = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpTu.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpTu.Location     = new System.Drawing.Point(25, 2);
     this.dpTu.Name         = "dpTu";
     this.dpTu.Size         = new System.Drawing.Size(97, 18);
     this.dpTu.TabIndex     = 1120;
     this.dpTu.TabStop      = false;
     //
     // 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.layoutControlGroup1.Name        = "layoutControlGroup1";
     this.layoutControlGroup1.Padding     = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.layoutControlGroup1.Size        = new System.Drawing.Size(395, 27);
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control  = this.dpTu;
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem1.Name     = "layoutControlItem1";
     this.layoutControlItem1.Size     = new System.Drawing.Size(124, 27);
     this.layoutControlItem1.Text     = "Từ";
     this.layoutControlItem1.TextSize = new System.Drawing.Size(20, 13);
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control  = this.dpDen;
     this.layoutControlItem2.Location = new System.Drawing.Point(124, 0);
     this.layoutControlItem2.Name     = "layoutControlItem2";
     this.layoutControlItem2.Size     = new System.Drawing.Size(120, 27);
     this.layoutControlItem2.Text     = "Đến";
     this.layoutControlItem2.TextSize = new System.Drawing.Size(20, 13);
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control     = this.btnExport;
     this.layoutControlItem3.Location    = new System.Drawing.Point(313, 0);
     this.layoutControlItem3.Name        = "layoutControlItem3";
     this.layoutControlItem3.Size        = new System.Drawing.Size(82, 27);
     this.layoutControlItem3.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem3.TextVisible = false;
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control     = this.btnTraCuuSanLuongHoanThanh;
     this.layoutControlItem4.Location    = new System.Drawing.Point(244, 0);
     this.layoutControlItem4.Name        = "layoutControlItem4";
     this.layoutControlItem4.Size        = new System.Drawing.Size(69, 27);
     this.layoutControlItem4.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem4.TextVisible = false;
     //
     // frmBaoCaoSanXuatMoiNgay
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1370, 485);
     this.Controls.Add(this.grcBaoCaoNgay);
     this.Controls.Add(this.panelControl1);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name        = "frmBaoCaoSanXuatMoiNgay";
     this.Text        = "BÁO CÁO SẢN XUẤT NGÀY";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.frmBaoCaoSanXuatMoiNgay_Load);
     ((System.ComponentModel.ISupportInitialize)(this.grcBaoCaoNgay)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grBaoCaoNgay)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemFontEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMarqueeProgressBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((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();
     this.ResumeLayout(false);
 }
コード例 #3
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.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.panelControl2        = new DevExpress.XtraEditors.PanelControl();
     this.labelControl2        = new DevExpress.XtraEditors.LabelControl();
     this.labelControl3        = new DevExpress.XtraEditors.LabelControl();
     this.grimonhoc            = new DevExpress.XtraEditors.GridLookUpEdit();
     this.gridView2            = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.MonHoc_              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.grikhoi              = new DevExpress.XtraEditors.GridLookUpEdit();
     this.gridView1            = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.Khoi_                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btnxemdiem           = new DevExpress.XtraEditors.SimpleButton();
     this.lblChon              = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1        = new DevExpress.XtraEditors.LabelControl();
     this.gribang              = new DevExpress.XtraGrid.GridControl();
     this.grichon              = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.userid               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.username             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.HoTen                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Lop                  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Color                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.splacapnhat          = new DevExpress.XtraSplashScreen.SplashScreenManager(this, typeof(global::unzipPackage.WaitForm1), true, true);
     this.contextMenuStrip1    = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.mnxuatexcle          = new System.Windows.Forms.ToolStripMenuItem();
     this.barManager1          = new DevExpress.XtraBars.BarManager(this.components);
     this.barButtonItem1       = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2       = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3       = 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();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grimonhoc.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grikhoi.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gribang)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grichon)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl2
     //
     this.panelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.panelControl2.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.labelControl2);
     this.panelControl2.Controls.Add(this.labelControl3);
     this.panelControl2.Controls.Add(this.grimonhoc);
     this.panelControl2.Controls.Add(this.grikhoi);
     this.panelControl2.Controls.Add(this.btnxemdiem);
     this.panelControl2.Controls.Add(this.lblChon);
     this.panelControl2.Controls.Add(this.labelControl1);
     this.panelControl2.Location = new System.Drawing.Point(12, 12);
     this.panelControl2.Name     = "panelControl2";
     this.panelControl2.Size     = new System.Drawing.Size(644, 95);
     this.panelControl2.TabIndex = 29;
     //
     // labelControl2
     //
     this.labelControl2.Appearance.Font                 = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Bold);
     this.labelControl2.Appearance.ForeColor            = System.Drawing.Color.White;
     this.labelControl2.Appearance.Options.UseFont      = true;
     this.labelControl2.Appearance.Options.UseForeColor = true;
     this.labelControl2.Location = new System.Drawing.Point(323, 5);
     this.labelControl2.Name     = "labelControl2";
     this.labelControl2.Size     = new System.Drawing.Size(111, 23);
     this.labelControl2.TabIndex = 8;
     this.labelControl2.Text     = "CHỌN MÔN";
     //
     // labelControl3
     //
     this.labelControl3.Appearance.Font                 = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Bold);
     this.labelControl3.Appearance.ForeColor            = System.Drawing.Color.White;
     this.labelControl3.Appearance.Options.UseFont      = true;
     this.labelControl3.Appearance.Options.UseForeColor = true;
     this.labelControl3.Location = new System.Drawing.Point(71, 5);
     this.labelControl3.Name     = "labelControl3";
     this.labelControl3.Size     = new System.Drawing.Size(116, 23);
     this.labelControl3.TabIndex = 8;
     this.labelControl3.Text     = "CHỌN KHỐI";
     //
     // grimonhoc
     //
     this.grimonhoc.EditValue = "[Vui lòng chọn chi nhánh]";
     this.grimonhoc.Location  = new System.Drawing.Point(450, 3);
     this.grimonhoc.Name      = "grimonhoc";
     this.grimonhoc.Properties.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.grimonhoc.Properties.Appearance.Options.UseFont = true;
     this.grimonhoc.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.grimonhoc.Properties.NullText  = "[CHỌN MÔN HỌC]";
     this.grimonhoc.Properties.PopupView = this.gridView2;
     this.grimonhoc.Size     = new System.Drawing.Size(161, 26);
     this.grimonhoc.TabIndex = 2;
     //
     // gridView2
     //
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.MonHoc_
     });
     this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView2.Name           = "gridView2";
     this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView2.OptionsView.ShowGroupPanel = false;
     //
     // MonHoc_
     //
     this.MonHoc_.Caption      = "Môn học";
     this.MonHoc_.FieldName    = "MonHoc";
     this.MonHoc_.Name         = "MonHoc_";
     this.MonHoc_.Visible      = true;
     this.MonHoc_.VisibleIndex = 0;
     this.MonHoc_.Width        = 581;
     //
     // grikhoi
     //
     this.grikhoi.EditValue = "[Vui lòng chọn chi nhánh]";
     this.grikhoi.Location  = new System.Drawing.Point(193, 3);
     this.grikhoi.Name      = "grikhoi";
     this.grikhoi.Properties.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F);
     this.grikhoi.Properties.Appearance.Options.UseFont = true;
     this.grikhoi.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.grikhoi.Properties.NullText  = "[CHỌN KHỐI]";
     this.grikhoi.Properties.PopupView = this.gridView1;
     this.grikhoi.Size              = new System.Drawing.Size(124, 26);
     this.grikhoi.TabIndex          = 2;
     this.grikhoi.EditValueChanged += new System.EventHandler(this.grikhoi_EditValueChanged);
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.Khoi_
     });
     this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView1.Name           = "gridView1";
     this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     //
     // Khoi_
     //
     this.Khoi_.Caption      = "Khối";
     this.Khoi_.FieldName    = "Khoi";
     this.Khoi_.Name         = "Khoi_";
     this.Khoi_.Visible      = true;
     this.Khoi_.VisibleIndex = 0;
     this.Khoi_.Width        = 581;
     //
     // btnxemdiem
     //
     this.btnxemdiem.ImageOptions.ImageIndex = 0;
     this.btnxemdiem.Location = new System.Drawing.Point(450, 35);
     this.btnxemdiem.Name     = "btnxemdiem";
     this.btnxemdiem.Size     = new System.Drawing.Size(100, 37);
     this.btnxemdiem.TabIndex = 6;
     this.btnxemdiem.Text     = "Xem điểm";
     this.btnxemdiem.Click   += new System.EventHandler(this.btnxemdiem_Click);
     //
     // lblChon
     //
     this.lblChon.AllowHtmlString                 = true;
     this.lblChon.Appearance.Font                 = new System.Drawing.Font("Tahoma", 9F);
     this.lblChon.Appearance.ForeColor            = System.Drawing.Color.White;
     this.lblChon.Appearance.Options.UseFont      = true;
     this.lblChon.Appearance.Options.UseForeColor = true;
     this.lblChon.Location = new System.Drawing.Point(71, 47);
     this.lblChon.Name     = "lblChon";
     this.lblChon.Size     = new System.Drawing.Size(73, 14);
     this.lblChon.TabIndex = 0;
     this.lblChon.Text     = "Đang chọn:[]";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.Font                 = new System.Drawing.Font("Tahoma", 10F);
     this.labelControl1.Appearance.ForeColor            = System.Drawing.Color.White;
     this.labelControl1.Appearance.Options.UseFont      = true;
     this.labelControl1.Appearance.Options.UseForeColor = true;
     this.labelControl1.Location = new System.Drawing.Point(4, 8);
     this.labelControl1.Name     = "labelControl1";
     this.labelControl1.Size     = new System.Drawing.Size(59, 16);
     this.labelControl1.TabIndex = 0;
     this.labelControl1.Text     = "Danh sách";
     //
     // gribang
     //
     this.gribang.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                  | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.gribang.Location = new System.Drawing.Point(12, 113);
     this.gribang.MainView = this.grichon;
     this.gribang.Name     = "gribang";
     this.gribang.Size     = new System.Drawing.Size(644, 268);
     this.gribang.TabIndex = 30;
     this.gribang.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.grichon
     });
     //
     // grichon
     //
     this.grichon.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.userid,
         this.username,
         this.HoTen,
         this.Lop,
         this.Color
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Color";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.SystemColors.GradientActiveCaption;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "[Color] = 1";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.grichon.FormatRules.Add(gridFormatRule1);
     this.grichon.GridControl = this.gribang;
     this.grichon.Name        = "grichon";
     this.grichon.OptionsBehavior.Editable         = false;
     this.grichon.OptionsSelection.MultiSelect     = true;
     this.grichon.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
     this.grichon.OptionsSelection.ShowCheckBoxSelectorInGroupRow = DevExpress.Utils.DefaultBoolean.False;
     this.grichon.OptionsView.ColumnAutoWidth = false;
     this.grichon.OptionsView.RowAutoHeight   = true;
     this.grichon.OptionsView.ShowFooter      = true;
     this.grichon.OptionsView.ShowGroupPanel  = false;
     this.grichon.RowCellStyle += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(this.grichon_RowCellStyle);
     //
     // userid
     //
     this.userid.AppearanceCell.Options.UseTextOptions   = true;
     this.userid.AppearanceCell.TextOptions.HotkeyPrefix = DevExpress.Utils.HKeyPrefix.Show;
     this.userid.Caption   = "Userid";
     this.userid.FieldName = "userid";
     this.userid.MinWidth  = 40;
     this.userid.Name      = "userid";
     this.userid.OptionsColumn.ReadOnly = true;
     this.userid.Visible      = true;
     this.userid.VisibleIndex = 0;
     this.userid.Width        = 60;
     //
     // username
     //
     this.username.AppearanceHeader.GradientMode           = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.username.AppearanceHeader.Options.UseTextOptions = true;
     this.username.Caption   = "User Name";
     this.username.FieldName = "username";
     this.username.MinWidth  = 40;
     this.username.Name      = "username";
     this.username.OptionsColumn.ReadOnly = true;
     this.username.Visible      = true;
     this.username.VisibleIndex = 1;
     this.username.Width        = 140;
     //
     // HoTen
     //
     this.HoTen.Caption      = "Họ Tên";
     this.HoTen.FieldName    = "HoTen";
     this.HoTen.Name         = "HoTen";
     this.HoTen.Visible      = true;
     this.HoTen.VisibleIndex = 2;
     this.HoTen.Width        = 200;
     //
     // Lop
     //
     this.Lop.Caption      = "Lớp";
     this.Lop.FieldName    = "Lop";
     this.Lop.Name         = "Lop";
     this.Lop.Visible      = true;
     this.Lop.VisibleIndex = 3;
     this.Lop.Width        = 110;
     //
     // Color
     //
     this.Color.Caption   = "Color";
     this.Color.FieldName = "Color";
     this.Color.Name      = "Color";
     //
     // splacapnhat
     //
     this.splacapnhat.ClosingDelay = 500;
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.mnxuatexcle
     });
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(150, 26);
     //
     // mnxuatexcle
     //
     this.mnxuatexcle.Name   = "mnxuatexcle";
     this.mnxuatexcle.Size   = new System.Drawing.Size(149, 22);
     this.mnxuatexcle.Text   = "Xuất File Excle";
     this.mnxuatexcle.Click += new System.EventHandler(this.mnxuatexcle_Click);
     //
     // barManager1
     //
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.barButtonItem1,
         this.barButtonItem2,
         this.barButtonItem3
     });
     this.barManager1.MaxItemId = 3;
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "Thêm";
     this.barButtonItem1.Id      = 0;
     this.barButtonItem1.Name    = "barButtonItem1";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "Xóa";
     this.barButtonItem2.Id      = 1;
     this.barButtonItem2.Name    = "barButtonItem2";
     //
     // barButtonItem3
     //
     this.barButtonItem3.Caption = "Sửa";
     this.barButtonItem3.Id      = 2;
     this.barButtonItem3.Name    = "barButtonItem3";
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock             = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Manager          = this.barManager1;
     this.barDockControlTop.Size             = new System.Drawing.Size(668, 0);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 393);
     this.barDockControlBottom.Manager          = this.barManager1;
     this.barDockControlBottom.Size             = new System.Drawing.Size(668, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlLeft.Manager          = this.barManager1;
     this.barDockControlLeft.Size             = new System.Drawing.Size(0, 393);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(668, 0);
     this.barDockControlRight.Manager          = this.barManager1;
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 393);
     //
     // XtraForm_grades
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(668, 393);
     this.ContextMenuStrip    = this.contextMenuStrip1;
     this.Controls.Add(this.gribang);
     this.Controls.Add(this.panelControl2);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name        = "XtraForm_grades";
     this.Text        = "XtraForm_grades";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.XtraForm_grades_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.panelControl2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grimonhoc.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grikhoi.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gribang)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grichon)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido de este método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridFormatRule gridFormatRule10 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression10 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule11 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression11 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule12 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression12 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule13 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression13 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule14 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression14 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule15 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression15 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule16 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression16 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule17 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression17 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule18 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression18 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     System.ComponentModel.ComponentResourceManager       resources = new System.ComponentModel.ComponentResourceManager(typeof(xfrmEtqLisNutricional));
     this.colEtnSemaforo1  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEtnSemaforo2  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEtnSemaforo3  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEtnCodigo     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEtnLabel1     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEtnLabel4     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEtnLabel5     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEtnColor1     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEntColor2     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEtnColor3     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEtnIdProducto = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btnImprimir      = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.grcListado)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grvListado)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // grcListado
     //
     this.grcListado.Size = new System.Drawing.Size(935, 592);
     //
     // grvListado
     //
     this.grvListado.Appearance.ColumnFilterButton.BackColor                  = System.Drawing.Color.White;
     this.grvListado.Appearance.ColumnFilterButton.Font                       = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.ColumnFilterButton.Options.UseBackColor       = true;
     this.grvListado.Appearance.ColumnFilterButton.Options.UseFont            = true;
     this.grvListado.Appearance.ColumnFilterButtonActive.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.ColumnFilterButtonActive.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true;
     this.grvListado.Appearance.ColumnFilterButtonActive.Options.UseFont      = true;
     this.grvListado.Appearance.CustomizationFormHint.BackColor               = System.Drawing.Color.White;
     this.grvListado.Appearance.CustomizationFormHint.Font                    = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.CustomizationFormHint.Options.UseBackColor    = true;
     this.grvListado.Appearance.CustomizationFormHint.Options.UseFont         = true;
     this.grvListado.Appearance.DetailTip.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.DetailTip.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.DetailTip.Options.UseBackColor = true;
     this.grvListado.Appearance.DetailTip.Options.UseFont      = true;
     this.grvListado.Appearance.Empty.BackColor                = System.Drawing.Color.White;
     this.grvListado.Appearance.Empty.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.Empty.Options.UseBackColor = true;
     this.grvListado.Appearance.Empty.Options.UseFont      = true;
     this.grvListado.Appearance.EvenRow.BackColor          = System.Drawing.Color.White;
     this.grvListado.Appearance.EvenRow.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.EvenRow.Options.UseBackColor           = true;
     this.grvListado.Appearance.EvenRow.Options.UseFont                = true;
     this.grvListado.Appearance.FilterCloseButton.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.FilterCloseButton.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.grvListado.Appearance.FilterCloseButton.Options.UseFont      = true;
     this.grvListado.Appearance.FilterPanel.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.FilterPanel.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FilterPanel.Options.UseBackColor = true;
     this.grvListado.Appearance.FilterPanel.Options.UseFont      = true;
     this.grvListado.Appearance.FixedLine.BackColor              = System.Drawing.Color.White;
     this.grvListado.Appearance.FixedLine.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FixedLine.Options.UseBackColor = true;
     this.grvListado.Appearance.FixedLine.Options.UseFont      = true;
     this.grvListado.Appearance.FocusedCell.BackColor          = System.Drawing.Color.White;
     this.grvListado.Appearance.FocusedCell.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FocusedCell.Options.UseBackColor = true;
     this.grvListado.Appearance.FocusedCell.Options.UseFont      = true;
     this.grvListado.Appearance.FocusedRow.BackColor             = System.Drawing.Color.White;
     this.grvListado.Appearance.FocusedRow.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FocusedRow.Options.UseBackColor = true;
     this.grvListado.Appearance.FocusedRow.Options.UseFont      = true;
     this.grvListado.Appearance.FooterPanel.BackColor           = System.Drawing.Color.White;
     this.grvListado.Appearance.FooterPanel.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FooterPanel.Options.UseBackColor = true;
     this.grvListado.Appearance.FooterPanel.Options.UseFont      = true;
     this.grvListado.Appearance.GroupButton.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.GroupButton.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.GroupButton.Options.UseBackColor = true;
     this.grvListado.Appearance.GroupButton.Options.UseFont      = true;
     this.grvListado.Appearance.GroupFooter.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.GroupFooter.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.GroupFooter.Options.UseBackColor = true;
     this.grvListado.Appearance.GroupFooter.Options.UseFont      = true;
     this.grvListado.Appearance.GroupPanel.BackColor             = System.Drawing.Color.White;
     this.grvListado.Appearance.GroupPanel.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.GroupPanel.Options.UseBackColor = true;
     this.grvListado.Appearance.GroupPanel.Options.UseFont      = true;
     this.grvListado.Appearance.GroupRow.BackColor                    = System.Drawing.Color.White;
     this.grvListado.Appearance.GroupRow.Font                         = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.GroupRow.Options.UseBackColor         = true;
     this.grvListado.Appearance.GroupRow.Options.UseFont              = true;
     this.grvListado.Appearance.HeaderPanel.BackColor                 = System.Drawing.Color.White;
     this.grvListado.Appearance.HeaderPanel.Font                      = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.HeaderPanel.Options.UseBackColor      = true;
     this.grvListado.Appearance.HeaderPanel.Options.UseFont           = true;
     this.grvListado.Appearance.HideSelectionRow.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.HideSelectionRow.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.HideSelectionRow.Options.UseBackColor = true;
     this.grvListado.Appearance.HideSelectionRow.Options.UseFont      = true;
     this.grvListado.Appearance.HorzLine.Font                         = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.HorzLine.Options.UseFont              = true;
     this.grvListado.Appearance.OddRow.BackColor                      = System.Drawing.Color.White;
     this.grvListado.Appearance.OddRow.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.OddRow.Options.UseBackColor = true;
     this.grvListado.Appearance.OddRow.Options.UseFont      = true;
     this.grvListado.Appearance.Preview.BackColor           = System.Drawing.Color.White;
     this.grvListado.Appearance.Preview.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.Preview.Options.UseBackColor = true;
     this.grvListado.Appearance.Preview.Options.UseFont      = true;
     this.grvListado.Appearance.Row.BackColor                     = System.Drawing.Color.White;
     this.grvListado.Appearance.Row.Font                          = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.Row.Options.UseBackColor          = true;
     this.grvListado.Appearance.Row.Options.UseFont               = true;
     this.grvListado.Appearance.RowSeparator.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.RowSeparator.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.RowSeparator.Options.UseBackColor = true;
     this.grvListado.Appearance.RowSeparator.Options.UseFont      = true;
     this.grvListado.Appearance.SelectedRow.BackColor             = System.Drawing.Color.White;
     this.grvListado.Appearance.SelectedRow.Font                  = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.SelectedRow.Options.UseBackColor  = true;
     this.grvListado.Appearance.SelectedRow.Options.UseFont       = true;
     this.grvListado.Appearance.TopNewRow.BackColor               = System.Drawing.Color.White;
     this.grvListado.Appearance.TopNewRow.Font                    = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.TopNewRow.Options.UseBackColor    = true;
     this.grvListado.Appearance.TopNewRow.Options.UseFont         = true;
     this.grvListado.Appearance.VertLine.Font                     = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.VertLine.Options.UseFont          = true;
     this.grvListado.Appearance.ViewCaption.BackColor             = System.Drawing.Color.White;
     this.grvListado.Appearance.ViewCaption.Font                  = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.ViewCaption.Options.UseBackColor  = true;
     this.grvListado.Appearance.ViewCaption.Options.UseFont       = true;
     this.grvListado.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colEtnCodigo,
         this.colEtnLabel1,
         this.colEtnLabel4,
         this.colEtnLabel5,
         this.colEtnSemaforo1,
         this.colEtnColor1,
         this.colEtnSemaforo2,
         this.colEntColor2,
         this.colEtnSemaforo3,
         this.colEtnColor3,
         this.colEtnIdProducto
     });
     gridFormatRule10.Column = this.colEtnSemaforo1;
     gridFormatRule10.Name   = "Semaforo1Rojo";
     formatConditionRuleExpression10.Appearance.BackColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression10.Appearance.Font                 = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     formatConditionRuleExpression10.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression10.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression10.Expression = "[EtnColor1] = \'R\'";
     gridFormatRule10.Rule   = formatConditionRuleExpression10;
     gridFormatRule11.Column = this.colEtnSemaforo1;
     gridFormatRule11.Name   = "Semaforo1Amarillo";
     formatConditionRuleExpression11.Appearance.BackColor            = System.Drawing.Color.Yellow;
     formatConditionRuleExpression11.Appearance.Font                 = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     formatConditionRuleExpression11.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression11.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression11.Expression = "[EtnColor1] = \'A\'";
     gridFormatRule11.Rule   = formatConditionRuleExpression11;
     gridFormatRule12.Column = this.colEtnSemaforo1;
     gridFormatRule12.Name   = "Semaforo1Verde";
     formatConditionRuleExpression12.Appearance.BackColor            = System.Drawing.Color.Green;
     formatConditionRuleExpression12.Appearance.Font                 = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     formatConditionRuleExpression12.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression12.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression12.Expression = "[EtnColor1] = \'V\'";
     gridFormatRule12.Rule   = formatConditionRuleExpression12;
     gridFormatRule13.Column = this.colEtnSemaforo2;
     gridFormatRule13.Name   = "Semaforo2Rojo";
     formatConditionRuleExpression13.Appearance.BackColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression13.Appearance.Font                 = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     formatConditionRuleExpression13.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression13.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression13.Expression = "[EtnColor2] = \'R\'";
     gridFormatRule13.Rule   = formatConditionRuleExpression13;
     gridFormatRule14.Column = this.colEtnSemaforo2;
     gridFormatRule14.Name   = "Semaforo2Amarillo";
     formatConditionRuleExpression14.Appearance.BackColor            = System.Drawing.Color.Yellow;
     formatConditionRuleExpression14.Appearance.Font                 = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     formatConditionRuleExpression14.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression14.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression14.Expression = "[EtnColor2] = \'A\'";
     gridFormatRule14.Rule   = formatConditionRuleExpression14;
     gridFormatRule15.Column = this.colEtnSemaforo2;
     gridFormatRule15.Name   = "Semaforo2Verde";
     formatConditionRuleExpression15.Appearance.BackColor            = System.Drawing.Color.Green;
     formatConditionRuleExpression15.Appearance.Font                 = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     formatConditionRuleExpression15.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression15.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression15.Expression = "[EtnColor2] = \'V\'";
     gridFormatRule15.Rule   = formatConditionRuleExpression15;
     gridFormatRule16.Column = this.colEtnSemaforo3;
     gridFormatRule16.Name   = "Semaforo3Rojo";
     formatConditionRuleExpression16.Appearance.BackColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression16.Appearance.Font                 = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     formatConditionRuleExpression16.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression16.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression16.Expression = "[EtnColor3] = \'R\'";
     gridFormatRule16.Rule   = formatConditionRuleExpression16;
     gridFormatRule17.Column = this.colEtnSemaforo3;
     gridFormatRule17.Name   = "Semaforo3Amarillo";
     formatConditionRuleExpression17.Appearance.BackColor            = System.Drawing.Color.Yellow;
     formatConditionRuleExpression17.Appearance.Font                 = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     formatConditionRuleExpression17.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression17.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression17.Expression = "[EtnColor3] = \'A\'";
     gridFormatRule17.Rule   = formatConditionRuleExpression17;
     gridFormatRule18.Column = this.colEtnSemaforo3;
     gridFormatRule18.Name   = "Semaforo3Verde";
     formatConditionRuleExpression18.Appearance.BackColor            = System.Drawing.Color.Green;
     formatConditionRuleExpression18.Appearance.Font                 = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     formatConditionRuleExpression18.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression18.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression18.Expression = "[EtnColor3] = \'V\'";
     gridFormatRule18.Rule = formatConditionRuleExpression18;
     this.grvListado.FormatRules.Add(gridFormatRule10);
     this.grvListado.FormatRules.Add(gridFormatRule11);
     this.grvListado.FormatRules.Add(gridFormatRule12);
     this.grvListado.FormatRules.Add(gridFormatRule13);
     this.grvListado.FormatRules.Add(gridFormatRule14);
     this.grvListado.FormatRules.Add(gridFormatRule15);
     this.grvListado.FormatRules.Add(gridFormatRule16);
     this.grvListado.FormatRules.Add(gridFormatRule17);
     this.grvListado.FormatRules.Add(gridFormatRule18);
     this.grvListado.OptionsBehavior.Editable                            = false;
     this.grvListado.OptionsDetail.EnableMasterViewMode                  = false;
     this.grvListado.OptionsFind.AlwaysVisible                           = true;
     this.grvListado.OptionsSelection.CheckBoxSelectorColumnWidth        = 30;
     this.grvListado.OptionsSelection.EnableAppearanceFocusedCell        = false;
     this.grvListado.OptionsSelection.EnableAppearanceFocusedRow         = false;
     this.grvListado.OptionsSelection.EnableAppearanceHideSelection      = false;
     this.grvListado.OptionsSelection.MultiSelect                        = true;
     this.grvListado.OptionsSelection.MultiSelectMode                    = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
     this.grvListado.OptionsSelection.ShowCheckBoxSelectorInColumnHeader = DevExpress.Utils.DefaultBoolean.True;
     this.grvListado.OptionsView.ColumnAutoWidth                         = false;
     this.grvListado.OptionsView.ShowAutoFilterRow                       = true;
     //
     // btnNuevo
     //
     this.btnNuevo.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnNuevo.Appearance.Options.UseFont = true;
     this.btnNuevo.ImageOptions.Image         = ((System.Drawing.Image)(resources.GetObject("btnNuevo.ImageOptions.Image")));
     //
     // btnEliminar
     //
     this.btnEliminar.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnEliminar.Appearance.Options.UseFont = true;
     this.btnEliminar.ImageOptions.Image         = ((System.Drawing.Image)(resources.GetObject("btnEliminar.ImageOptions.Image")));
     //
     // btnModificar
     //
     this.btnModificar.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnModificar.Appearance.Options.UseFont = true;
     this.btnModificar.ImageOptions.Image         = ((System.Drawing.Image)(resources.GetObject("btnModificar.ImageOptions.Image")));
     //
     // btnCerrar
     //
     this.btnCerrar.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnCerrar.Appearance.Options.UseFont = true;
     this.btnCerrar.ImageOptions.Image         = ((System.Drawing.Image)(resources.GetObject("btnCerrar.ImageOptions.Image")));
     //
     // btnConsultar
     //
     this.btnConsultar.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnConsultar.Appearance.Options.UseFont = true;
     this.btnConsultar.ImageOptions.Image         = ((System.Drawing.Image)(resources.GetObject("btnConsultar.ImageOptions.Image")));
     //
     // panel1
     //
     this.panel1.Controls.Add(this.btnImprimir);
     this.panel1.Controls.SetChildIndex(this.btnNuevo, 0);
     this.panel1.Controls.SetChildIndex(this.btnModificar, 0);
     this.panel1.Controls.SetChildIndex(this.btnEliminar, 0);
     this.panel1.Controls.SetChildIndex(this.btnConsultar, 0);
     this.panel1.Controls.SetChildIndex(this.btnCerrar, 0);
     this.panel1.Controls.SetChildIndex(this.btnImprimir, 0);
     //
     // colEtnSemaforo1
     //
     this.colEtnSemaforo1.Caption      = "Semáforo1";
     this.colEtnSemaforo1.FieldName    = "EtnSemaforo1";
     this.colEtnSemaforo1.Name         = "colEtnSemaforo1";
     this.colEtnSemaforo1.Visible      = true;
     this.colEtnSemaforo1.VisibleIndex = 5;
     this.colEtnSemaforo1.Width        = 65;
     //
     // colEtnSemaforo2
     //
     this.colEtnSemaforo2.Caption      = "Semáforo 2";
     this.colEtnSemaforo2.FieldName    = "EtnSemaforo2";
     this.colEtnSemaforo2.Name         = "colEtnSemaforo2";
     this.colEtnSemaforo2.Visible      = true;
     this.colEtnSemaforo2.VisibleIndex = 6;
     this.colEtnSemaforo2.Width        = 65;
     //
     // colEtnSemaforo3
     //
     this.colEtnSemaforo3.Caption      = "Semáforo 3";
     this.colEtnSemaforo3.FieldName    = "EtnSemaforo3";
     this.colEtnSemaforo3.Name         = "colEtnSemaforo3";
     this.colEtnSemaforo3.Visible      = true;
     this.colEtnSemaforo3.VisibleIndex = 7;
     this.colEtnSemaforo3.Width        = 65;
     //
     // colEtnCodigo
     //
     this.colEtnCodigo.Caption   = "Código interno";
     this.colEtnCodigo.FieldName = "EtnCodigo";
     this.colEtnCodigo.Name      = "colEtnCodigo";
     this.colEtnCodigo.OptionsColumn.AllowEdit = false;
     //
     // colEtnLabel1
     //
     this.colEtnLabel1.Caption   = "Nombre";
     this.colEtnLabel1.FieldName = "EtnLabel1";
     this.colEtnLabel1.Name      = "colEtnLabel1";
     this.colEtnLabel1.OptionsColumn.AllowEdit = false;
     this.colEtnLabel1.Visible      = true;
     this.colEtnLabel1.VisibleIndex = 2;
     this.colEtnLabel1.Width        = 225;
     //
     // colEtnLabel4
     //
     this.colEtnLabel4.AppearanceCell.Options.UseTextOptions = true;
     this.colEtnLabel4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.colEtnLabel4.Caption   = "Peso";
     this.colEtnLabel4.FieldName = "EtnLabel4";
     this.colEtnLabel4.Name      = "colEtnLabel4";
     this.colEtnLabel4.OptionsColumn.AllowEdit = false;
     this.colEtnLabel4.Visible      = true;
     this.colEtnLabel4.VisibleIndex = 3;
     //
     // colEtnLabel5
     //
     this.colEtnLabel5.Caption   = "Código de barra";
     this.colEtnLabel5.FieldName = "EtnLabel5";
     this.colEtnLabel5.Name      = "colEtnLabel5";
     this.colEtnLabel5.OptionsColumn.AllowEdit = false;
     this.colEtnLabel5.Visible      = true;
     this.colEtnLabel5.VisibleIndex = 4;
     this.colEtnLabel5.Width        = 99;
     //
     // colEtnColor1
     //
     this.colEtnColor1.Caption   = "Color 1";
     this.colEtnColor1.FieldName = "EtnColor1";
     this.colEtnColor1.Name      = "colEtnColor1";
     //
     // colEntColor2
     //
     this.colEntColor2.Caption   = "Color 2";
     this.colEntColor2.FieldName = "EntColor2";
     this.colEntColor2.Name      = "colEntColor2";
     //
     // colEtnColor3
     //
     this.colEtnColor3.Caption   = "Color 3";
     this.colEtnColor3.FieldName = "EtnColor3";
     this.colEtnColor3.Name      = "colEtnColor3";
     //
     // colEtnIdProducto
     //
     this.colEtnIdProducto.Caption      = "Código";
     this.colEtnIdProducto.FieldName    = "EtnIdProducto";
     this.colEtnIdProducto.Name         = "colEtnIdProducto";
     this.colEtnIdProducto.Visible      = true;
     this.colEtnIdProducto.VisibleIndex = 1;
     //
     // btnImprimir
     //
     this.btnImprimir.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnImprimir.Appearance.Options.UseFont = true;
     this.btnImprimir.Enabled            = false;
     this.btnImprimir.ImageOptions.Image = global::umbAplicacion.Properties.Resources.imgImprimir16;
     this.btnImprimir.Location           = new System.Drawing.Point(302, 11);
     this.btnImprimir.Name     = "btnImprimir";
     this.btnImprimir.Size     = new System.Drawing.Size(93, 26);
     this.btnImprimir.TabIndex = 6;
     this.btnImprimir.Text     = "Im&primir";
     this.btnImprimir.Click   += new System.EventHandler(this.btnImprimir_Click);
     //
     // xfrmEtqLisNutricional
     //
     this.Appearance.Options.UseFont = true;
     this.AutoScaleDimensions        = new System.Drawing.SizeF(7F, 15F);
     this.ClientSize = new System.Drawing.Size(935, 638);
     this.Name       = "xfrmEtqLisNutricional";
     this.Controls.SetChildIndex(this.panel1, 0);
     this.Controls.SetChildIndex(this.grcListado, 0);
     ((System.ComponentModel.ISupportInitialize)(this.grcListado)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grvListado)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #5
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.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression     formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1      = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
     DevExpress.Utils.SerializableAppearanceObject            serializableAppearanceObject1  = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.Utils.SerializableAppearanceObject            serializableAppearanceObject2  = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.Utils.SerializableAppearanceObject            serializableAppearanceObject3  = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.Utils.SerializableAppearanceObject            serializableAppearanceObject4  = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2      = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
     DevExpress.Utils.SerializableAppearanceObject            serializableAppearanceObject5  = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.Utils.SerializableAppearanceObject            serializableAppearanceObject6  = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.Utils.SerializableAppearanceObject            serializableAppearanceObject7  = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.Utils.SerializableAppearanceObject            serializableAppearanceObject8  = new DevExpress.Utils.SerializableAppearanceObject();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     System.ComponentModel.ComponentResourceManager       resources = new System.ComponentModel.ComponentResourceManager(typeof(XUCComprasRealizadas));
     this.colSiclo             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colIva               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl1        = new DevExpress.XtraEditors.PanelControl();
     this.btnImprimirTodo      = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton1        = new DevExpress.XtraEditors.SimpleButton();
     this.labelControl14       = new DevExpress.XtraEditors.LabelControl();
     this.btnActualizar        = new DevExpress.XtraEditors.SimpleButton();
     this.btnExportar          = new DevExpress.XtraEditors.SimpleButton();
     this.gCCompra             = new DevExpress.XtraGrid.GridControl();
     this.gVCompra             = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colIDFactura         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNumero            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colFecha             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colIDTerminal        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colFlete             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCliente           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDNI               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTelefono          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMonto             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAccion            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btnBorrar            = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit();
     this.colSubir             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btnSubir             = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit();
     this.gridView2            = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.dockManager1         = new DevExpress.XtraBars.Docking.DockManager(this.components);
     this.dockPanel1           = new DevExpress.XtraBars.Docking.DockPanel();
     this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
     this.gCDetalle            = new DevExpress.XtraGrid.GridControl();
     this.gVDetalle            = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colIDProduct         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colFlete1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colName              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colPrecioUnitario    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCantidad          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSubTotal          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colInvercion         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colPrecioReal        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colPrecioVenta       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.txtPrecioVenta       = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.colIdMedida          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.xtraSaveFileDialog1  = new DevExpress.XtraEditors.XtraSaveFileDialog(this.components);
     this.btnEditar            = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gCCompra)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVCompra)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnBorrar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnSubir)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit();
     this.dockPanel1.SuspendLayout();
     this.dockPanel1_Container.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gCDetalle)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVDetalle)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtPrecioVenta)).BeginInit();
     this.SuspendLayout();
     //
     // colSiclo
     //
     this.colSiclo.Caption   = "SICLO";
     this.colSiclo.FieldName = "Siclo";
     this.colSiclo.MinWidth  = 25;
     this.colSiclo.Name      = "colSiclo";
     this.colSiclo.OptionsColumn.AllowEdit = false;
     this.colSiclo.Visible      = true;
     this.colSiclo.VisibleIndex = 7;
     this.colSiclo.Width        = 67;
     //
     // colIva
     //
     this.colIva.Caption   = "IVA";
     this.colIva.FieldName = "Iva";
     this.colIva.MinWidth  = 25;
     this.colIva.Name      = "colIva";
     this.colIva.OptionsColumn.AllowEdit = false;
     this.colIva.OptionsColumn.ReadOnly  = true;
     this.colIva.Visible      = true;
     this.colIva.VisibleIndex = 5;
     this.colIva.Width        = 57;
     //
     // panelControl1
     //
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Controls.Add(this.btnEditar);
     this.panelControl1.Controls.Add(this.btnImprimirTodo);
     this.panelControl1.Controls.Add(this.simpleButton1);
     this.panelControl1.Controls.Add(this.labelControl14);
     this.panelControl1.Controls.Add(this.btnActualizar);
     this.panelControl1.Controls.Add(this.btnExportar);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(1176, 43);
     this.panelControl1.TabIndex = 88;
     //
     // btnImprimirTodo
     //
     this.btnImprimirTodo.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnImprimirTodo.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnImprimirTodo.ImageOptions.Image")));
     this.btnImprimirTodo.Location           = new System.Drawing.Point(860, 7);
     this.btnImprimirTodo.Margin             = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnImprimirTodo.Name     = "btnImprimirTodo";
     this.btnImprimirTodo.Size     = new System.Drawing.Size(97, 30);
     this.btnImprimirTodo.TabIndex = 87;
     this.btnImprimirTodo.Text     = "Imprimir";
     this.btnImprimirTodo.Click   += new System.EventHandler(this.simpleButton2_Click);
     //
     // simpleButton1
     //
     this.simpleButton1.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton1.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton1.ImageOptions.Image")));
     this.simpleButton1.Location           = new System.Drawing.Point(757, 7);
     this.simpleButton1.Margin             = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.simpleButton1.Name     = "simpleButton1";
     this.simpleButton1.Size     = new System.Drawing.Size(97, 30);
     this.simpleButton1.TabIndex = 86;
     this.simpleButton1.Text     = "Detalle";
     this.simpleButton1.Click   += new System.EventHandler(this.simpleButton1_Click);
     //
     // labelControl14
     //
     this.labelControl14.Appearance.Font            = new System.Drawing.Font("Tahoma", 19.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelControl14.Appearance.Options.UseFont = true;
     this.labelControl14.Location = new System.Drawing.Point(22, 1);
     this.labelControl14.Name     = "labelControl14";
     this.labelControl14.Size     = new System.Drawing.Size(334, 40);
     this.labelControl14.TabIndex = 85;
     this.labelControl14.Text     = "Compras Realizadas";
     //
     // btnActualizar
     //
     this.btnActualizar.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnActualizar.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnActualizar.ImageOptions.Image")));
     this.btnActualizar.Location           = new System.Drawing.Point(1066, 6);
     this.btnActualizar.Margin             = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnActualizar.Name     = "btnActualizar";
     this.btnActualizar.Size     = new System.Drawing.Size(97, 30);
     this.btnActualizar.TabIndex = 11;
     this.btnActualizar.Text     = "Actualizar";
     this.btnActualizar.Click   += new System.EventHandler(this.btnActualizar_Click);
     //
     // btnExportar
     //
     this.btnExportar.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnExportar.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnExportar.ImageOptions.Image")));
     this.btnExportar.Location           = new System.Drawing.Point(963, 7);
     this.btnExportar.Margin             = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnExportar.Name     = "btnExportar";
     this.btnExportar.Size     = new System.Drawing.Size(97, 30);
     this.btnExportar.TabIndex = 12;
     this.btnExportar.Text     = "Exportar";
     this.btnExportar.Click   += new System.EventHandler(this.btnExportar_Click);
     //
     // gCCompra
     //
     this.gCCompra.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gCCompra.Location = new System.Drawing.Point(0, 43);
     this.gCCompra.MainView = this.gVCompra;
     this.gCCompra.Name     = "gCCompra";
     this.gCCompra.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.btnBorrar,
         this.btnSubir
     });
     this.gCCompra.Size     = new System.Drawing.Size(1176, 305);
     this.gCCompra.TabIndex = 89;
     this.gCCompra.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gVCompra,
         this.gridView2
     });
     //
     // gVCompra
     //
     this.gVCompra.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colIDFactura,
         this.colNumero,
         this.colFecha,
         this.colIDTerminal,
         this.colFlete,
         this.colCliente,
         this.colDNI,
         this.colTelefono,
         this.colSiclo,
         this.colMonto,
         this.colAccion,
         this.colSubir
     });
     gridFormatRule1.Column = this.colSiclo;
     gridFormatRule1.Name   = "Format0";
     formatConditionRuleExpression1.Expression     = "[Siclo] = \'R\'";
     formatConditionRuleExpression1.PredefinedName = "Red Text";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.gVCompra.FormatRules.Add(gridFormatRule1);
     this.gVCompra.GridControl                 = this.gCCompra;
     this.gVCompra.Name                        = "gVCompra";
     this.gVCompra.OptionsView.ShowFooter      = true;
     this.gVCompra.OptionsView.ShowGroupPanel  = false;
     this.gVCompra.OptionsView.ShowViewCaption = true;
     this.gVCompra.ViewCaption                 = "FACTURA";
     this.gVCompra.RowCellStyle               += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(this.gVCompra_RowCellStyle);
     this.gVCompra.FocusedRowChanged          += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gVCompra_FocusedRowChanged);
     //
     // colIDFactura
     //
     this.colIDFactura.FieldName = "IDFactura";
     this.colIDFactura.Name      = "colIDFactura";
     this.colIDFactura.OptionsColumn.AllowEdit = false;
     this.colIDFactura.Width = 117;
     //
     // colNumero
     //
     this.colNumero.Caption   = "FACTURA";
     this.colNumero.FieldName = "Numero";
     this.colNumero.Name      = "colNumero";
     this.colNumero.OptionsColumn.AllowEdit = false;
     this.colNumero.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count, "Numero", "{0}")
     });
     this.colNumero.Visible      = true;
     this.colNumero.VisibleIndex = 0;
     this.colNumero.Width        = 118;
     //
     // colFecha
     //
     this.colFecha.Caption   = "FECHA";
     this.colFecha.FieldName = "Fecha";
     this.colFecha.Name      = "colFecha";
     this.colFecha.OptionsColumn.AllowEdit = false;
     this.colFecha.Visible      = true;
     this.colFecha.VisibleIndex = 1;
     this.colFecha.Width        = 102;
     //
     // colIDTerminal
     //
     this.colIDTerminal.FieldName = "IDTerminal";
     this.colIDTerminal.Name      = "colIDTerminal";
     this.colIDTerminal.Width     = 165;
     //
     // colFlete
     //
     this.colFlete.Caption   = "FLETE";
     this.colFlete.FieldName = "Flete";
     this.colFlete.Name      = "colFlete";
     this.colFlete.OptionsColumn.AllowEdit = false;
     this.colFlete.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Flete", "T={0:0.##}")
     });
     this.colFlete.Visible      = true;
     this.colFlete.VisibleIndex = 3;
     this.colFlete.Width        = 80;
     //
     // colCliente
     //
     this.colCliente.Caption   = "CLIENTE";
     this.colCliente.FieldName = "Cliente.Nombre";
     this.colCliente.Name      = "colCliente";
     this.colCliente.OptionsColumn.AllowEdit = false;
     this.colCliente.Visible      = true;
     this.colCliente.VisibleIndex = 4;
     this.colCliente.Width        = 424;
     //
     // colDNI
     //
     this.colDNI.Caption   = "CEDULA";
     this.colDNI.FieldName = "Cliente.Cedula";
     this.colDNI.MinWidth  = 25;
     this.colDNI.Name      = "colDNI";
     this.colDNI.OptionsColumn.AllowEdit = false;
     this.colDNI.Visible      = true;
     this.colDNI.VisibleIndex = 5;
     this.colDNI.Width        = 127;
     //
     // colTelefono
     //
     this.colTelefono.Caption   = "TELEFONO";
     this.colTelefono.FieldName = "Cliente.Telefono";
     this.colTelefono.MinWidth  = 25;
     this.colTelefono.Name      = "colTelefono";
     this.colTelefono.OptionsColumn.AllowEdit = false;
     this.colTelefono.Visible      = true;
     this.colTelefono.VisibleIndex = 6;
     this.colTelefono.Width        = 119;
     //
     // colMonto
     //
     this.colMonto.Caption   = "MONTO";
     this.colMonto.FieldName = "Monto";
     this.colMonto.MinWidth  = 25;
     this.colMonto.Name      = "colMonto";
     this.colMonto.OptionsColumn.AllowEdit = false;
     this.colMonto.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Monto", "T={0:0.##}")
     });
     this.colMonto.Visible      = true;
     this.colMonto.VisibleIndex = 2;
     this.colMonto.Width        = 90;
     //
     // colAccion
     //
     this.colAccion.Caption      = "ELIMINAR";
     this.colAccion.ColumnEdit   = this.btnBorrar;
     this.colAccion.MinWidth     = 25;
     this.colAccion.Name         = "colAccion";
     this.colAccion.Visible      = true;
     this.colAccion.VisibleIndex = 9;
     this.colAccion.Width        = 81;
     //
     // btnBorrar
     //
     this.btnBorrar.AutoHeight                            = false;
     editorButtonImageOptions1.Image                      = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions1.Image")));
     serializableAppearanceObject1.BackColor              = System.Drawing.Color.Transparent;
     serializableAppearanceObject1.BackColor2             = System.Drawing.Color.Transparent;
     serializableAppearanceObject1.BorderColor            = System.Drawing.Color.Transparent;
     serializableAppearanceObject1.Options.UseBackColor   = true;
     serializableAppearanceObject1.Options.UseBorderColor = true;
     this.btnBorrar.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)
     });
     this.btnBorrar.ButtonsStyle  = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat;
     this.btnBorrar.Name          = "btnBorrar";
     this.btnBorrar.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
     this.btnBorrar.ButtonClick  += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnBorrar_ButtonClick);
     //
     // colSubir
     //
     this.colSubir.AppearanceCell.BackColor            = System.Drawing.Color.Transparent;
     this.colSubir.AppearanceCell.BackColor2           = System.Drawing.Color.Transparent;
     this.colSubir.AppearanceCell.Options.UseBackColor = true;
     this.colSubir.Caption      = "IMPRIMIR";
     this.colSubir.ColumnEdit   = this.btnSubir;
     this.colSubir.MinWidth     = 25;
     this.colSubir.Name         = "colSubir";
     this.colSubir.Visible      = true;
     this.colSubir.VisibleIndex = 8;
     this.colSubir.Width        = 94;
     //
     // btnSubir
     //
     this.btnSubir.AutoHeight                             = false;
     editorButtonImageOptions2.Image                      = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions2.Image")));
     serializableAppearanceObject5.BackColor              = System.Drawing.Color.Transparent;
     serializableAppearanceObject5.BackColor2             = System.Drawing.Color.Transparent;
     serializableAppearanceObject5.BorderColor            = System.Drawing.Color.Transparent;
     serializableAppearanceObject5.Options.UseBackColor   = true;
     serializableAppearanceObject5.Options.UseBorderColor = true;
     this.btnSubir.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)
     });
     this.btnSubir.ButtonsStyle  = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat;
     this.btnSubir.Name          = "btnSubir";
     this.btnSubir.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
     this.btnSubir.ButtonClick  += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnSubir_ButtonClick);
     //
     // gridView2
     //
     this.gridView2.GridControl = this.gCCompra;
     this.gridView2.Name        = "gridView2";
     //
     // dockManager1
     //
     this.dockManager1.Form = this;
     this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] {
         this.dockPanel1
     });
     this.dockManager1.TopZIndexControls.AddRange(new string[] {
         "DevExpress.XtraBars.BarDockControl",
         "DevExpress.XtraBars.StandaloneBarDockControl",
         "System.Windows.Forms.StatusBar",
         "System.Windows.Forms.MenuStrip",
         "System.Windows.Forms.StatusStrip",
         "DevExpress.XtraBars.Ribbon.RibbonStatusBar",
         "DevExpress.XtraBars.Ribbon.RibbonControl",
         "DevExpress.XtraBars.Navigation.OfficeNavigationBar",
         "DevExpress.XtraBars.Navigation.TileNavPane",
         "DevExpress.XtraBars.TabFormControl",
         "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl"
     });
     //
     // dockPanel1
     //
     this.dockPanel1.Controls.Add(this.dockPanel1_Container);
     this.dockPanel1.Dock            = DevExpress.XtraBars.Docking.DockingStyle.Bottom;
     this.dockPanel1.ID              = new System.Guid("79470b71-5f8a-4a57-8abb-ba1c8f9068b4");
     this.dockPanel1.Location        = new System.Drawing.Point(0, 348);
     this.dockPanel1.Name            = "dockPanel1";
     this.dockPanel1.OriginalSize    = new System.Drawing.Size(200, 312);
     this.dockPanel1.SavedSizeFactor = 0D;
     this.dockPanel1.Size            = new System.Drawing.Size(1176, 312);
     this.dockPanel1.Text            = "dockPanel1";
     //
     // dockPanel1_Container
     //
     this.dockPanel1_Container.Controls.Add(this.gCDetalle);
     this.dockPanel1_Container.Location = new System.Drawing.Point(5, 47);
     this.dockPanel1_Container.Name     = "dockPanel1_Container";
     this.dockPanel1_Container.Size     = new System.Drawing.Size(1166, 260);
     this.dockPanel1_Container.TabIndex = 0;
     //
     // gCDetalle
     //
     this.gCDetalle.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gCDetalle.Location = new System.Drawing.Point(0, 0);
     this.gCDetalle.MainView = this.gVDetalle;
     this.gCDetalle.Name     = "gCDetalle";
     this.gCDetalle.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.txtPrecioVenta
     });
     this.gCDetalle.Size     = new System.Drawing.Size(1166, 260);
     this.gCDetalle.TabIndex = 91;
     this.gCDetalle.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gVDetalle
     });
     //
     // gVDetalle
     //
     this.gVDetalle.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colIDProduct,
         this.colFlete1,
         this.colName,
         this.colPrecioUnitario,
         this.colCantidad,
         this.colSubTotal,
         this.colInvercion,
         this.colIva,
         this.colPrecioReal,
         this.colPrecioVenta,
         this.colIdMedida
     });
     gridFormatRule2.ApplyToRow = true;
     gridFormatRule2.Column     = this.colIva;
     gridFormatRule2.Name       = "Iva";
     formatConditionRuleExpression2.Expression     = "[Iva] = 0";
     formatConditionRuleExpression2.PredefinedName = "Red Text";
     gridFormatRule2.Rule = formatConditionRuleExpression2;
     this.gVDetalle.FormatRules.Add(gridFormatRule2);
     this.gVDetalle.GridControl                 = this.gCDetalle;
     this.gVDetalle.Name                        = "gVDetalle";
     this.gVDetalle.OptionsView.ShowFooter      = true;
     this.gVDetalle.OptionsView.ShowGroupPanel  = false;
     this.gVDetalle.OptionsView.ShowViewCaption = true;
     this.gVDetalle.ViewCaption                 = "DETALLE";
     //
     // colIDProduct
     //
     this.colIDProduct.FieldName = "IDProduct";
     this.colIDProduct.MinWidth  = 25;
     this.colIDProduct.Name      = "colIDProduct";
     this.colIDProduct.Width     = 94;
     //
     // colFlete1
     //
     this.colFlete1.Caption   = "FLETE";
     this.colFlete1.FieldName = "Flete";
     this.colFlete1.MinWidth  = 25;
     this.colFlete1.Name      = "colFlete1";
     this.colFlete1.OptionsColumn.AllowEdit = false;
     this.colFlete1.OptionsColumn.ReadOnly  = true;
     this.colFlete1.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Flete", "T={0:0.##}")
     });
     this.colFlete1.Visible      = true;
     this.colFlete1.VisibleIndex = 0;
     this.colFlete1.Width        = 67;
     //
     // colName
     //
     this.colName.Caption   = "DETALLE";
     this.colName.FieldName = "Name";
     this.colName.MinWidth  = 25;
     this.colName.Name      = "colName";
     this.colName.OptionsColumn.AllowEdit = false;
     this.colName.Visible      = true;
     this.colName.VisibleIndex = 2;
     this.colName.Width        = 358;
     //
     // colPrecioUnitario
     //
     this.colPrecioUnitario.Caption   = "PRECIO UNITARIO";
     this.colPrecioUnitario.FieldName = "PrecioUnitario";
     this.colPrecioUnitario.MinWidth  = 25;
     this.colPrecioUnitario.Name      = "colPrecioUnitario";
     this.colPrecioUnitario.OptionsColumn.AllowEdit = false;
     this.colPrecioUnitario.Visible      = true;
     this.colPrecioUnitario.VisibleIndex = 4;
     this.colPrecioUnitario.Width        = 114;
     //
     // colCantidad
     //
     this.colCantidad.Caption   = "CANTIDAD";
     this.colCantidad.FieldName = "Cantidad";
     this.colCantidad.MinWidth  = 25;
     this.colCantidad.Name      = "colCantidad";
     this.colCantidad.OptionsColumn.AllowEdit = false;
     this.colCantidad.Visible      = true;
     this.colCantidad.VisibleIndex = 1;
     this.colCantidad.Width        = 73;
     //
     // colSubTotal
     //
     this.colSubTotal.Caption   = "SUB. TOTAL (CANTIDAD*P.UNITARIO)";
     this.colSubTotal.FieldName = "SubTotal";
     this.colSubTotal.MinWidth  = 25;
     this.colSubTotal.Name      = "colSubTotal";
     this.colSubTotal.OptionsColumn.AllowEdit = false;
     this.colSubTotal.OptionsColumn.ReadOnly  = true;
     this.colSubTotal.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "SubTotal", "T={0:0.##}")
     });
     this.colSubTotal.Visible      = true;
     this.colSubTotal.VisibleIndex = 7;
     this.colSubTotal.Width        = 188;
     //
     // colInvercion
     //
     this.colInvercion.Caption   = "INVERCION (FLETE+SUB. TOTAL)";
     this.colInvercion.FieldName = "Invercion";
     this.colInvercion.MinWidth  = 25;
     this.colInvercion.Name      = "colInvercion";
     this.colInvercion.OptionsColumn.AllowEdit = false;
     this.colInvercion.OptionsColumn.ReadOnly  = true;
     this.colInvercion.Visible      = true;
     this.colInvercion.VisibleIndex = 8;
     this.colInvercion.Width        = 145;
     //
     // colPrecioReal
     //
     this.colPrecioReal.Caption   = "PRECIO REAL (INVERCION/CANTIDAD)";
     this.colPrecioReal.FieldName = "PrecioReal";
     this.colPrecioReal.MinWidth  = 25;
     this.colPrecioReal.Name      = "colPrecioReal";
     this.colPrecioReal.OptionsColumn.AllowEdit = false;
     this.colPrecioReal.OptionsColumn.ReadOnly  = true;
     this.colPrecioReal.Visible      = true;
     this.colPrecioReal.VisibleIndex = 6;
     this.colPrecioReal.Width        = 179;
     //
     // colPrecioVenta
     //
     this.colPrecioVenta.Caption    = "PRECIO VENTA";
     this.colPrecioVenta.ColumnEdit = this.txtPrecioVenta;
     this.colPrecioVenta.FieldName  = "PrecioVenta";
     this.colPrecioVenta.MinWidth   = 25;
     this.colPrecioVenta.Name       = "colPrecioVenta";
     this.colPrecioVenta.Width      = 115;
     //
     // txtPrecioVenta
     //
     this.txtPrecioVenta.AutoHeight = false;
     this.txtPrecioVenta.EditFormat.FormatString = "f";
     this.txtPrecioVenta.EditFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.txtPrecioVenta.Name = "txtPrecioVenta";
     //
     // colIdMedida
     //
     this.colIdMedida.Caption   = "MEDIDA";
     this.colIdMedida.FieldName = "Medida";
     this.colIdMedida.MinWidth  = 25;
     this.colIdMedida.Name      = "colIdMedida";
     this.colIdMedida.OptionsColumn.AllowEdit = false;
     this.colIdMedida.Visible      = true;
     this.colIdMedida.VisibleIndex = 3;
     this.colIdMedida.Width        = 82;
     //
     // xtraSaveFileDialog1
     //
     this.xtraSaveFileDialog1.FileName = "xtraSaveFileDialog1";
     //
     // btnEditar
     //
     this.btnEditar.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnEditar.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton2.ImageOptions.Image")));
     this.btnEditar.Location           = new System.Drawing.Point(654, 7);
     this.btnEditar.Margin             = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.btnEditar.Name     = "btnEditar";
     this.btnEditar.Size     = new System.Drawing.Size(97, 30);
     this.btnEditar.TabIndex = 88;
     this.btnEditar.Text     = "Editar";
     this.btnEditar.Click   += new System.EventHandler(this.btnEditar_Click);
     //
     // XUCComprasRealizadas
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.gCCompra);
     this.Controls.Add(this.panelControl1);
     this.Controls.Add(this.dockPanel1);
     this.Name  = "XUCComprasRealizadas";
     this.Size  = new System.Drawing.Size(1176, 660);
     this.Load += new System.EventHandler(this.XUCComprasRealizadas_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gCCompra)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVCompra)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnBorrar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnSubir)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit();
     this.dockPanel1.ResumeLayout(false);
     this.dockPanel1_Container.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gCDetalle)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVDetalle)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtPrecioVenta)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #6
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(Frm_Pedidos_Sucursales));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.barManager1             = new DevExpress.XtraBars.BarManager(this.components);
     this.bIconos                 = new DevExpress.XtraBars.Bar();
     this.btnGenerarReporte       = new DevExpress.XtraBars.BarLargeButtonItem();
     this.btnExportarExcel        = new DevExpress.XtraBars.BarLargeButtonItem();
     this.btnLimpiar              = new DevExpress.XtraBars.BarLargeButtonItem();
     this.bEstado                 = new DevExpress.XtraBars.Bar();
     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.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.panelControl1           = new DevExpress.XtraEditors.PanelControl();
     this.labelControl4           = new DevExpress.XtraEditors.LabelControl();
     this.txtMesesVenta           = new DevExpress.XtraEditors.TextEdit();
     this.labelControl3           = new DevExpress.XtraEditors.LabelControl();
     this.cmbTiendasSurtir        = new DevExpress.XtraEditors.ComboBoxEdit();
     this.cboSucursales           = new DevExpress.XtraEditors.GridLookUpEdit();
     this.gridView2               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.labelControl5           = new DevExpress.XtraEditors.LabelControl();
     this.dtFin                   = new DevExpress.XtraEditors.DateEdit();
     this.dtInicio                = new DevExpress.XtraEditors.DateEdit();
     this.labelControl2           = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1           = new DevExpress.XtraEditors.LabelControl();
     this.panelControl2           = new DevExpress.XtraEditors.PanelControl();
     this.dtgPedidos              = new DevExpress.XtraGrid.GridControl();
     this.dtgValPedidos           = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.Reg                     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Codigo                  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Descripcion             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn9             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Promed                  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.bandedGridColumn7       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.bandedGridColumn4       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.bandedGridColumn9       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CoberturaA              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CoberturaN              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtMesesVenta.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cmbTiendasSurtir.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cboSucursales.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtFin.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtFin.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtInicio.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtInicio.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtgPedidos)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtgValPedidos)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit4)).BeginInit();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.bIconos,
         this.bEstado
     });
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.btnGenerarReporte,
         this.btnLimpiar,
         this.btnExportarExcel
     });
     this.barManager1.MainMenu  = this.bIconos;
     this.barManager1.MaxItemId = 60;
     this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemTextEdit1
     });
     this.barManager1.StatusBar = this.bEstado;
     //
     // bIconos
     //
     this.bIconos.BarName       = "Menú principal";
     this.bIconos.DockCol       = 0;
     this.bIconos.DockRow       = 0;
     this.bIconos.DockStyle     = DevExpress.XtraBars.BarDockStyle.Left;
     this.bIconos.FloatLocation = new System.Drawing.Point(42, 184);
     this.bIconos.FloatSize     = new System.Drawing.Size(1106, 535);
     this.bIconos.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.btnGenerarReporte, true),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnExportarExcel),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnLimpiar)
     });
     this.bIconos.OptionsBar.AllowCollapse           = true;
     this.bIconos.OptionsBar.AllowQuickCustomization = false;
     this.bIconos.OptionsBar.AutoPopupMode           = DevExpress.XtraBars.BarAutoPopupMode.None;
     this.bIconos.OptionsBar.DisableClose            = true;
     this.bIconos.OptionsBar.DisableCustomization    = true;
     this.bIconos.OptionsBar.DrawBorder         = false;
     this.bIconos.OptionsBar.DrawDragBorder     = false;
     this.bIconos.OptionsBar.RotateWhenVertical = false;
     this.bIconos.OptionsBar.UseWholeRow        = true;
     this.bIconos.Text = "Menú principal";
     //
     // btnGenerarReporte
     //
     this.btnGenerarReporte.Caption                 = "Generar\r\n Reporte";
     this.btnGenerarReporte.Id                      = 17;
     this.btnGenerarReporte.ImageOptions.Image      = ((System.Drawing.Image)(resources.GetObject("btnGenerarReporte.ImageOptions.Image")));
     this.btnGenerarReporte.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btnGenerarReporte.ImageOptions.LargeImage")));
     this.btnGenerarReporte.Name                    = "btnGenerarReporte";
     this.btnGenerarReporte.ItemClick              += new DevExpress.XtraBars.ItemClickEventHandler(this.btnGenerarReporte_ItemClick);
     //
     // btnExportarExcel
     //
     this.btnExportarExcel.Caption                 = "Exportar \r\n  Excel";
     this.btnExportarExcel.Id                      = 53;
     this.btnExportarExcel.ImageOptions.Image      = ((System.Drawing.Image)(resources.GetObject("btnExportarExcel.ImageOptions.Image")));
     this.btnExportarExcel.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btnExportarExcel.ImageOptions.LargeImage")));
     this.btnExportarExcel.Name                    = "btnExportarExcel";
     this.btnExportarExcel.ItemClick              += new DevExpress.XtraBars.ItemClickEventHandler(this.btnExportarExcel_ItemClick);
     //
     // btnLimpiar
     //
     this.btnLimpiar.Caption                 = "Limpiar";
     this.btnLimpiar.Id                      = 50;
     this.btnLimpiar.ImageOptions.Image      = ((System.Drawing.Image)(resources.GetObject("btnLimpiar.ImageOptions.Image")));
     this.btnLimpiar.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btnLimpiar.ImageOptions.LargeImage")));
     this.btnLimpiar.Name                    = "btnLimpiar";
     this.btnLimpiar.ItemClick              += new DevExpress.XtraBars.ItemClickEventHandler(this.btnLimpiar_ItemClick);
     //
     // bEstado
     //
     this.bEstado.BarName      = "Barra de estado";
     this.bEstado.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
     this.bEstado.DockCol      = 0;
     this.bEstado.DockRow      = 0;
     this.bEstado.DockStyle    = DevExpress.XtraBars.BarDockStyle.Bottom;
     this.bEstado.OptionsBar.AllowQuickCustomization = false;
     this.bEstado.OptionsBar.DrawDragBorder          = false;
     this.bEstado.OptionsBar.UseWholeRow             = true;
     this.bEstado.Text = "Barra de estado";
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock             = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Manager          = this.barManager1;
     this.barDockControlTop.Size             = new System.Drawing.Size(1480, 0);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 477);
     this.barDockControlBottom.Manager          = this.barManager1;
     this.barDockControlBottom.Size             = new System.Drawing.Size(1480, 28);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlLeft.Manager          = this.barManager1;
     this.barDockControlLeft.Size             = new System.Drawing.Size(61, 477);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(1480, 0);
     this.barDockControlRight.Manager          = this.barManager1;
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 477);
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.labelControl4);
     this.panelControl1.Controls.Add(this.txtMesesVenta);
     this.panelControl1.Controls.Add(this.labelControl3);
     this.panelControl1.Controls.Add(this.cmbTiendasSurtir);
     this.panelControl1.Controls.Add(this.cboSucursales);
     this.panelControl1.Controls.Add(this.labelControl5);
     this.panelControl1.Controls.Add(this.dtFin);
     this.panelControl1.Controls.Add(this.dtInicio);
     this.panelControl1.Controls.Add(this.labelControl2);
     this.panelControl1.Controls.Add(this.labelControl1);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(61, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(1419, 94);
     this.panelControl1.TabIndex = 6;
     //
     // labelControl4
     //
     this.labelControl4.Location = new System.Drawing.Point(203, 68);
     this.labelControl4.Name     = "labelControl4";
     this.labelControl4.Size     = new System.Drawing.Size(65, 13);
     this.labelControl4.TabIndex = 22;
     this.labelControl4.Text     = "Meses Venta:";
     //
     // txtMesesVenta
     //
     this.txtMesesVenta.Location    = new System.Drawing.Point(274, 63);
     this.txtMesesVenta.MenuManager = this.barManager1;
     this.txtMesesVenta.Name        = "txtMesesVenta";
     this.txtMesesVenta.Properties.Mask.EditMask = "n0";
     this.txtMesesVenta.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.txtMesesVenta.Properties.ReadOnly      = true;
     this.txtMesesVenta.Size     = new System.Drawing.Size(100, 20);
     this.txtMesesVenta.TabIndex = 21;
     //
     // labelControl3
     //
     this.labelControl3.Location = new System.Drawing.Point(12, 68);
     this.labelControl3.Name     = "labelControl3";
     this.labelControl3.Size     = new System.Drawing.Size(79, 13);
     this.labelControl3.TabIndex = 20;
     this.labelControl3.Text     = "Tiendas a Surtir:";
     //
     // cmbTiendasSurtir
     //
     this.cmbTiendasSurtir.Location    = new System.Drawing.Point(97, 64);
     this.cmbTiendasSurtir.MenuManager = this.barManager1;
     this.cmbTiendasSurtir.Name        = "cmbTiendasSurtir";
     this.cmbTiendasSurtir.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.cmbTiendasSurtir.Properties.Items.AddRange(new object[] {
         "1",
         "2",
         "3",
         "4",
         "5",
         "6",
         "7"
     });
     this.cmbTiendasSurtir.Size     = new System.Drawing.Size(100, 20);
     this.cmbTiendasSurtir.TabIndex = 19;
     this.cmbTiendasSurtir.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmbTiendasSurtir_KeyDown);
     //
     // cboSucursales
     //
     this.cboSucursales.Location    = new System.Drawing.Point(97, 12);
     this.cboSucursales.MenuManager = this.barManager1;
     this.cboSucursales.Name        = "cboSucursales";
     this.cboSucursales.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.cboSucursales.Properties.NullText  = "-Seleccionar-";
     this.cboSucursales.Properties.PopupView = this.gridView2;
     this.cboSucursales.Size     = new System.Drawing.Size(277, 20);
     this.cboSucursales.TabIndex = 18;
     //
     // gridView2
     //
     this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView2.Name           = "gridView2";
     this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView2.OptionsView.ShowGroupPanel = false;
     //
     // labelControl5
     //
     this.labelControl5.Location = new System.Drawing.Point(47, 15);
     this.labelControl5.Name     = "labelControl5";
     this.labelControl5.Size     = new System.Drawing.Size(44, 13);
     this.labelControl5.TabIndex = 17;
     this.labelControl5.Text     = "Sucursal:";
     //
     // dtFin
     //
     this.dtFin.EditValue = null;
     this.dtFin.Location  = new System.Drawing.Point(274, 38);
     this.dtFin.Name      = "dtFin";
     this.dtFin.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.dtFin.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.dtFin.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.dtFin.Size     = new System.Drawing.Size(100, 20);
     this.dtFin.TabIndex = 11;
     //
     // dtInicio
     //
     this.dtInicio.EditValue = null;
     this.dtInicio.Location  = new System.Drawing.Point(97, 38);
     this.dtInicio.Name      = "dtInicio";
     this.dtInicio.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.dtInicio.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.dtInicio.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.dtInicio.Size     = new System.Drawing.Size(100, 20);
     this.dtInicio.TabIndex = 10;
     //
     // labelControl2
     //
     this.labelControl2.Location = new System.Drawing.Point(218, 41);
     this.labelControl2.Name     = "labelControl2";
     this.labelControl2.Size     = new System.Drawing.Size(50, 13);
     this.labelControl2.TabIndex = 9;
     this.labelControl2.Text     = "Fecha Fin:";
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(30, 42);
     this.labelControl1.Name     = "labelControl1";
     this.labelControl1.Size     = new System.Drawing.Size(61, 13);
     this.labelControl1.TabIndex = 8;
     this.labelControl1.Text     = "Fecha Inicio:";
     //
     // panelControl2
     //
     this.panelControl2.Controls.Add(this.dtgPedidos);
     this.panelControl2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panelControl2.Location = new System.Drawing.Point(61, 94);
     this.panelControl2.Name     = "panelControl2";
     this.panelControl2.Padding  = new System.Windows.Forms.Padding(10);
     this.panelControl2.Size     = new System.Drawing.Size(1419, 383);
     this.panelControl2.TabIndex = 7;
     //
     // dtgPedidos
     //
     this.dtgPedidos.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.dtgPedidos.Location = new System.Drawing.Point(12, 12);
     this.dtgPedidos.MainView = this.dtgValPedidos;
     this.dtgPedidos.Name     = "dtgPedidos";
     this.dtgPedidos.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemTextEdit2,
         this.repositoryItemTextEdit3,
         this.repositoryItemTextEdit4
     });
     this.dtgPedidos.Size     = new System.Drawing.Size(1395, 359);
     this.dtgPedidos.TabIndex = 1;
     this.dtgPedidos.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.dtgValPedidos
     });
     //
     // dtgValPedidos
     //
     this.dtgValPedidos.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.Reg,
         this.Codigo,
         this.Descripcion,
         this.gridColumn1,
         this.gridColumn9,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.Promed,
         this.bandedGridColumn7,
         this.bandedGridColumn4,
         this.bandedGridColumn9,
         this.gridColumn6,
         this.CoberturaA,
         this.CoberturaN
     });
     gridFormatRule1.Name = "Format0";
     formatConditionRuleExpression1.Expression     = "[TPedido] <> []";
     formatConditionRuleExpression1.PredefinedName = "Red Bold Text";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.dtgValPedidos.FormatRules.Add(gridFormatRule1);
     this.dtgValPedidos.GridControl = this.dtgPedidos;
     this.dtgValPedidos.Name        = "dtgValPedidos";
     this.dtgValPedidos.OptionsFind.AlwaysVisible = true;
     this.dtgValPedidos.OptionsMenu.ShowConditionalFormattingItem = true;
     this.dtgValPedidos.OptionsView.ColumnAutoWidth        = false;
     this.dtgValPedidos.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True;
     this.dtgValPedidos.OptionsView.ShowFooter             = true;
     this.dtgValPedidos.OptionsView.ShowGroupPanel         = false;
     //
     // Reg
     //
     this.Reg.AppearanceHeader.Options.UseTextOptions = true;
     this.Reg.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.Reg.Caption   = "#";
     this.Reg.FieldName = "Registros";
     this.Reg.Name      = "Reg";
     this.Reg.OptionsColumn.AllowEdit = false;
     this.Reg.Visible      = true;
     this.Reg.VisibleIndex = 0;
     this.Reg.Width        = 47;
     //
     // Codigo
     //
     this.Codigo.AppearanceHeader.Options.UseTextOptions = true;
     this.Codigo.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.Codigo.Caption   = "Codigo";
     this.Codigo.FieldName = "ArticuloCodigo";
     this.Codigo.Name      = "Codigo";
     this.Codigo.OptionsColumn.AllowEdit = false;
     this.Codigo.Visible      = true;
     this.Codigo.VisibleIndex = 1;
     this.Codigo.Width        = 116;
     //
     // Descripcion
     //
     this.Descripcion.AppearanceHeader.Options.UseTextOptions = true;
     this.Descripcion.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.Descripcion.Caption   = "Descripcion";
     this.Descripcion.FieldName = "ArticuloDescripcion";
     this.Descripcion.Name      = "Descripcion";
     this.Descripcion.OptionsColumn.AllowEdit = false;
     this.Descripcion.Visible      = true;
     this.Descripcion.VisibleIndex = 2;
     this.Descripcion.Width        = 327;
     //
     // gridColumn1
     //
     this.gridColumn1.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn1.Caption   = "Existencia Almacen";
     this.gridColumn1.FieldName = "ArticuloCantidad";
     this.gridColumn1.Name      = "gridColumn1";
     this.gridColumn1.OptionsColumn.AllowEdit = false;
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 3;
     //
     // gridColumn9
     //
     this.gridColumn9.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn9.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn9.Caption   = "Disponible";
     this.gridColumn9.FieldName = "EPed";
     this.gridColumn9.Name      = "gridColumn9";
     this.gridColumn9.OptionsColumn.AllowEdit = false;
     this.gridColumn9.Visible      = true;
     this.gridColumn9.VisibleIndex = 4;
     //
     // gridColumn2
     //
     this.gridColumn2.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn2.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn2.Caption   = "Existencia Sucursal";
     this.gridColumn2.FieldName = "Existencia";
     this.gridColumn2.Name      = "gridColumn2";
     this.gridColumn2.OptionsColumn.AllowEdit = false;
     this.gridColumn2.Visible      = true;
     this.gridColumn2.VisibleIndex = 5;
     //
     // gridColumn3
     //
     this.gridColumn3.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn3.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn3.Caption   = "Menudeo";
     this.gridColumn3.FieldName = "Tic";
     this.gridColumn3.Name      = "gridColumn3";
     this.gridColumn3.OptionsColumn.AllowEdit = false;
     this.gridColumn3.Visible      = true;
     this.gridColumn3.VisibleIndex = 6;
     //
     // gridColumn4
     //
     this.gridColumn4.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn4.Caption   = "Mayoreo";
     this.gridColumn4.FieldName = "May";
     this.gridColumn4.Name      = "gridColumn4";
     this.gridColumn4.OptionsColumn.AllowEdit = false;
     this.gridColumn4.Visible      = true;
     this.gridColumn4.VisibleIndex = 7;
     //
     // gridColumn5
     //
     this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn5.Caption   = "Venta Total";
     this.gridColumn5.FieldName = "vTotal";
     this.gridColumn5.Name      = "gridColumn5";
     this.gridColumn5.OptionsColumn.AllowEdit = false;
     this.gridColumn5.Visible      = true;
     this.gridColumn5.VisibleIndex = 8;
     //
     // Promed
     //
     this.Promed.AppearanceHeader.Options.UseTextOptions = true;
     this.Promed.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.Promed.Caption   = "Promedio";
     this.Promed.FieldName = "Prom";
     this.Promed.Name      = "Promed";
     this.Promed.OptionsColumn.AllowEdit = false;
     this.Promed.Visible      = true;
     this.Promed.VisibleIndex = 9;
     //
     // bandedGridColumn7
     //
     this.bandedGridColumn7.AppearanceHeader.Options.UseTextOptions = true;
     this.bandedGridColumn7.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.bandedGridColumn7.Caption   = "Ideal";
     this.bandedGridColumn7.FieldName = "Ideal";
     this.bandedGridColumn7.Name      = "bandedGridColumn7";
     this.bandedGridColumn7.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn7.Visible      = true;
     this.bandedGridColumn7.VisibleIndex = 10;
     //
     // bandedGridColumn4
     //
     this.bandedGridColumn4.AppearanceHeader.Options.UseTextOptions = true;
     this.bandedGridColumn4.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.bandedGridColumn4.Caption   = "Ideal Real";
     this.bandedGridColumn4.FieldName = "IdReal";
     this.bandedGridColumn4.Name      = "bandedGridColumn4";
     this.bandedGridColumn4.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn4.Visible      = true;
     this.bandedGridColumn4.VisibleIndex = 11;
     //
     // bandedGridColumn9
     //
     this.bandedGridColumn9.AppearanceHeader.Options.UseTextOptions = true;
     this.bandedGridColumn9.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.bandedGridColumn9.Caption   = "Faltante";
     this.bandedGridColumn9.FieldName = "Falt";
     this.bandedGridColumn9.Name      = "bandedGridColumn9";
     this.bandedGridColumn9.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn9.Visible      = true;
     this.bandedGridColumn9.VisibleIndex = 12;
     //
     // gridColumn6
     //
     this.gridColumn6.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn6.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn6.Caption   = "Pedido";
     this.gridColumn6.FieldName = "Pedido";
     this.gridColumn6.Name      = "gridColumn6";
     this.gridColumn6.OptionsColumn.AllowEdit = false;
     this.gridColumn6.Visible      = true;
     this.gridColumn6.VisibleIndex = 13;
     //
     // CoberturaA
     //
     this.CoberturaA.AppearanceHeader.Options.UseTextOptions = true;
     this.CoberturaA.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.CoberturaA.Caption   = "Cobertura Actual";
     this.CoberturaA.FieldName = "CobAct";
     this.CoberturaA.Name      = "CoberturaA";
     this.CoberturaA.OptionsColumn.AllowEdit = false;
     this.CoberturaA.Visible      = true;
     this.CoberturaA.VisibleIndex = 14;
     //
     // CoberturaN
     //
     this.CoberturaN.AppearanceHeader.Options.UseTextOptions = true;
     this.CoberturaN.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.CoberturaN.Caption   = "Cobertura Nueva";
     this.CoberturaN.FieldName = "CobNva";
     this.CoberturaN.Name      = "CoberturaN";
     this.CoberturaN.OptionsColumn.AllowEdit = false;
     this.CoberturaN.Visible      = true;
     this.CoberturaN.VisibleIndex = 15;
     //
     // repositoryItemTextEdit2
     //
     this.repositoryItemTextEdit2.AutoHeight    = false;
     this.repositoryItemTextEdit2.Mask.EditMask = "n0";
     this.repositoryItemTextEdit2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEdit2.Name          = "repositoryItemTextEdit2";
     //
     // repositoryItemTextEdit3
     //
     this.repositoryItemTextEdit3.AutoHeight = false;
     this.repositoryItemTextEdit3.Name       = "repositoryItemTextEdit3";
     //
     // repositoryItemTextEdit4
     //
     this.repositoryItemTextEdit4.AutoHeight    = false;
     this.repositoryItemTextEdit4.Mask.EditMask = "n0";
     this.repositoryItemTextEdit4.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEdit4.Name          = "repositoryItemTextEdit4";
     //
     // Frm_Pedidos_Sucursales
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1480, 505);
     this.Controls.Add(this.panelControl2);
     this.Controls.Add(this.panelControl1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name  = "Frm_Pedidos_Sucursales";
     this.Text  = "Frm_Pedidos_Sucursales";
     this.Load += new System.EventHandler(this.Frm_Pedidos_Sucursales_Load);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txtMesesVenta.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cmbTiendasSurtir.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cboSucursales.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtFin.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtFin.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtInicio.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtInicio.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dtgPedidos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dtgValPedidos)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit4)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule3 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression3 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.colNK_THAOTAC            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gcGrid                   = new DevExpress.XtraGrid.GridControl();
     this.gvGrid                   = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colNK_ID                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNK_BANG               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNK_USERNAME           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNK_NGAY               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNK_GIATRI_CU          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repMemo                  = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
     this.colNK_GIATRI_MOI         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.seSTT                    = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit();
     this.btnControl               = new ControlsLib.ButtonsArray();
     this.panelControl1            = new DevExpress.XtraEditors.PanelControl();
     this.repositoryItemImageEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageEdit();
     this.repositoryItemSpinEdit1  = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit();
     this.repositoryItemImageEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemImageEdit();
     this.SpinEditDonGiaBan        = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit();
     this.lueLoaiHang              = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.txtMaHang                = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.calEdit                  = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.lueDonViTinh             = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.DtNgay                   = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     ((System.ComponentModel.ISupportInitialize)(this.gcGrid)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvGrid)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repMemo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.seSTT)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.SpinEditDonGiaBan)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lueLoaiHang)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtMaHang)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.calEdit)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lueDonViTinh)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DtNgay)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DtNgay.CalendarTimeProperties)).BeginInit();
     this.SuspendLayout();
     //
     // colNK_THAOTAC
     //
     this.colNK_THAOTAC.Caption      = "Thao tác";
     this.colNK_THAOTAC.FieldName    = "NK_THAOTAC";
     this.colNK_THAOTAC.Name         = "colNK_THAOTAC";
     this.colNK_THAOTAC.Visible      = true;
     this.colNK_THAOTAC.VisibleIndex = 3;
     this.colNK_THAOTAC.Width        = 70;
     //
     // gcGrid
     //
     this.gcGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gcGrid.EmbeddedNavigator.Buttons.Append.Visible     = false;
     this.gcGrid.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.gcGrid.EmbeddedNavigator.Buttons.Edit.Visible       = false;
     this.gcGrid.EmbeddedNavigator.Buttons.EndEdit.Visible    = false;
     this.gcGrid.EmbeddedNavigator.Buttons.Remove.Visible     = false;
     this.gcGrid.EmbeddedNavigator.TextStringFormat           = "Dòng {0} / {1}";
     this.gcGrid.Location = new System.Drawing.Point(0, 0);
     this.gcGrid.MainView = this.gvGrid;
     this.gcGrid.Name     = "gcGrid";
     this.gcGrid.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.seSTT,
         this.repMemo
     });
     this.gcGrid.Size                 = new System.Drawing.Size(758, 445);
     this.gcGrid.TabIndex             = 22;
     this.gcGrid.UseEmbeddedNavigator = true;
     this.gcGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gvGrid
     });
     //
     // gvGrid
     //
     this.gvGrid.Appearance.HeaderPanel.Font                   = new System.Drawing.Font("Tahoma", 9F);
     this.gvGrid.Appearance.HeaderPanel.Options.UseFont        = true;
     this.gvGrid.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gvGrid.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gvGrid.Appearance.Row.Font            = new System.Drawing.Font("Tahoma", 9F);
     this.gvGrid.Appearance.Row.Options.UseFont = true;
     this.gvGrid.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colNK_ID,
         this.colNK_BANG,
         this.colNK_THAOTAC,
         this.colNK_USERNAME,
         this.colNK_NGAY,
         this.colNK_GIATRI_CU,
         this.colNK_GIATRI_MOI
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Column     = this.colNK_THAOTAC;
     gridFormatRule1.Name       = "Format0";
     formatConditionRuleExpression1.Appearance.Font                 = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     formatConditionRuleExpression1.Appearance.ForeColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression1.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression1.Appearance.Options.UseForeColor = true;
     formatConditionRuleExpression1.Expression = "[NK_THAOTAC] == \'Xóa\'";
     gridFormatRule1.Rule       = formatConditionRuleExpression1;
     gridFormatRule2.ApplyToRow = true;
     gridFormatRule2.Column     = this.colNK_THAOTAC;
     gridFormatRule2.Name       = "Format1";
     formatConditionRuleExpression2.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     formatConditionRuleExpression2.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression2.Expression = "[NK_THAOTAC] == \'Thêm\'";
     gridFormatRule2.Rule       = formatConditionRuleExpression2;
     gridFormatRule3.ApplyToRow = true;
     gridFormatRule3.Column     = this.colNK_THAOTAC;
     gridFormatRule3.Name       = "Format2";
     formatConditionRuleExpression3.Appearance.BackColor            = System.Drawing.SystemColors.GradientActiveCaption;
     formatConditionRuleExpression3.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression3.Expression = "[NK_THAOTAC] == \'Sửa\'";
     gridFormatRule3.Rule = formatConditionRuleExpression3;
     this.gvGrid.FormatRules.Add(gridFormatRule1);
     this.gvGrid.FormatRules.Add(gridFormatRule2);
     this.gvGrid.FormatRules.Add(gridFormatRule3);
     this.gvGrid.GridControl                = this.gcGrid;
     this.gvGrid.Name                       = "gvGrid";
     this.gvGrid.NewItemRowText             = "Nhấp vào đây để thêm dòng dữ liệu mới";
     this.gvGrid.OptionsView.RowAutoHeight  = true;
     this.gvGrid.OptionsView.ShowGroupPanel = false;
     this.gvGrid.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
         new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colNK_NGAY, DevExpress.Data.ColumnSortOrder.Descending)
     });
     //
     // colNK_ID
     //
     this.colNK_ID.Caption   = "NK_ID";
     this.colNK_ID.FieldName = "NK_ID";
     this.colNK_ID.Name      = "colNK_ID";
     //
     // colNK_BANG
     //
     this.colNK_BANG.Caption      = "Bảng dữ liệu";
     this.colNK_BANG.FieldName    = "NK_BANG";
     this.colNK_BANG.Name         = "colNK_BANG";
     this.colNK_BANG.Visible      = true;
     this.colNK_BANG.VisibleIndex = 0;
     this.colNK_BANG.Width        = 85;
     //
     // colNK_USERNAME
     //
     this.colNK_USERNAME.Caption      = "Người dùng";
     this.colNK_USERNAME.FieldName    = "NK_USERNAME";
     this.colNK_USERNAME.Name         = "colNK_USERNAME";
     this.colNK_USERNAME.Visible      = true;
     this.colNK_USERNAME.VisibleIndex = 2;
     this.colNK_USERNAME.Width        = 87;
     //
     // colNK_NGAY
     //
     this.colNK_NGAY.Caption = "Ngày";
     this.colNK_NGAY.DisplayFormat.FormatString = "dd/MM/yyyy HH:mm:ss";
     this.colNK_NGAY.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.colNK_NGAY.FieldName    = "NK_NGAY";
     this.colNK_NGAY.Name         = "colNK_NGAY";
     this.colNK_NGAY.Visible      = true;
     this.colNK_NGAY.VisibleIndex = 1;
     this.colNK_NGAY.Width        = 80;
     //
     // colNK_GIATRI_CU
     //
     this.colNK_GIATRI_CU.Caption    = "Giá trị cũ";
     this.colNK_GIATRI_CU.ColumnEdit = this.repMemo;
     this.colNK_GIATRI_CU.FieldName  = "NK_GIATRI_CU";
     this.colNK_GIATRI_CU.Name       = "colNK_GIATRI_CU";
     this.colNK_GIATRI_CU.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colNK_GIATRI_CU.Visible      = true;
     this.colNK_GIATRI_CU.VisibleIndex = 4;
     this.colNK_GIATRI_CU.Width        = 186;
     //
     // repMemo
     //
     this.repMemo.Name = "repMemo";
     //
     // colNK_GIATRI_MOI
     //
     this.colNK_GIATRI_MOI.Caption    = "Giá trị mới";
     this.colNK_GIATRI_MOI.ColumnEdit = this.repMemo;
     this.colNK_GIATRI_MOI.FieldName  = "NK_GIATRI_MOI";
     this.colNK_GIATRI_MOI.Name       = "colNK_GIATRI_MOI";
     this.colNK_GIATRI_MOI.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.colNK_GIATRI_MOI.Visible      = true;
     this.colNK_GIATRI_MOI.VisibleIndex = 5;
     this.colNK_GIATRI_MOI.Width        = 206;
     //
     // seSTT
     //
     this.seSTT.AutoHeight = false;
     this.seSTT.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.seSTT.Name = "seSTT";
     //
     // btnControl
     //
     this.btnControl.btnAddIndex           = 0;
     this.btnControl.btnBackColor          = System.Drawing.Color.Transparent;
     this.btnControl.btnCloseIndex         = 9;
     this.btnControl.btnDeleteIndex        = 2;
     this.btnControl.btnExcelIndex         = 8;
     this.btnControl.btnModifyIndex        = 1;
     this.btnControl.btnPrintIndex         = 6;
     this.btnControl.btnReportIndex        = 4;
     this.btnControl.btnSelectIndex        = 3;
     this.btnControl.btnSize               = new System.Drawing.Size(75, 36);
     this.btnControl.btnStyleGroup         = ControlsLib.ButtonsArray.StyleGroupEnum.None;
     this.btnControl.btnViewIndex          = 5;
     this.btnControl.btnWordIndex          = 7;
     this.btnControl.ButtonAddEnabled      = true;
     this.btnControl.ButtonAddVisible      = false;
     this.btnControl.ButtonBackgroundImage = null;
     this.btnControl.ButtonCancelEnabled   = true;
     this.btnControl.ButtonCloseEnabled    = true;
     this.btnControl.ButtonCloseVisible    = true;
     this.btnControl.ButtonDeleteEnabled   = true;
     this.btnControl.ButtonDeleteVisible   = false;
     this.btnControl.ButtonExcelEnabled    = true;
     this.btnControl.ButtonExcelVisible    = false;
     this.btnControl.ButtonForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(32)))), ((int)(((byte)(31)))), ((int)(((byte)(53)))));
     this.btnControl.ButtonModifyEnabled   = true;
     this.btnControl.ButtonModifyText      = ControlsLib.ButtonsArray.UpdateEnum.Modify;
     this.btnControl.ButtonModifyVisible   = false;
     this.btnControl.ButtonPrintEnabled    = true;
     this.btnControl.ButtonPrintVisible    = false;
     this.btnControl.ButtonReportEnabled   = true;
     this.btnControl.ButtonReportVisible   = false;
     this.btnControl.ButtonSaveEnabled     = true;
     this.btnControl.ButtonSelectEnabled   = true;
     this.btnControl.ButtonSelectVisible   = false;
     this.btnControl.ButtonSpacing         = 3;
     this.btnControl.ButtonStyle           = ControlsLib.ButtonsArray.StyleEnum.Row;
     this.btnControl.ButtonViewEnabled     = true;
     this.btnControl.ButtonViewVisible     = true;
     this.btnControl.ButtonWordEnabled     = true;
     this.btnControl.ButtonWordVisible     = false;
     this.btnControl.Dock                = System.Windows.Forms.DockStyle.Right;
     this.btnControl.FlatStyle           = DevExpress.XtraEditors.Controls.BorderStyles.Default;
     this.btnControl.GroupBoxShow        = false;
     this.btnControl.Location            = new System.Drawing.Point(581, 0);
     this.btnControl.Name                = "btnControl";
     this.btnControl.Size                = new System.Drawing.Size(177, 60);
     this.btnControl.Status              = ControlsLib.ButtonsArray.StateEnum.View;
     this.btnControl.TabIndex            = 0;
     this.btnControl.btnEventView_Click += new System.EventHandler(this.btnControl_btnEventView_Click);
     //
     // panelControl1
     //
     this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl1.Controls.Add(this.btnControl);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panelControl1.Location = new System.Drawing.Point(0, 445);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(758, 60);
     this.panelControl1.TabIndex = 21;
     //
     // repositoryItemImageEdit1
     //
     this.repositoryItemImageEdit1.AutoHeight = false;
     this.repositoryItemImageEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemImageEdit1.Name = "repositoryItemImageEdit1";
     //
     // repositoryItemSpinEdit1
     //
     this.repositoryItemSpinEdit1.AutoHeight = false;
     this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton()
     });
     this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1";
     //
     // repositoryItemImageEdit2
     //
     this.repositoryItemImageEdit2.AutoHeight = false;
     this.repositoryItemImageEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemImageEdit2.Name = "repositoryItemImageEdit2";
     //
     // SpinEditDonGiaBan
     //
     this.SpinEditDonGiaBan.AutoHeight = false;
     this.SpinEditDonGiaBan.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton()
     });
     this.SpinEditDonGiaBan.DisplayFormat.FormatString = "###,###.###";
     this.SpinEditDonGiaBan.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.SpinEditDonGiaBan.EditFormat.FormatString    = "###,###.###";
     this.SpinEditDonGiaBan.EditFormat.FormatType      = DevExpress.Utils.FormatType.Numeric;
     this.SpinEditDonGiaBan.Name     = "SpinEditDonGiaBan";
     this.SpinEditDonGiaBan.ReadOnly = true;
     //
     // lueLoaiHang
     //
     this.lueLoaiHang.AutoHeight = false;
     this.lueLoaiHang.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo),
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete)
     });
     this.lueLoaiHang.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
         new DevExpress.XtraEditors.Controls.LookUpColumnInfo("IDLoaiHang", "ID", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
         new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TenLoai", "Loại hàng")
     });
     this.lueLoaiHang.DisplayMember = "TenLoai";
     this.lueLoaiHang.Name          = "lueLoaiHang";
     this.lueLoaiHang.NullText      = "";
     this.lueLoaiHang.ValueMember   = "IDLoaiHang";
     //
     // txtMaHang
     //
     this.txtMaHang.AutoHeight = false;
     this.txtMaHang.Name       = "txtMaHang";
     this.txtMaHang.ReadOnly   = true;
     //
     // calEdit
     //
     this.calEdit.AutoHeight = false;
     this.calEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.calEdit.DisplayFormat.FormatString = "###,###.###";
     this.calEdit.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.calEdit.EditFormat.FormatString    = "###,###.###";
     this.calEdit.EditFormat.FormatType      = DevExpress.Utils.FormatType.Numeric;
     this.calEdit.Name = "calEdit";
     //
     // lueDonViTinh
     //
     this.lueDonViTinh.AutoHeight = false;
     this.lueDonViTinh.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo),
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete)
     });
     this.lueDonViTinh.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
         new DevExpress.XtraEditors.Controls.LookUpColumnInfo("IDDVT", "ID", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
         new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TENDVT", "Đơn vị tính")
     });
     this.lueDonViTinh.DisplayMember = "TENDVT";
     this.lueDonViTinh.Name          = "lueDonViTinh";
     this.lueDonViTinh.NullText      = "";
     this.lueDonViTinh.ValueMember   = "IDDVT";
     //
     // DtNgay
     //
     this.DtNgay.AutoHeight = false;
     this.DtNgay.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.DtNgay.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton()
     });
     this.DtNgay.Name = "DtNgay";
     //
     // ucNhatKy
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.gcGrid);
     this.Controls.Add(this.panelControl1);
     this.Name  = "ucNhatKy";
     this.Size  = new System.Drawing.Size(758, 505);
     this.Load += new System.EventHandler(this.ucDMNhuCau_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gcGrid)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvGrid)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repMemo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.seSTT)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.SpinEditDonGiaBan)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lueLoaiHang)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtMaHang)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.calEdit)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lueDonViTinh)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DtNgay.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DtNgay)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     System.ComponentModel.ComponentResourceManager       resources = new System.ComponentModel.ComponentResourceManager(typeof(frmOutSourceList));
     this.GridControl1     = new DevExpress.XtraGrid.GridControl();
     this.gridView1        = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colNo            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colOrderDate     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colRequestDate   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSO            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colRBO           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustomerPO    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCustomerItem  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colItem          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colQty           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMaterial      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colLength        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMaterialQty   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSKU           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCut           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colFold          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colGopDon        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDJ            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colPO            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNote          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colXacNhan       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSCD1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDanhSach      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNhanVien      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
     this.btnPaste         = new DevExpress.XtraEditors.SimpleButton();
     this.btnSave          = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton6    = new DevExpress.XtraEditors.SimpleButton();
     this.bbiOutSourceList = new DevExpress.XtraEditors.SimpleButton();
     this.btnPackingList   = new DevExpress.XtraEditors.SimpleButton();
     this.btnRefresh       = new DevExpress.XtraEditors.SimpleButton();
     this.btnXoa           = new DevExpress.XtraEditors.SimpleButton();
     this.label2           = new System.Windows.Forms.Label();
     this.dateEdit1        = new DevExpress.XtraEditors.DateEdit();
     this.label1           = new System.Windows.Forms.Label();
     this.txtDanhSach      = new DevExpress.XtraEditors.SpinEdit();
     this.check            = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl1    = new DevExpress.XtraEditors.PanelControl();
     ((System.ComponentModel.ISupportInitialize)(this.GridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.flowLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtDanhSach.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.check.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // GridControl1
     //
     this.GridControl1.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.GridControl1.Location             = new System.Drawing.Point(0, 49);
     this.GridControl1.MainView             = this.gridView1;
     this.GridControl1.Name                 = "GridControl1";
     this.GridControl1.Size                 = new System.Drawing.Size(1407, 616);
     this.GridControl1.TabIndex             = 32;
     this.GridControl1.UseEmbeddedNavigator = true;
     this.GridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colNo,
         this.colOrderDate,
         this.colRequestDate,
         this.colSO,
         this.colRBO,
         this.colCustomerPO,
         this.colCustomerItem,
         this.colItem,
         this.colQty,
         this.colMaterial,
         this.colLength,
         this.colMaterialQty,
         this.colSKU,
         this.colCut,
         this.colFold,
         this.colDJ,
         this.colGopDon,
         this.colPO,
         this.colNote,
         this.colXacNhan,
         this.colSCD1,
         this.colDanhSach,
         this.colNhanVien
     });
     gridFormatRule1.Name = "Format0";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.gridView1.FormatRules.Add(gridFormatRule1);
     this.gridView1.GridControl = this.GridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsClipboard.AllowExcelFormat            = DevExpress.Utils.DefaultBoolean.True;
     this.gridView1.OptionsEditForm.EditFormColumnCount          = 1;
     this.gridView1.OptionsFilter.AllowAutoFilterConditionChange = DevExpress.Utils.DefaultBoolean.True;
     this.gridView1.OptionsMenu.ShowConditionalFormattingItem    = true;
     this.gridView1.OptionsPrint.AutoResetPrintDocument          = false;
     this.gridView1.OptionsPrint.EnableAppearanceEvenRow         = true;
     this.gridView1.OptionsPrint.PrintPreview                = true;
     this.gridView1.OptionsPrint.PrintSelectedRowsOnly       = true;
     this.gridView1.OptionsPrint.SplitCellPreviewAcrossPages = true;
     this.gridView1.OptionsSelection.MultiSelect             = true;
     this.gridView1.OptionsSelection.MultiSelectMode         = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
     this.gridView1.OptionsView.ShowAutoFilterRow            = true;
     this.gridView1.OptionsView.ShowFooter     = true;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     this.gridView1.RowCellStyle += new DevExpress.XtraGrid.Views.Grid.RowCellStyleEventHandler(this.gridView1_RowCellStyle);
     this.gridView1.RowStyle     += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gridView1_RowStyle);
     this.gridView1.RowUpdated   += new DevExpress.XtraGrid.Views.Base.RowObjectEventHandler(this.gridView1_RowUpdated);
     //
     // colNo
     //
     this.colNo.FieldName    = "No";
     this.colNo.Name         = "colNo";
     this.colNo.Visible      = true;
     this.colNo.VisibleIndex = 1;
     //
     // colOrderDate
     //
     this.colOrderDate.FieldName    = "OrderDate";
     this.colOrderDate.Name         = "colOrderDate";
     this.colOrderDate.Visible      = true;
     this.colOrderDate.VisibleIndex = 4;
     //
     // colRequestDate
     //
     this.colRequestDate.FieldName    = "RequestDate";
     this.colRequestDate.Name         = "colRequestDate";
     this.colRequestDate.Visible      = true;
     this.colRequestDate.VisibleIndex = 5;
     //
     // colSO
     //
     this.colSO.FieldName    = "SO";
     this.colSO.Name         = "colSO";
     this.colSO.Visible      = true;
     this.colSO.VisibleIndex = 3;
     //
     // colRBO
     //
     this.colRBO.FieldName    = "RBO";
     this.colRBO.Name         = "colRBO";
     this.colRBO.Visible      = true;
     this.colRBO.VisibleIndex = 6;
     //
     // colCustomerPO
     //
     this.colCustomerPO.FieldName    = "CustomerPO";
     this.colCustomerPO.Name         = "colCustomerPO";
     this.colCustomerPO.Visible      = true;
     this.colCustomerPO.VisibleIndex = 7;
     //
     // colCustomerItem
     //
     this.colCustomerItem.FieldName    = "CustomerItem";
     this.colCustomerItem.Name         = "colCustomerItem";
     this.colCustomerItem.Visible      = true;
     this.colCustomerItem.VisibleIndex = 8;
     //
     // colItem
     //
     this.colItem.FieldName    = "Item";
     this.colItem.Name         = "colItem";
     this.colItem.Visible      = true;
     this.colItem.VisibleIndex = 9;
     //
     // colQty
     //
     this.colQty.FieldName = "Qty";
     this.colQty.Name      = "colQty";
     this.colQty.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Qty", "TỔNG = {0:#,#}")
     });
     this.colQty.Visible      = true;
     this.colQty.VisibleIndex = 10;
     //
     // colMaterial
     //
     this.colMaterial.FieldName    = "Material";
     this.colMaterial.Name         = "colMaterial";
     this.colMaterial.Visible      = true;
     this.colMaterial.VisibleIndex = 11;
     //
     // colLength
     //
     this.colLength.FieldName    = "Length";
     this.colLength.Name         = "colLength";
     this.colLength.Visible      = true;
     this.colLength.VisibleIndex = 12;
     //
     // colMaterialQty
     //
     this.colMaterialQty.FieldName    = "MaterialQty";
     this.colMaterialQty.Name         = "colMaterialQty";
     this.colMaterialQty.Visible      = true;
     this.colMaterialQty.VisibleIndex = 13;
     //
     // colSKU
     //
     this.colSKU.FieldName    = "SKU";
     this.colSKU.Name         = "colSKU";
     this.colSKU.Visible      = true;
     this.colSKU.VisibleIndex = 14;
     //
     // colCut
     //
     this.colCut.FieldName    = "Cut";
     this.colCut.Name         = "colCut";
     this.colCut.Visible      = true;
     this.colCut.VisibleIndex = 15;
     //
     // colFold
     //
     this.colFold.FieldName    = "Fold";
     this.colFold.Name         = "colFold";
     this.colFold.Visible      = true;
     this.colFold.VisibleIndex = 16;
     //
     // colGopDon
     //
     this.colGopDon.FieldName    = "GopDon";
     this.colGopDon.Name         = "colGopDon";
     this.colGopDon.Visible      = true;
     this.colGopDon.VisibleIndex = 21;
     //
     // colDJ
     //
     this.colDJ.Caption      = "DJ";
     this.colDJ.FieldName    = "DJ";
     this.colDJ.Name         = "colDJ";
     this.colDJ.Visible      = true;
     this.colDJ.VisibleIndex = 17;
     //
     // colPO
     //
     this.colPO.Caption      = "PO";
     this.colPO.FieldName    = "PO";
     this.colPO.Name         = "colPO";
     this.colPO.Visible      = true;
     this.colPO.VisibleIndex = 18;
     //
     // colNote
     //
     this.colNote.Caption      = "Note";
     this.colNote.FieldName    = "Note";
     this.colNote.Name         = "colNote";
     this.colNote.Visible      = true;
     this.colNote.VisibleIndex = 19;
     //
     // colXacNhan
     //
     this.colXacNhan.FieldName = "XacNhan";
     this.colXacNhan.Name      = "colXacNhan";
     //
     // colSCD1
     //
     this.colSCD1.Caption      = "SCD";
     this.colSCD1.FieldName    = "scd";
     this.colSCD1.Name         = "colSCD1";
     this.colSCD1.Visible      = true;
     this.colSCD1.VisibleIndex = 2;
     //
     // colDanhSach
     //
     this.colDanhSach.Caption      = "Danh Sách";
     this.colDanhSach.FieldName    = "DanhSach";
     this.colDanhSach.Name         = "colDanhSach";
     this.colDanhSach.Visible      = true;
     this.colDanhSach.VisibleIndex = 20;
     //
     // colNhanVien
     //
     this.colNhanVien.Caption   = "Nhân Viên";
     this.colNhanVien.FieldName = "NhanVien";
     this.colNhanVien.Name      = "colNhanVien";
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Controls.Add(this.btnPaste);
     this.flowLayoutPanel1.Controls.Add(this.btnSave);
     this.flowLayoutPanel1.Controls.Add(this.simpleButton6);
     this.flowLayoutPanel1.Controls.Add(this.bbiOutSourceList);
     this.flowLayoutPanel1.Controls.Add(this.btnPackingList);
     this.flowLayoutPanel1.Controls.Add(this.btnRefresh);
     this.flowLayoutPanel1.Controls.Add(this.btnXoa);
     this.flowLayoutPanel1.Controls.Add(this.label2);
     this.flowLayoutPanel1.Controls.Add(this.dateEdit1);
     this.flowLayoutPanel1.Controls.Add(this.label1);
     this.flowLayoutPanel1.Controls.Add(this.txtDanhSach);
     this.flowLayoutPanel1.Controls.Add(this.check);
     this.flowLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.flowLayoutPanel1.Location = new System.Drawing.Point(2, 2);
     this.flowLayoutPanel1.Name     = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size     = new System.Drawing.Size(1403, 45);
     this.flowLayoutPanel1.TabIndex = 36;
     //
     // btnPaste
     //
     this.btnPaste.Dock = System.Windows.Forms.DockStyle.Fill;
     this.btnPaste.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnPaste.ImageOptions.Image")));
     this.btnPaste.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnPaste.ImageOptions.SvgImage")));
     this.btnPaste.Location = new System.Drawing.Point(3, 3);
     this.btnPaste.Name     = "btnPaste";
     this.btnPaste.Size     = new System.Drawing.Size(100, 40);
     this.btnPaste.TabIndex = 8;
     this.btnPaste.Text     = "PASTE";
     this.btnPaste.Click   += new System.EventHandler(this.btnPaste_Click);
     //
     // btnSave
     //
     this.btnSave.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnSave.ImageOptions.Image")));
     this.btnSave.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnSave.ImageOptions.SvgImage")));
     this.btnSave.Location = new System.Drawing.Point(109, 3);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(100, 40);
     this.btnSave.TabIndex = 7;
     this.btnSave.Text     = "SAVE";
     this.btnSave.Click   += new System.EventHandler(this.btnSave_Click);
     //
     // simpleButton6
     //
     this.simpleButton6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.simpleButton6.ImageOptions.Image    = global::QuanLySanXuat.Properties.Resources.apply_32x32;
     this.simpleButton6.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("simpleButton6.ImageOptions.SvgImage")));
     this.simpleButton6.Location = new System.Drawing.Point(215, 3);
     this.simpleButton6.Name     = "simpleButton6";
     this.simpleButton6.Size     = new System.Drawing.Size(114, 40);
     this.simpleButton6.TabIndex = 42;
     this.simpleButton6.Text     = "CONFIRM";
     this.simpleButton6.Click   += new System.EventHandler(this.simpleButton6_Click);
     //
     // bbiOutSourceList
     //
     this.bbiOutSourceList.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("bbiOutSourceList.ImageOptions.Image")));
     this.bbiOutSourceList.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("bbiOutSourceList.ImageOptions.SvgImage")));
     this.bbiOutSourceList.Location = new System.Drawing.Point(335, 3);
     this.bbiOutSourceList.Name     = "bbiOutSourceList";
     this.bbiOutSourceList.Size     = new System.Drawing.Size(142, 40);
     this.bbiOutSourceList.TabIndex = 44;
     this.bbiOutSourceList.Text     = "OUT SOURCE LIST";
     this.bbiOutSourceList.Click   += new System.EventHandler(this.bbiOutSourceList_Click);
     //
     // btnPackingList
     //
     this.btnPackingList.Dock = System.Windows.Forms.DockStyle.Fill;
     this.btnPackingList.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnPackingList.ImageOptions.Image")));
     this.btnPackingList.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnPackingList.ImageOptions.SvgImage")));
     this.btnPackingList.Location = new System.Drawing.Point(483, 3);
     this.btnPackingList.Name     = "btnPackingList";
     this.btnPackingList.Size     = new System.Drawing.Size(127, 40);
     this.btnPackingList.TabIndex = 6;
     this.btnPackingList.Text     = "PACKING LIST";
     this.btnPackingList.Click   += new System.EventHandler(this.btnPackingList_Click);
     //
     // btnRefresh
     //
     this.btnRefresh.Dock = System.Windows.Forms.DockStyle.Fill;
     this.btnRefresh.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnRefresh.ImageOptions.SvgImage")));
     this.btnRefresh.Location = new System.Drawing.Point(616, 3);
     this.btnRefresh.Name     = "btnRefresh";
     this.btnRefresh.Size     = new System.Drawing.Size(100, 40);
     this.btnRefresh.TabIndex = 10;
     this.btnRefresh.Text     = "REFRESH";
     this.btnRefresh.Click   += new System.EventHandler(this.btnRefresh_Click);
     //
     // btnXoa
     //
     this.btnXoa.Dock = System.Windows.Forms.DockStyle.Fill;
     this.btnXoa.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnXoa.ImageOptions.Image")));
     this.btnXoa.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("btnXoa.ImageOptions.SvgImage")));
     this.btnXoa.Location = new System.Drawing.Point(722, 3);
     this.btnXoa.Name     = "btnXoa";
     this.btnXoa.Size     = new System.Drawing.Size(94, 40);
     this.btnXoa.TabIndex = 43;
     this.btnXoa.Text     = "DELETE";
     this.btnXoa.Click   += new System.EventHandler(this.btnXoa_Click);
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label2.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(822, 0);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(109, 46);
     this.label2.TabIndex  = 45;
     this.label2.Text      = "NGÀY XUỐNG ĐƠN:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // dateEdit1
     //
     this.dateEdit1.EditValue = new System.DateTime(((long)(0)));
     this.dateEdit1.Location  = new System.Drawing.Point(937, 3);
     this.dateEdit1.Name      = "dateEdit1";
     this.dateEdit1.Properties.Appearance.Font            = new System.Drawing.Font("Tahoma", 20F);
     this.dateEdit1.Properties.Appearance.Options.UseFont = true;
     this.dateEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.dateEdit1.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.dateEdit1.Size              = new System.Drawing.Size(171, 40);
     this.dateEdit1.TabIndex          = 46;
     this.dateEdit1.EditValueChanged += new System.EventHandler(this.dateEdit1_EditValueChanged);
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.label1.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(1114, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(35, 46);
     this.label1.TabIndex  = 11;
     this.label1.Text      = "LIST:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // txtDanhSach
     //
     this.txtDanhSach.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.txtDanhSach.EditValue = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.txtDanhSach.Location = new System.Drawing.Point(1155, 3);
     this.txtDanhSach.Name     = "txtDanhSach";
     this.txtDanhSach.Properties.Appearance.Font            = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtDanhSach.Properties.Appearance.Options.UseFont = true;
     this.txtDanhSach.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.txtDanhSach.Properties.IsFloatValue  = false;
     this.txtDanhSach.Properties.Mask.EditMask = "N00";
     this.txtDanhSach.Size              = new System.Drawing.Size(50, 40);
     this.txtDanhSach.TabIndex          = 12;
     this.txtDanhSach.EditValueChanged += new System.EventHandler(this.txtDanhSach_EditValueChanged);
     //
     // check
     //
     this.check.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.check.Location           = new System.Drawing.Point(1211, 3);
     this.check.Name               = "check";
     this.check.Properties.Caption = "All Out Source List";
     this.check.Size               = new System.Drawing.Size(131, 40);
     this.check.TabIndex           = 9;
     this.check.CheckedChanged    += new System.EventHandler(this.check_CheckedChanged);
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.flowLayoutPanel1);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(1407, 49);
     this.panelControl1.TabIndex = 31;
     //
     // frmOutSourceList
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1407, 665);
     this.Controls.Add(this.GridControl1);
     this.Controls.Add(this.panelControl1);
     this.Name  = "frmOutSourceList";
     this.Text  = "Out Source List";
     this.Load += new System.EventHandler(this.frmOutSourceList_Load);
     ((System.ComponentModel.ISupportInitialize)(this.GridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtDanhSach.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.check.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager       resources       = new System.ComponentModel.ComponentResourceManager(typeof(UcDANHMUC_DONHANG_DANGSANXUAT));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule3 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression3 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule4 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression4 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule5 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression5 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.STATUS                  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl1           = new DevExpress.XtraEditors.PanelControl();
     this.btnTimKiem              = new DevExpress.XtraEditors.SimpleButton();
     this.label3                  = new System.Windows.Forms.Label();
     this.label2                  = new System.Windows.Forms.Label();
     this.label4                  = new System.Windows.Forms.Label();
     this.label39                 = new System.Windows.Forms.Label();
     this.btnKHSX                 = new DevExpress.XtraEditors.SimpleButton();
     this.dptu_ngay               = new System.Windows.Forms.DateTimePicker();
     this.dpden_ngay              = new System.Windows.Forms.DateTimePicker();
     this.btnLayout_PSX           = new DevExpress.XtraEditors.SimpleButton();
     this.label40                 = new System.Windows.Forms.Label();
     this.cbMaPSX                 = new System.Windows.Forms.ComboBox();
     this.txtPath_KHSX            = new System.Windows.Forms.TextBox();
     this.txtPath_PSX             = new System.Windows.Forms.TextBox();
     this.label5                  = new System.Windows.Forms.Label();
     this.label1                  = new System.Windows.Forms.Label();
     this.txtPath_MaSP            = new System.Windows.Forms.TextBox();
     this.btnXemBV                = new DevExpress.XtraEditors.SimpleButton();
     this.txtTensanpham           = new System.Windows.Forms.TextBox();
     this.txtMasp                 = new System.Windows.Forms.TextBox();
     this.label6                  = new System.Windows.Forms.Label();
     this.btnexport               = new DevExpress.XtraEditors.SimpleButton();
     this.groupControl2           = new DevExpress.XtraEditors.GroupControl();
     this.btnLoadAll              = new DevExpress.XtraEditors.SimpleButton();
     this.gridControl1            = new DevExpress.XtraGrid.GridControl();
     this.gridView1               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.Id                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Ngaylap_KH              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.madh                    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.khachhang               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Masp_grid1              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.sanpham                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn16            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn15            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn14            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemMemoEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
     this.Maubv_grid1             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Soluongsx               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.soluongDH               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.donvi                   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.slnhap                  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.trongluongnhap          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngaynhap                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngaygiao                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.sl_hoanthanh            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.trongluongxuat          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngoaiquan               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ketthucto_grid1         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.DIFFPREDATE             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.soluonglech             = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
     this.groupControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit();
     this.SuspendLayout();
     //
     // STATUS
     //
     this.STATUS.Caption      = "Biểu hiện";
     this.STATUS.FieldName    = "STATUS";
     this.STATUS.Name         = "STATUS";
     this.STATUS.Visible      = true;
     this.STATUS.VisibleIndex = 31;
     this.STATUS.Width        = 107;
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.btnTimKiem);
     this.panelControl1.Controls.Add(this.label3);
     this.panelControl1.Controls.Add(this.label2);
     this.panelControl1.Controls.Add(this.label4);
     this.panelControl1.Controls.Add(this.label39);
     this.panelControl1.Controls.Add(this.btnKHSX);
     this.panelControl1.Controls.Add(this.dptu_ngay);
     this.panelControl1.Controls.Add(this.dpden_ngay);
     this.panelControl1.Controls.Add(this.btnLayout_PSX);
     this.panelControl1.Controls.Add(this.label40);
     this.panelControl1.Controls.Add(this.cbMaPSX);
     this.panelControl1.Controls.Add(this.txtPath_KHSX);
     this.panelControl1.Controls.Add(this.txtPath_PSX);
     this.panelControl1.Controls.Add(this.label5);
     this.panelControl1.Controls.Add(this.label1);
     this.panelControl1.Controls.Add(this.txtPath_MaSP);
     this.panelControl1.Controls.Add(this.btnXemBV);
     this.panelControl1.Controls.Add(this.txtTensanpham);
     this.panelControl1.Controls.Add(this.txtMasp);
     this.panelControl1.Controls.Add(this.label6);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(1431, 64);
     this.panelControl1.TabIndex = 14;
     //
     // btnTimKiem
     //
     this.btnTimKiem.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnTimKiem.ImageOptions.Image")));
     this.btnTimKiem.Location           = new System.Drawing.Point(581, 35);
     this.btnTimKiem.Name     = "btnTimKiem";
     this.btnTimKiem.Size     = new System.Drawing.Size(47, 19);
     this.btnTimKiem.TabIndex = 1033;
     this.btnTimKiem.Text     = "Tìm";
     this.btnTimKiem.Click   += new System.EventHandler(this.btnLoadTime);
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.ForeColor = System.Drawing.Color.Indigo;
     this.label3.Location  = new System.Drawing.Point(8, 38);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(37, 13);
     this.label3.TabIndex  = 1020;
     this.label3.Text      = "MÃ SP";
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.ForeColor = System.Drawing.Color.Indigo;
     this.label2.Location  = new System.Drawing.Point(8, 7);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(53, 13);
     this.label2.TabIndex  = 1020;
     this.label2.Text      = "MÃ HÀNG";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.BackColor = System.Drawing.Color.Transparent;
     this.label4.ForeColor = System.Drawing.Color.Indigo;
     this.label4.Location  = new System.Drawing.Point(250, 7);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(26, 13);
     this.label4.TabIndex  = 1020;
     this.label4.Text      = "TÊN";
     //
     // label39
     //
     this.label39.AutoSize  = true;
     this.label39.BackColor = System.Drawing.Color.Transparent;
     this.label39.ForeColor = System.Drawing.Color.Indigo;
     this.label39.Location  = new System.Drawing.Point(250, 38);
     this.label39.Name      = "label39";
     this.label39.Size      = new System.Drawing.Size(47, 13);
     this.label39.TabIndex  = 1020;
     this.label39.Text      = "Từ ngày";
     //
     // btnKHSX
     //
     this.btnKHSX.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnKHSX.ImageOptions.Image")));
     this.btnKHSX.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
     this.btnKHSX.Location = new System.Drawing.Point(707, 35);
     this.btnKHSX.Name     = "btnKHSX";
     this.btnKHSX.Size     = new System.Drawing.Size(51, 19);
     this.btnKHSX.TabIndex = 1030;
     this.btnKHSX.Text     = "KHSX";
     this.btnKHSX.Click   += new System.EventHandler(this.LoadLayout_KHSX);
     //
     // dptu_ngay
     //
     this.dptu_ngay.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dptu_ngay.Format   = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dptu_ngay.Location = new System.Drawing.Point(307, 34);
     this.dptu_ngay.Name     = "dptu_ngay";
     this.dptu_ngay.Size     = new System.Drawing.Size(97, 21);
     this.dptu_ngay.TabIndex = 1021;
     this.dptu_ngay.TabStop  = false;
     //
     // dpden_ngay
     //
     this.dpden_ngay.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpden_ngay.Format        = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpden_ngay.Location      = new System.Drawing.Point(478, 34);
     this.dpden_ngay.Name          = "dpden_ngay";
     this.dpden_ngay.Size          = new System.Drawing.Size(97, 21);
     this.dpden_ngay.TabIndex      = 1022;
     this.dpden_ngay.TabStop       = false;
     this.dpden_ngay.ValueChanged += new System.EventHandler(this.dpden_ngay_ValueChanged);
     //
     // btnLayout_PSX
     //
     this.btnLayout_PSX.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnLayout_PSX.ImageOptions.Image")));
     this.btnLayout_PSX.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
     this.btnLayout_PSX.Location = new System.Drawing.Point(643, 35);
     this.btnLayout_PSX.Name     = "btnLayout_PSX";
     this.btnLayout_PSX.Size     = new System.Drawing.Size(52, 19);
     this.btnLayout_PSX.TabIndex = 1031;
     this.btnLayout_PSX.Text     = "PSX";
     this.btnLayout_PSX.Click   += new System.EventHandler(this.LoadLayout_PSX);
     //
     // label40
     //
     this.label40.AutoSize  = true;
     this.label40.BackColor = System.Drawing.Color.Transparent;
     this.label40.ForeColor = System.Drawing.Color.Indigo;
     this.label40.Location  = new System.Drawing.Point(421, 38);
     this.label40.Name      = "label40";
     this.label40.Size      = new System.Drawing.Size(54, 13);
     this.label40.TabIndex  = 1019;
     this.label40.Text      = "Đến ngày";
     //
     // cbMaPSX
     //
     this.cbMaPSX.FormattingEnabled = true;
     this.cbMaPSX.Location          = new System.Drawing.Point(73, 3);
     this.cbMaPSX.Name     = "cbMaPSX";
     this.cbMaPSX.Size     = new System.Drawing.Size(159, 21);
     this.cbMaPSX.TabIndex = 1029;
     //
     // txtPath_KHSX
     //
     this.txtPath_KHSX.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPath_KHSX.Location = new System.Drawing.Point(1312, 21);
     this.txtPath_KHSX.Name     = "txtPath_KHSX";
     this.txtPath_KHSX.Size     = new System.Drawing.Size(114, 18);
     this.txtPath_KHSX.TabIndex = 1027;
     this.txtPath_KHSX.Text     = "\\\\Server\\sanxuat_sanxuat\\DM_KEHOACH_SANXUAT";
     //
     // txtPath_PSX
     //
     this.txtPath_PSX.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPath_PSX.Location = new System.Drawing.Point(1312, 40);
     this.txtPath_PSX.Name     = "txtPath_PSX";
     this.txtPath_PSX.Size     = new System.Drawing.Size(114, 18);
     this.txtPath_PSX.TabIndex = 1028;
     this.txtPath_PSX.Text     = "\\\\Server\\sanxuat_sanxuat\\DM_PHIEU_SANXUAT";
     //
     // label5
     //
     this.label5.AutoSize  = true;
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.ForeColor = System.Drawing.Color.Indigo;
     this.label5.Location  = new System.Drawing.Point(1241, 25);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(56, 13);
     this.label5.TabIndex  = 1025;
     this.label5.Text      = "Nơi lưu KH";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.ForeColor = System.Drawing.Color.Indigo;
     this.label1.Location  = new System.Drawing.Point(1241, 41);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(58, 13);
     this.label1.TabIndex  = 1026;
     this.label1.Text      = "Nơi lưuPSX";
     //
     // txtPath_MaSP
     //
     this.txtPath_MaSP.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPath_MaSP.Location = new System.Drawing.Point(1312, 2);
     this.txtPath_MaSP.Name     = "txtPath_MaSP";
     this.txtPath_MaSP.Size     = new System.Drawing.Size(114, 18);
     this.txtPath_MaSP.TabIndex = 1020;
     this.txtPath_MaSP.Text     = "\\\\Server\\kythuat\\DM_SANPHAM";
     //
     // btnXemBV
     //
     this.btnXemBV.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnXemBV.ImageOptions.Image")));
     this.btnXemBV.Location           = new System.Drawing.Point(771, 34);
     this.btnXemBV.Name     = "btnXemBV";
     this.btnXemBV.Size     = new System.Drawing.Size(86, 20);
     this.btnXemBV.TabIndex = 1024;
     this.btnXemBV.Text     = "Gọi bản vẽ";
     this.btnXemBV.Click   += new System.EventHandler(this.btnXemBV_Click);
     //
     // txtTensanpham
     //
     this.txtTensanpham.Location = new System.Drawing.Point(307, 3);
     this.txtTensanpham.Name     = "txtTensanpham";
     this.txtTensanpham.Size     = new System.Drawing.Size(550, 21);
     this.txtTensanpham.TabIndex = 1020;
     //
     // txtMasp
     //
     this.txtMasp.Location = new System.Drawing.Point(73, 34);
     this.txtMasp.Name     = "txtMasp";
     this.txtMasp.Size     = new System.Drawing.Size(159, 21);
     this.txtMasp.TabIndex = 1020;
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.BackColor = System.Drawing.Color.Transparent;
     this.label6.ForeColor = System.Drawing.Color.Indigo;
     this.label6.Location  = new System.Drawing.Point(1241, 5);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(67, 13);
     this.label6.TabIndex  = 1015;
     this.label6.Text      = "Nơi lưuDMSP";
     //
     // btnexport
     //
     this.btnexport.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnexport.ImageOptions.Image")));
     this.btnexport.Location           = new System.Drawing.Point(274, 1);
     this.btnexport.Name     = "btnexport";
     this.btnexport.Size     = new System.Drawing.Size(63, 16);
     this.btnexport.TabIndex = 1032;
     this.btnexport.Text     = "Export";
     this.btnexport.Click   += new System.EventHandler(this.Export);
     //
     // groupControl2
     //
     this.groupControl2.Controls.Add(this.btnLoadAll);
     this.groupControl2.Controls.Add(this.btnexport);
     this.groupControl2.Controls.Add(this.gridControl1);
     this.groupControl2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControl2.Location = new System.Drawing.Point(0, 64);
     this.groupControl2.Name     = "groupControl2";
     this.groupControl2.Size     = new System.Drawing.Size(1431, 391);
     this.groupControl2.TabIndex = 18;
     this.groupControl2.Text     = "TÌNH HÌNH THỰC HIỆN ĐƠN HÀNG TẠI CÁC XƯỞNG";
     //
     // btnLoadAll
     //
     this.btnLoadAll.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnLoadAll.ImageOptions.Image")));
     this.btnLoadAll.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
     this.btnLoadAll.Location = new System.Drawing.Point(0, 20);
     this.btnLoadAll.Name     = "btnLoadAll";
     this.btnLoadAll.Size     = new System.Drawing.Size(18, 20);
     this.btnLoadAll.TabIndex = 1031;
     this.btnLoadAll.Click   += new System.EventHandler(this.btnLoadALL);
     //
     // gridControl1
     //
     this.gridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(2, 20);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemMemoEdit1
     });
     this.gridControl1.Size                 = new System.Drawing.Size(1427, 369);
     this.gridControl1.TabIndex             = 0;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click);
     //
     // gridView1
     //
     this.gridView1.Appearance.Row.Options.UseTextOptions = true;
     this.gridView1.Appearance.Row.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
     this.gridView1.Appearance.Row.TextOptions.WordWrap   = DevExpress.Utils.WordWrap.Wrap;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.Id,
         this.Ngaylap_KH,
         this.madh,
         this.khachhang,
         this.Masp_grid1,
         this.gridColumn4,
         this.gridColumn3,
         this.gridColumn2,
         this.gridColumn1,
         this.sanpham,
         this.gridColumn16,
         this.gridColumn15,
         this.gridColumn6,
         this.gridColumn14,
         this.gridColumn8,
         this.gridColumn7,
         this.gridColumn5,
         this.Maubv_grid1,
         this.Soluongsx,
         this.soluongDH,
         this.donvi,
         this.slnhap,
         this.trongluongnhap,
         this.ngaynhap,
         this.ngaygiao,
         this.sl_hoanthanh,
         this.trongluongxuat,
         this.ngoaiquan,
         this.ketthucto_grid1,
         this.DIFFPREDATE,
         this.STATUS,
         this.soluonglech
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Column     = this.STATUS;
     gridFormatRule1.Name       = "Format0";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.Color.OrangeRed;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "[STATUS] Like \'ĐỎ\'";
     gridFormatRule1.Rule       = formatConditionRuleExpression1;
     gridFormatRule2.ApplyToRow = true;
     gridFormatRule2.Column     = this.STATUS;
     gridFormatRule2.Name       = "Format1";
     formatConditionRuleExpression2.Appearance.BackColor            = System.Drawing.Color.LimeGreen;
     formatConditionRuleExpression2.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression2.Expression = "[STATUS] Like \'hoan thanh\'";
     gridFormatRule2.Rule       = formatConditionRuleExpression2;
     gridFormatRule3.ApplyToRow = true;
     gridFormatRule3.Column     = this.STATUS;
     gridFormatRule3.Name       = "Format2";
     formatConditionRuleExpression3.Appearance.BackColor            = System.Drawing.Color.Orange;
     formatConditionRuleExpression3.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression3.Expression = "[STATUS] Like \'trễ\'";
     gridFormatRule3.Rule       = formatConditionRuleExpression3;
     gridFormatRule4.ApplyToRow = true;
     gridFormatRule4.Column     = this.STATUS;
     gridFormatRule4.Name       = "Format3";
     formatConditionRuleExpression4.Appearance.BackColor            = System.Drawing.Color.Snow;
     formatConditionRuleExpression4.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression4.Expression = "[STATUS] Like \'tiến độ bt\'";
     gridFormatRule4.Rule       = formatConditionRuleExpression4;
     gridFormatRule5.ApplyToRow = true;
     gridFormatRule5.Column     = this.STATUS;
     gridFormatRule5.Name       = "Format4";
     formatConditionRuleExpression5.Appearance.BackColor            = System.Drawing.Color.Gold;
     formatConditionRuleExpression5.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression5.Expression = "[STATUS] Like \'tieens độ\'";
     gridFormatRule5.Rule = formatConditionRuleExpression5;
     this.gridView1.FormatRules.Add(gridFormatRule1);
     this.gridView1.FormatRules.Add(gridFormatRule2);
     this.gridView1.FormatRules.Add(gridFormatRule3);
     this.gridView1.FormatRules.Add(gridFormatRule4);
     this.gridView1.FormatRules.Add(gridFormatRule5);
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsBehavior.AllowPixelScrolling = DevExpress.Utils.DefaultBoolean.True;
     this.gridView1.OptionsBehavior.SmartVertScrollBar  = false;
     this.gridView1.OptionsDetail.EnableMasterViewMode  = false;
     this.gridView1.OptionsSelection.MultiSelect        = true;
     this.gridView1.OptionsSelection.MultiSelectMode    = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
     this.gridView1.OptionsView.ColumnAutoWidth         = false;
     this.gridView1.OptionsView.RowAutoHeight           = true;
     this.gridView1.OptionsView.ShowAutoFilterRow       = true;
     this.gridView1.OptionsView.ShowFooter     = true;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     this.gridView1.RowStyle += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.view_RowStyle);
     //
     // Id
     //
     this.Id.Caption      = "Id";
     this.Id.FieldName    = "IDSP";
     this.Id.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.Id.Name         = "Id";
     this.Id.Visible      = true;
     this.Id.VisibleIndex = 0;
     this.Id.Width        = 45;
     //
     // Ngaylap_KH
     //
     this.Ngaylap_KH.Caption      = "Ngày lập kế hoạch";
     this.Ngaylap_KH.FieldName    = "ngaytrienkhai";
     this.Ngaylap_KH.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.Ngaylap_KH.Name         = "Ngaylap_KH";
     this.Ngaylap_KH.Visible      = true;
     this.Ngaylap_KH.VisibleIndex = 1;
     this.Ngaylap_KH.Width        = 100;
     //
     // madh
     //
     this.madh.Caption      = "Mã ĐH";
     this.madh.FieldName    = "madh";
     this.madh.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.madh.Name         = "madh";
     this.madh.Visible      = true;
     this.madh.VisibleIndex = 2;
     this.madh.Width        = 98;
     //
     // khachhang
     //
     this.khachhang.Caption      = "Khách hàng";
     this.khachhang.FieldName    = "khachhang";
     this.khachhang.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.khachhang.Name         = "khachhang";
     this.khachhang.Visible      = true;
     this.khachhang.VisibleIndex = 3;
     //
     // Masp_grid1
     //
     this.Masp_grid1.Caption      = "Mã sản phẩm";
     this.Masp_grid1.FieldName    = "mabv";
     this.Masp_grid1.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.Masp_grid1.Name         = "Masp_grid1";
     this.Masp_grid1.Visible      = true;
     this.Masp_grid1.VisibleIndex = 9;
     this.Masp_grid1.Width        = 89;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption      = "Tên sản phẩm";
     this.gridColumn4.FieldName    = "SPLR";
     this.gridColumn4.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.gridColumn4.Name         = "gridColumn4";
     this.gridColumn4.Visible      = true;
     this.gridColumn4.VisibleIndex = 4;
     this.gridColumn4.Width        = 77;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption      = "Số lượng";
     this.gridColumn3.FieldName    = "SLSPLR";
     this.gridColumn3.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.gridColumn3.Name         = "gridColumn3";
     this.gridColumn3.Visible      = true;
     this.gridColumn3.VisibleIndex = 5;
     this.gridColumn3.Width        = 80;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption      = "Đơn vị";
     this.gridColumn2.FieldName    = "Donvisp";
     this.gridColumn2.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.gridColumn2.Name         = "gridColumn2";
     this.gridColumn2.Visible      = true;
     this.gridColumn2.VisibleIndex = 6;
     this.gridColumn2.Width        = 74;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption      = "Số CT";
     this.gridColumn1.FieldName    = "So_CT";
     this.gridColumn1.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.gridColumn1.Name         = "gridColumn1";
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 7;
     this.gridColumn1.Width        = 81;
     //
     // sanpham
     //
     this.sanpham.Caption      = "Chi tiết sản phẩm";
     this.sanpham.FieldName    = "sanpham";
     this.sanpham.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.sanpham.Name         = "sanpham";
     this.sanpham.Visible      = true;
     this.sanpham.VisibleIndex = 8;
     this.sanpham.Width        = 100;
     //
     // gridColumn16
     //
     this.gridColumn16.Caption      = "Mã khuôn";
     this.gridColumn16.FieldName    = "Ma_khuon";
     this.gridColumn16.Name         = "gridColumn16";
     this.gridColumn16.Visible      = true;
     this.gridColumn16.VisibleIndex = 11;
     this.gridColumn16.Width        = 95;
     //
     // gridColumn15
     //
     this.gridColumn15.Caption      = "Tên khuôn";
     this.gridColumn15.FieldName    = "Ten_khuon";
     this.gridColumn15.Name         = "gridColumn15";
     this.gridColumn15.Visible      = true;
     this.gridColumn15.VisibleIndex = 13;
     this.gridColumn15.Width        = 74;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption      = "SL.Khuôn";
     this.gridColumn6.FieldName    = "Soluong_khuon";
     this.gridColumn6.Name         = "gridColumn6";
     this.gridColumn6.Visible      = true;
     this.gridColumn6.VisibleIndex = 12;
     //
     // gridColumn14
     //
     this.gridColumn14.Caption      = "Trạng thái khuôn";
     this.gridColumn14.FieldName    = "Tinhtrang_khuon";
     this.gridColumn14.Name         = "gridColumn14";
     this.gridColumn14.Visible      = true;
     this.gridColumn14.VisibleIndex = 16;
     this.gridColumn14.Width        = 63;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption      = "Vị trí khuôn";
     this.gridColumn8.FieldName    = "Vitrikhuon";
     this.gridColumn8.Name         = "gridColumn8";
     this.gridColumn8.Visible      = true;
     this.gridColumn8.VisibleIndex = 14;
     //
     // gridColumn7
     //
     this.gridColumn7.Caption      = "Bộ phận đang giữ";
     this.gridColumn7.FieldName    = "BPsudung";
     this.gridColumn7.Name         = "gridColumn7";
     this.gridColumn7.Visible      = true;
     this.gridColumn7.VisibleIndex = 15;
     //
     // gridColumn5
     //
     this.gridColumn5.Caption      = "AllProgress";
     this.gridColumn5.ColumnEdit   = this.repositoryItemMemoEdit1;
     this.gridColumn5.FieldName    = "AllProgress";
     this.gridColumn5.Name         = "gridColumn5";
     this.gridColumn5.Visible      = true;
     this.gridColumn5.VisibleIndex = 17;
     this.gridColumn5.Width        = 360;
     //
     // repositoryItemMemoEdit1
     //
     this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1";
     //
     // Maubv_grid1
     //
     this.Maubv_grid1.Caption      = "Sản xuất mẫu/Bản vẽ";
     this.Maubv_grid1.FieldName    = "Maubv";
     this.Maubv_grid1.Fixed        = DevExpress.XtraGrid.Columns.FixedStyle.Left;
     this.Maubv_grid1.Name         = "Maubv_grid1";
     this.Maubv_grid1.Visible      = true;
     this.Maubv_grid1.VisibleIndex = 10;
     this.Maubv_grid1.Width        = 57;
     //
     // Soluongsx
     //
     this.Soluongsx.Caption = "SỐ LƯỢNG SX";
     this.Soluongsx.DisplayFormat.FormatString = "n0";
     this.Soluongsx.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.Soluongsx.FieldName    = "soluongyc";
     this.Soluongsx.Name         = "Soluongsx";
     this.Soluongsx.Visible      = true;
     this.Soluongsx.VisibleIndex = 18;
     this.Soluongsx.Width        = 53;
     //
     // soluongDH
     //
     this.soluongDH.Caption = "SỐ LƯỢNG ĐH";
     this.soluongDH.DisplayFormat.FormatString = "#,#";
     this.soluongDH.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.soluongDH.FieldName    = "soluongyc";
     this.soluongDH.Name         = "soluongDH";
     this.soluongDH.Visible      = true;
     this.soluongDH.VisibleIndex = 19;
     this.soluongDH.Width        = 59;
     //
     // donvi
     //
     this.donvi.Caption      = "Đơn vị";
     this.donvi.FieldName    = "donvi";
     this.donvi.Name         = "donvi";
     this.donvi.Visible      = true;
     this.donvi.VisibleIndex = 20;
     this.donvi.Width        = 32;
     //
     // slnhap
     //
     this.slnhap.Caption = "SỐ LƯỢNG NHẬP";
     this.slnhap.DisplayFormat.FormatString = "#,#";
     this.slnhap.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.slnhap.FieldName    = "BTPT16";
     this.slnhap.Name         = "slnhap";
     this.slnhap.Visible      = true;
     this.slnhap.VisibleIndex = 24;
     this.slnhap.Width        = 53;
     //
     // trongluongnhap
     //
     this.trongluongnhap.Caption = "TRỌNG LƯỢNG NHẬP";
     this.trongluongnhap.DisplayFormat.FormatString = "n2";
     this.trongluongnhap.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.trongluongnhap.FieldName    = "TRONGLUONG16";
     this.trongluongnhap.Name         = "trongluongnhap";
     this.trongluongnhap.Visible      = true;
     this.trongluongnhap.VisibleIndex = 25;
     this.trongluongnhap.Width        = 57;
     //
     // ngaynhap
     //
     this.ngaynhap.Caption = "NGÀY NHẬP";
     this.ngaynhap.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.ngaynhap.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.ngaynhap.FieldName    = "Ngay16";
     this.ngaynhap.Name         = "ngaynhap";
     this.ngaynhap.Visible      = true;
     this.ngaynhap.VisibleIndex = 26;
     this.ngaynhap.Width        = 51;
     //
     // ngaygiao
     //
     this.ngaygiao.Caption      = "Ngày xuất";
     this.ngaygiao.FieldName    = "ngaygiao";
     this.ngaygiao.Name         = "ngaygiao";
     this.ngaygiao.Visible      = true;
     this.ngaygiao.VisibleIndex = 21;
     this.ngaygiao.Width        = 62;
     //
     // sl_hoanthanh
     //
     this.sl_hoanthanh.Caption = "Số lượng xuất";
     this.sl_hoanthanh.DisplayFormat.FormatString = "#,#";
     this.sl_hoanthanh.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.sl_hoanthanh.FieldName = "BTPT11";
     this.sl_hoanthanh.Name      = "sl_hoanthanh";
     this.sl_hoanthanh.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "BTPT11", "{0:n}")
     });
     this.sl_hoanthanh.Visible      = true;
     this.sl_hoanthanh.VisibleIndex = 22;
     this.sl_hoanthanh.Width        = 44;
     //
     // trongluongxuat
     //
     this.trongluongxuat.Caption = "TRỌNG LƯỢNG XUẤT";
     this.trongluongxuat.DisplayFormat.FormatString = "n2";
     this.trongluongxuat.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.trongluongxuat.FieldName    = "TRONGLUONG11";
     this.trongluongxuat.Name         = "trongluongxuat";
     this.trongluongxuat.Visible      = true;
     this.trongluongxuat.VisibleIndex = 23;
     this.trongluongxuat.Width        = 58;
     //
     // ngoaiquan
     //
     this.ngoaiquan.Caption      = "Ngoại quan";
     this.ngoaiquan.FieldName    = "ngoaiquang";
     this.ngoaiquan.Name         = "ngoaiquan";
     this.ngoaiquan.Visible      = true;
     this.ngoaiquan.VisibleIndex = 27;
     this.ngoaiquan.Width        = 45;
     //
     // ketthucto_grid1
     //
     this.ketthucto_grid1.Caption      = "Hoàn thành dự kiến";
     this.ketthucto_grid1.FieldName    = "KetThucTo11";
     this.ketthucto_grid1.Name         = "ketthucto_grid1";
     this.ketthucto_grid1.Visible      = true;
     this.ketthucto_grid1.VisibleIndex = 28;
     this.ketthucto_grid1.Width        = 66;
     //
     // DIFFPREDATE
     //
     this.DIFFPREDATE.Caption      = "Trừ ngày";
     this.DIFFPREDATE.FieldName    = "DIFFPREDATE";
     this.DIFFPREDATE.Name         = "DIFFPREDATE";
     this.DIFFPREDATE.Visible      = true;
     this.DIFFPREDATE.VisibleIndex = 29;
     //
     // soluonglech
     //
     this.soluonglech.Caption = "Trừ số lượng";
     this.soluonglech.DisplayFormat.FormatString = "n0";
     this.soluonglech.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.soluonglech.FieldName    = "SỐ LƯỢNG LỆCH";
     this.soluonglech.Name         = "soluonglech";
     this.soluonglech.Visible      = true;
     this.soluonglech.VisibleIndex = 30;
     this.soluonglech.Width        = 89;
     //
     // UcDANHMUC_DONHANG_DANGSANXUAT
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.groupControl2);
     this.Controls.Add(this.panelControl1);
     this.Name  = "UcDANHMUC_DONHANG_DANGSANXUAT";
     this.Size  = new System.Drawing.Size(1431, 455);
     this.Load += new System.EventHandler(this.UcDANHMUC_DONHANG_DANGSANXUAT_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager       resources       = new System.ComponentModel.ComponentResourceManager(typeof(UCQUYTRINH_SANXUAT));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.groupControl1       = new DevExpress.XtraEditors.GroupControl();
     this.LookupCheck_Masp    = new DevExpress.XtraEditors.GridLookUpEdit();
     this.gridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.Masp_look           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Tensp_look          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Makh_look           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Tenkh_look          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btnTest             = new DevExpress.XtraEditors.SimpleButton();
     this.txtTask             = new System.Windows.Forms.TextBox();
     this.btnEx                   = new DevExpress.XtraEditors.SimpleButton();
     this.txtDiengiai             = new System.Windows.Forms.TextBox();
     this.txtQuiTrinh             = new DevExpress.XtraEditors.SimpleButton();
     this.label7                  = new System.Windows.Forms.Label();
     this.label8                  = new System.Windows.Forms.Label();
     this.label1                  = new System.Windows.Forms.Label();
     this.btnThem                 = new DevExpress.XtraEditors.SimpleButton();
     this.label2                  = new System.Windows.Forms.Label();
     this.txtSanpham              = new System.Windows.Forms.TextBox();
     this.btnSua                  = new DevExpress.XtraEditors.SimpleButton();
     this.btnXoa                  = new DevExpress.XtraEditors.SimpleButton();
     this.txtMaQT                 = new System.Windows.Forms.TextBox();
     this.txtMasp                 = new System.Windows.Forms.TextBox();
     this.label4                  = new System.Windows.Forms.Label();
     this.btnXemBV                = new DevExpress.XtraEditors.SimpleButton();
     this.label5                  = new System.Windows.Forms.Label();
     this.label39                 = new System.Windows.Forms.Label();
     this.label3                  = new System.Windows.Forms.Label();
     this.dpNgaylap               = new System.Windows.Forms.DateTimePicker();
     this.dptu_ngay               = new System.Windows.Forms.DateTimePicker();
     this.dpden_ngay              = new System.Windows.Forms.DateTimePicker();
     this.label40                 = new System.Windows.Forms.Label();
     this.txtPath_QTSX            = new System.Windows.Forms.TextBox();
     this.txtuser                 = new System.Windows.Forms.TextBox();
     this.label11                 = new System.Windows.Forms.Label();
     this.groupControl2           = new DevExpress.XtraEditors.GroupControl();
     this.txtid                   = new System.Windows.Forms.TextBox();
     this.label9                  = new System.Windows.Forms.Label();
     this.label6                  = new System.Windows.Forms.Label();
     this.txtPath_MaSP            = new System.Windows.Forms.TextBox();
     this.btnDMDHSX               = new DevExpress.XtraEditors.SimpleButton();
     this.gridControl3            = new DevExpress.XtraGrid.GridControl();
     this.gridView3               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.id_grid                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.masoqt_grid             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngaybanhanh_grid        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.masp_grid               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenquycach_grid         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.diengiai_grid           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.task_grid               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.nguoilap_grid           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngayghi_grid            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.khachhang_grid          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCalcEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.repositoryItemCalcEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.repositoryItemCalcEdit6 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.repositoryItemFontEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemFontEdit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.LookupCheck_Masp.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
     this.groupControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemFontEdit2)).BeginInit();
     this.SuspendLayout();
     //
     // groupControl1
     //
     this.groupControl1.Controls.Add(this.LookupCheck_Masp);
     this.groupControl1.Controls.Add(this.btnTest);
     this.groupControl1.Controls.Add(this.txtTask);
     this.groupControl1.Controls.Add(this.btnEx);
     this.groupControl1.Controls.Add(this.txtDiengiai);
     this.groupControl1.Controls.Add(this.txtQuiTrinh);
     this.groupControl1.Controls.Add(this.label7);
     this.groupControl1.Controls.Add(this.label8);
     this.groupControl1.Controls.Add(this.label1);
     this.groupControl1.Controls.Add(this.btnThem);
     this.groupControl1.Controls.Add(this.label2);
     this.groupControl1.Controls.Add(this.txtSanpham);
     this.groupControl1.Controls.Add(this.btnSua);
     this.groupControl1.Controls.Add(this.btnXoa);
     this.groupControl1.Controls.Add(this.txtMaQT);
     this.groupControl1.Controls.Add(this.txtMasp);
     this.groupControl1.Controls.Add(this.label4);
     this.groupControl1.Controls.Add(this.btnXemBV);
     this.groupControl1.Controls.Add(this.label5);
     this.groupControl1.Controls.Add(this.label39);
     this.groupControl1.Controls.Add(this.label3);
     this.groupControl1.Controls.Add(this.dpNgaylap);
     this.groupControl1.Controls.Add(this.dptu_ngay);
     this.groupControl1.Controls.Add(this.dpden_ngay);
     this.groupControl1.Controls.Add(this.label40);
     this.groupControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.groupControl1.Location = new System.Drawing.Point(0, 0);
     this.groupControl1.Name     = "groupControl1";
     this.groupControl1.Size     = new System.Drawing.Size(1262, 123);
     this.groupControl1.TabIndex = 1;
     //
     // LookupCheck_Masp
     //
     this.LookupCheck_Masp.EditValue = "LookupCheck_Masp";
     this.LookupCheck_Masp.Location  = new System.Drawing.Point(67, 22);
     this.LookupCheck_Masp.Name      = "LookupCheck_Masp";
     this.LookupCheck_Masp.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.LookupCheck_Masp.Properties.View   = this.gridLookUpEdit1View;
     this.LookupCheck_Masp.Size              = new System.Drawing.Size(168, 20);
     this.LookupCheck_Masp.TabIndex          = 1;
     this.LookupCheck_Masp.EditValueChanged += new System.EventHandler(this.LookupCheck_Masp_EditValueChanged);
     //
     // gridLookUpEdit1View
     //
     this.gridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.Masp_look,
         this.Tensp_look,
         this.Makh_look,
         this.Tenkh_look
     });
     this.gridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridLookUpEdit1View.Name           = "gridLookUpEdit1View";
     this.gridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridLookUpEdit1View.OptionsView.ColumnAutoWidth   = false;
     this.gridLookUpEdit1View.OptionsView.ShowAutoFilterRow = true;
     this.gridLookUpEdit1View.OptionsView.ShowGroupPanel    = false;
     //
     // Masp_look
     //
     this.Masp_look.Caption      = "Mã sản phẩm";
     this.Masp_look.FieldName    = "Masp";
     this.Masp_look.Name         = "Masp_look";
     this.Masp_look.Visible      = true;
     this.Masp_look.VisibleIndex = 0;
     this.Masp_look.Width        = 89;
     //
     // Tensp_look
     //
     this.Tensp_look.Caption      = "Tên sản phẩm";
     this.Tensp_look.FieldName    = "Tensp";
     this.Tensp_look.Name         = "Tensp_look";
     this.Tensp_look.Visible      = true;
     this.Tensp_look.VisibleIndex = 1;
     this.Tensp_look.Width        = 209;
     //
     // Makh_look
     //
     this.Makh_look.Caption      = "Mã khách hàng";
     this.Makh_look.FieldName    = "Makh";
     this.Makh_look.Name         = "Makh_look";
     this.Makh_look.Visible      = true;
     this.Makh_look.VisibleIndex = 2;
     this.Makh_look.Width        = 61;
     //
     // Tenkh_look
     //
     this.Tenkh_look.Caption      = "Tên khách hàng";
     this.Tenkh_look.FieldName    = "TenKH";
     this.Tenkh_look.Name         = "Tenkh_look";
     this.Tenkh_look.Visible      = true;
     this.Tenkh_look.VisibleIndex = 3;
     this.Tenkh_look.Width        = 240;
     //
     // btnTest
     //
     this.btnTest.Image    = ((System.Drawing.Image)(resources.GetObject("btnTest.Image")));
     this.btnTest.Location = new System.Drawing.Point(457, 100);
     this.btnTest.Name     = "btnTest";
     this.btnTest.Size     = new System.Drawing.Size(51, 20);
     this.btnTest.TabIndex = 9;
     this.btnTest.Text     = "test";
     //
     // txtTask
     //
     this.txtTask.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txtTask.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txtTask.Location           = new System.Drawing.Point(67, 77);
     this.txtTask.Name     = "txtTask";
     this.txtTask.Size     = new System.Drawing.Size(990, 21);
     this.txtTask.TabIndex = 3;
     //
     // btnEx
     //
     this.btnEx.Image    = ((System.Drawing.Image)(resources.GetObject("btnEx.Image")));
     this.btnEx.Location = new System.Drawing.Point(176, 100);
     this.btnEx.Name     = "btnEx";
     this.btnEx.Size     = new System.Drawing.Size(49, 20);
     this.btnEx.TabIndex = 10;
     this.btnEx.Text     = "Ex";
     this.btnEx.Click   += new System.EventHandler(this.btnEx_Click);
     //
     // txtDiengiai
     //
     this.txtDiengiai.AutoCompleteMode   = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.txtDiengiai.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
     this.txtDiengiai.Location           = new System.Drawing.Point(67, 49);
     this.txtDiengiai.Name     = "txtDiengiai";
     this.txtDiengiai.Size     = new System.Drawing.Size(990, 21);
     this.txtDiengiai.TabIndex = 2;
     //
     // txtQuiTrinh
     //
     this.txtQuiTrinh.Image         = ((System.Drawing.Image)(resources.GetObject("txtQuiTrinh.Image")));
     this.txtQuiTrinh.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
     this.txtQuiTrinh.Location      = new System.Drawing.Point(287, 100);
     this.txtQuiTrinh.Name          = "txtQuiTrinh";
     this.txtQuiTrinh.Size          = new System.Drawing.Size(67, 20);
     this.txtQuiTrinh.TabIndex      = 7;
     this.txtQuiTrinh.Text          = "Qui trình";
     this.txtQuiTrinh.Click        += new System.EventHandler(this.BtnQuiTrinhSX_Click);
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(8, 82);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(29, 13);
     this.label7.TabIndex = 1034;
     this.label7.Text     = "Task";
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Location = new System.Drawing.Point(8, 3);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(49, 13);
     this.label8.TabIndex = 1034;
     this.label8.Text     = "Ngày lập";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(8, 26);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(54, 13);
     this.label1.TabIndex = 1034;
     this.label1.Text     = "Danh mục";
     //
     // btnThem
     //
     this.btnThem.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnThem.Appearance.Options.UseFont = true;
     this.btnThem.Image    = ((System.Drawing.Image)(resources.GetObject("btnThem.Image")));
     this.btnThem.Location = new System.Drawing.Point(67, 100);
     this.btnThem.Name     = "btnThem";
     this.btnThem.Size     = new System.Drawing.Size(53, 20);
     this.btnThem.TabIndex = 4;
     this.btnThem.TabStop  = false;
     this.btnThem.Text     = "Ghi";
     this.btnThem.Click   += new System.EventHandler(this.Ghi);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(8, 53);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(49, 13);
     this.label2.TabIndex = 1034;
     this.label2.Text     = "Nội dung";
     //
     // txtSanpham
     //
     this.txtSanpham.Location = new System.Drawing.Point(674, 21);
     this.txtSanpham.Name     = "txtSanpham";
     this.txtSanpham.ReadOnly = true;
     this.txtSanpham.Size     = new System.Drawing.Size(383, 21);
     this.txtSanpham.TabIndex = 1035;
     //
     // btnSua
     //
     this.btnSua.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSua.Appearance.Options.UseFont = true;
     this.btnSua.Image    = ((System.Drawing.Image)(resources.GetObject("btnSua.Image")));
     this.btnSua.Location = new System.Drawing.Point(125, 100);
     this.btnSua.Name     = "btnSua";
     this.btnSua.Size     = new System.Drawing.Size(45, 20);
     this.btnSua.TabIndex = 5;
     this.btnSua.Text     = "Sửa";
     this.btnSua.Click   += new System.EventHandler(this.Sua);
     //
     // btnXoa
     //
     this.btnXoa.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnXoa.Appearance.Options.UseFont = true;
     this.btnXoa.Image    = ((System.Drawing.Image)(resources.GetObject("btnXoa.Image")));
     this.btnXoa.Location = new System.Drawing.Point(233, 100);
     this.btnXoa.Name     = "btnXoa";
     this.btnXoa.Size     = new System.Drawing.Size(45, 20);
     this.btnXoa.TabIndex = 6;
     this.btnXoa.Text     = "Xóa";
     this.btnXoa.Click   += new System.EventHandler(this.Xoa);
     //
     // txtMaQT
     //
     this.txtMaQT.Location = new System.Drawing.Point(492, 21);
     this.txtMaQT.Name     = "txtMaQT";
     this.txtMaQT.ReadOnly = true;
     this.txtMaQT.Size     = new System.Drawing.Size(107, 21);
     this.txtMaQT.TabIndex = 0;
     //
     // txtMasp
     //
     this.txtMasp.Location = new System.Drawing.Point(299, 22);
     this.txtMasp.Name     = "txtMasp";
     this.txtMasp.ReadOnly = true;
     this.txtMasp.Size     = new System.Drawing.Size(127, 21);
     this.txtMasp.TabIndex = 0;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(612, 25);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(54, 13);
     this.label4.TabIndex = 1034;
     this.label4.Text     = "Sản phẩm";
     //
     // btnXemBV
     //
     this.btnXemBV.Image    = ((System.Drawing.Image)(resources.GetObject("btnXemBV.Image")));
     this.btnXemBV.Location = new System.Drawing.Point(361, 100);
     this.btnXemBV.Name     = "btnXemBV";
     this.btnXemBV.Size     = new System.Drawing.Size(88, 20);
     this.btnXemBV.TabIndex = 8;
     this.btnXemBV.Text     = "Gọi bản vẽ";
     this.btnXemBV.Click   += new System.EventHandler(this.BtnGoiBanVe);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(432, 26);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(38, 13);
     this.label5.TabIndex = 1034;
     this.label5.Text     = "Mã QT";
     //
     // label39
     //
     this.label39.AutoSize  = true;
     this.label39.BackColor = System.Drawing.Color.Transparent;
     this.label39.ForeColor = System.Drawing.Color.Indigo;
     this.label39.Location  = new System.Drawing.Point(240, 3);
     this.label39.Name      = "label39";
     this.label39.Size      = new System.Drawing.Size(47, 13);
     this.label39.TabIndex  = 1042;
     this.label39.Text      = "Từ ngày";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(241, 25);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(36, 13);
     this.label3.TabIndex = 1034;
     this.label3.Text     = "Mã SP";
     //
     // dpNgaylap
     //
     this.dpNgaylap.CalendarFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpNgaylap.Font         = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpNgaylap.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpNgaylap.Location     = new System.Drawing.Point(67, 0);
     this.dpNgaylap.Name         = "dpNgaylap";
     this.dpNgaylap.Size         = new System.Drawing.Size(167, 18);
     this.dpNgaylap.TabIndex     = 1043;
     this.dpNgaylap.TabStop      = false;
     //
     // dptu_ngay
     //
     this.dptu_ngay.CalendarFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dptu_ngay.Font         = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dptu_ngay.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dptu_ngay.Location     = new System.Drawing.Point(299, 0);
     this.dptu_ngay.Name         = "dptu_ngay";
     this.dptu_ngay.Size         = new System.Drawing.Size(127, 18);
     this.dptu_ngay.TabIndex     = 1043;
     this.dptu_ngay.TabStop      = false;
     //
     // dpden_ngay
     //
     this.dpden_ngay.CalendarFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpden_ngay.Font         = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpden_ngay.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpden_ngay.Location     = new System.Drawing.Point(492, 0);
     this.dpden_ngay.Name         = "dpden_ngay";
     this.dpden_ngay.Size         = new System.Drawing.Size(107, 18);
     this.dpden_ngay.TabIndex     = 1044;
     this.dpden_ngay.TabStop      = false;
     //
     // label40
     //
     this.label40.AutoSize  = true;
     this.label40.BackColor = System.Drawing.Color.Transparent;
     this.label40.ForeColor = System.Drawing.Color.Indigo;
     this.label40.Location  = new System.Drawing.Point(432, 3);
     this.label40.Name      = "label40";
     this.label40.Size      = new System.Drawing.Size(54, 13);
     this.label40.TabIndex  = 1041;
     this.label40.Text      = "Đến ngày";
     //
     // txtPath_QTSX
     //
     this.txtPath_QTSX.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPath_QTSX.Location = new System.Drawing.Point(662, 0);
     this.txtPath_QTSX.Name     = "txtPath_QTSX";
     this.txtPath_QTSX.Size     = new System.Drawing.Size(71, 18);
     this.txtPath_QTSX.TabIndex = 1051;
     this.txtPath_QTSX.Text     = "\\\\Server\\kythuat\\QTRINH_SAN_XUAT";
     //
     // txtuser
     //
     this.txtuser.Enabled  = false;
     this.txtuser.Font     = new System.Drawing.Font("Tahoma", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtuser.Location = new System.Drawing.Point(931, 1);
     this.txtuser.Name     = "txtuser";
     this.txtuser.ReadOnly = true;
     this.txtuser.Size     = new System.Drawing.Size(125, 17);
     this.txtuser.TabIndex = 1033;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Font     = new System.Drawing.Font("Tahoma", 6F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.Location = new System.Drawing.Point(903, 4);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(21, 10);
     this.label11.TabIndex = 1032;
     this.label11.Text     = "User";
     //
     // groupControl2
     //
     this.groupControl2.Controls.Add(this.txtPath_QTSX);
     this.groupControl2.Controls.Add(this.txtid);
     this.groupControl2.Controls.Add(this.label9);
     this.groupControl2.Controls.Add(this.label6);
     this.groupControl2.Controls.Add(this.txtPath_MaSP);
     this.groupControl2.Controls.Add(this.label11);
     this.groupControl2.Controls.Add(this.txtuser);
     this.groupControl2.Controls.Add(this.btnDMDHSX);
     this.groupControl2.Controls.Add(this.gridControl3);
     this.groupControl2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControl2.Location = new System.Drawing.Point(0, 123);
     this.groupControl2.Name     = "groupControl2";
     this.groupControl2.Size     = new System.Drawing.Size(1262, 333);
     this.groupControl2.TabIndex = 4;
     this.groupControl2.Text     = "DANH MỤC QUY TRÌNH SẢN XUẤT";
     //
     // txtid
     //
     this.txtid.Font      = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtid.Location  = new System.Drawing.Point(842, 1);
     this.txtid.Multiline = true;
     this.txtid.Name      = "txtid";
     this.txtid.ReadOnly  = true;
     this.txtid.Size      = new System.Drawing.Size(54, 17);
     this.txtid.TabIndex  = 1084;
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(818, 3);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(17, 13);
     this.label9.TabIndex = 1083;
     this.label9.Text     = "Id";
     //
     // label6
     //
     this.label6.AutoSize  = true;
     this.label6.BackColor = System.Drawing.Color.Transparent;
     this.label6.ForeColor = System.Drawing.Color.Indigo;
     this.label6.Location  = new System.Drawing.Point(621, 3);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(34, 13);
     this.label6.TabIndex  = 1038;
     this.label6.Text      = "DMSP";
     //
     // txtPath_MaSP
     //
     this.txtPath_MaSP.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPath_MaSP.Location = new System.Drawing.Point(740, 0);
     this.txtPath_MaSP.Name     = "txtPath_MaSP";
     this.txtPath_MaSP.Size     = new System.Drawing.Size(71, 18);
     this.txtPath_MaSP.TabIndex = 1039;
     this.txtPath_MaSP.Text     = "\\\\Server\\kythuat\\DM_SANPHAM";
     //
     // btnDMDHSX
     //
     this.btnDMDHSX.Appearance.ForeColor            = System.Drawing.Color.Green;
     this.btnDMDHSX.Appearance.Options.UseForeColor = true;
     this.btnDMDHSX.Image         = ((System.Drawing.Image)(resources.GetObject("btnDMDHSX.Image")));
     this.btnDMDHSX.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
     this.btnDMDHSX.Location      = new System.Drawing.Point(1, 20);
     this.btnDMDHSX.Name          = "btnDMDHSX";
     this.btnDMDHSX.Size          = new System.Drawing.Size(17, 19);
     this.btnDMDHSX.TabIndex      = 1038;
     this.btnDMDHSX.Click        += new System.EventHandler(this.LISTQUYTRINH_SANPHAM);
     //
     // gridControl3
     //
     this.gridControl3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl3.Font     = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridControl3.Location = new System.Drawing.Point(2, 20);
     this.gridControl3.MainView = this.gridView3;
     this.gridControl3.Name     = "gridControl3";
     this.gridControl3.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemCalcEdit4,
         this.repositoryItemCalcEdit5,
         this.repositoryItemCalcEdit6,
         this.repositoryItemFontEdit2
     });
     this.gridControl3.Size                 = new System.Drawing.Size(1258, 311);
     this.gridControl3.TabIndex             = 1037;
     this.gridControl3.UseEmbeddedNavigator = true;
     this.gridControl3.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView3
     });
     this.gridControl3.Click += new System.EventHandler(this.Binding_NKNhap);
     //
     // gridView3
     //
     this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.id_grid,
         this.masoqt_grid,
         this.ngaybanhanh_grid,
         this.masp_grid,
         this.tenquycach_grid,
         this.diengiai_grid,
         this.task_grid,
         this.nguoilap_grid,
         this.ngayghi_grid,
         this.khachhang_grid
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Format0";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.Color.GreenYellow;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "[SOLUONGTP] >= [soluongsx]";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.gridView3.FormatRules.Add(gridFormatRule1);
     this.gridView3.GridControl = this.gridControl3;
     this.gridView3.Name        = "gridView3";
     this.gridView3.OptionsBehavior.Editable      = false;
     this.gridView3.OptionsSelection.MultiSelect  = true;
     this.gridView3.OptionsView.ColumnAutoWidth   = false;
     this.gridView3.OptionsView.ShowAutoFilterRow = true;
     this.gridView3.OptionsView.ShowGroupPanel    = false;
     //
     // id_grid
     //
     this.id_grid.Caption      = "ID";
     this.id_grid.FieldName    = "id";
     this.id_grid.Name         = "id_grid";
     this.id_grid.Visible      = true;
     this.id_grid.VisibleIndex = 0;
     this.id_grid.Width        = 67;
     //
     // masoqt_grid
     //
     this.masoqt_grid.Caption      = "MÃ QUY TRÌNH";
     this.masoqt_grid.FieldName    = "masoqt";
     this.masoqt_grid.Name         = "masoqt_grid";
     this.masoqt_grid.Visible      = true;
     this.masoqt_grid.VisibleIndex = 1;
     this.masoqt_grid.Width        = 161;
     //
     // ngaybanhanh_grid
     //
     this.ngaybanhanh_grid.Caption      = "NGÀY BAN HÀNH";
     this.ngaybanhanh_grid.FieldName    = "ngaybanhanh";
     this.ngaybanhanh_grid.Name         = "ngaybanhanh_grid";
     this.ngaybanhanh_grid.Visible      = true;
     this.ngaybanhanh_grid.VisibleIndex = 2;
     this.ngaybanhanh_grid.Width        = 124;
     //
     // masp_grid
     //
     this.masp_grid.Caption      = "MÃ SẢN PHẨM";
     this.masp_grid.FieldName    = "masp";
     this.masp_grid.Name         = "masp_grid";
     this.masp_grid.Visible      = true;
     this.masp_grid.VisibleIndex = 3;
     this.masp_grid.Width        = 100;
     //
     // tenquycach_grid
     //
     this.tenquycach_grid.Caption      = "TÊN QUY CÁCH SẢN PHẨM";
     this.tenquycach_grid.FieldName    = "Tensp";
     this.tenquycach_grid.Name         = "tenquycach_grid";
     this.tenquycach_grid.Visible      = true;
     this.tenquycach_grid.VisibleIndex = 4;
     this.tenquycach_grid.Width        = 208;
     //
     // diengiai_grid
     //
     this.diengiai_grid.Caption      = "DIỄN GIẢI TIÊU CHUẨN";
     this.diengiai_grid.FieldName    = "diengiai";
     this.diengiai_grid.Name         = "diengiai_grid";
     this.diengiai_grid.Visible      = true;
     this.diengiai_grid.VisibleIndex = 5;
     this.diengiai_grid.Width        = 277;
     //
     // task_grid
     //
     this.task_grid.Caption      = "TÁC NHÂN THAM GIA";
     this.task_grid.FieldName    = "tacnhan";
     this.task_grid.Name         = "task_grid";
     this.task_grid.Visible      = true;
     this.task_grid.VisibleIndex = 6;
     this.task_grid.Width        = 155;
     //
     // nguoilap_grid
     //
     this.nguoilap_grid.Caption      = "NGƯỜI GHI";
     this.nguoilap_grid.FieldName    = "nguoilap";
     this.nguoilap_grid.Name         = "nguoilap_grid";
     this.nguoilap_grid.Visible      = true;
     this.nguoilap_grid.VisibleIndex = 7;
     this.nguoilap_grid.Width        = 107;
     //
     // ngayghi_grid
     //
     this.ngayghi_grid.Caption      = "NGÀY GHI";
     this.ngayghi_grid.FieldName    = "ngayghi";
     this.ngayghi_grid.Name         = "ngayghi_grid";
     this.ngayghi_grid.Visible      = true;
     this.ngayghi_grid.VisibleIndex = 8;
     //
     // khachhang_grid
     //
     this.khachhang_grid.Caption      = "KHÁCH HÀNG";
     this.khachhang_grid.FieldName    = "TenKH";
     this.khachhang_grid.Name         = "khachhang_grid";
     this.khachhang_grid.Visible      = true;
     this.khachhang_grid.VisibleIndex = 9;
     //
     // repositoryItemCalcEdit4
     //
     this.repositoryItemCalcEdit4.AutoHeight = false;
     this.repositoryItemCalcEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCalcEdit4.Name = "repositoryItemCalcEdit4";
     //
     // repositoryItemCalcEdit5
     //
     this.repositoryItemCalcEdit5.AutoHeight = false;
     this.repositoryItemCalcEdit5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCalcEdit5.Name = "repositoryItemCalcEdit5";
     //
     // repositoryItemCalcEdit6
     //
     this.repositoryItemCalcEdit6.AutoHeight = false;
     this.repositoryItemCalcEdit6.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCalcEdit6.Name = "repositoryItemCalcEdit6";
     //
     // repositoryItemFontEdit2
     //
     this.repositoryItemFontEdit2.AutoHeight = false;
     this.repositoryItemFontEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemFontEdit2.Name = "repositoryItemFontEdit2";
     //
     // UCQUYTRINH_SANXUAT
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.groupControl2);
     this.Controls.Add(this.groupControl1);
     this.Name  = "UCQUYTRINH_SANXUAT";
     this.Size  = new System.Drawing.Size(1262, 456);
     this.Load += new System.EventHandler(this.UCQUYTRINH_SANXUAT_Load);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     this.groupControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.LookupCheck_Masp.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     this.groupControl2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemFontEdit2)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
     this.btncapnhat    = new DevExpress.XtraEditors.SimpleButton();
     this.btnxem        = new DevExpress.XtraEditors.SimpleButton();
     this.lblChon       = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.gribang       = new DevExpress.XtraGrid.GridControl();
     this.grichon       = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.id            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.auth          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.confirmed     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.policyagreed  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.deleted       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.suspended     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Color         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.mnethostid    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.username      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.password      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.idnumber      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.firstname     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lastname      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.email         = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gribang)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grichon)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl2
     //
     this.panelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.panelControl2.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.btncapnhat);
     this.panelControl2.Controls.Add(this.btnxem);
     this.panelControl2.Controls.Add(this.lblChon);
     this.panelControl2.Controls.Add(this.labelControl1);
     this.panelControl2.Location = new System.Drawing.Point(12, 12);
     this.panelControl2.Name     = "panelControl2";
     this.panelControl2.Size     = new System.Drawing.Size(822, 95);
     this.panelControl2.TabIndex = 31;
     //
     // btncapnhat
     //
     this.btncapnhat.ImageOptions.ImageIndex = 0;
     this.btncapnhat.Location = new System.Drawing.Point(556, 35);
     this.btncapnhat.Name     = "btncapnhat";
     this.btncapnhat.Size     = new System.Drawing.Size(100, 37);
     this.btncapnhat.TabIndex = 7;
     this.btncapnhat.Text     = "Cập nhật";
     this.btncapnhat.Click   += new System.EventHandler(this.btncapnhat_Click);
     //
     // btnxem
     //
     this.btnxem.ImageOptions.ImageIndex = 0;
     this.btnxem.Location = new System.Drawing.Point(450, 35);
     this.btnxem.Name     = "btnxem";
     this.btnxem.Size     = new System.Drawing.Size(100, 37);
     this.btnxem.TabIndex = 6;
     this.btnxem.Text     = "Xem";
     this.btnxem.Click   += new System.EventHandler(this.btnxem_Click);
     //
     // lblChon
     //
     this.lblChon.AllowHtmlString                 = true;
     this.lblChon.Appearance.Font                 = new System.Drawing.Font("Tahoma", 9F);
     this.lblChon.Appearance.ForeColor            = System.Drawing.Color.White;
     this.lblChon.Appearance.Options.UseFont      = true;
     this.lblChon.Appearance.Options.UseForeColor = true;
     this.lblChon.Location = new System.Drawing.Point(71, 47);
     this.lblChon.Name     = "lblChon";
     this.lblChon.Size     = new System.Drawing.Size(73, 14);
     this.lblChon.TabIndex = 0;
     this.lblChon.Text     = "Đang chọn:[]";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.Font                 = new System.Drawing.Font("Tahoma", 10F);
     this.labelControl1.Appearance.ForeColor            = System.Drawing.Color.White;
     this.labelControl1.Appearance.Options.UseFont      = true;
     this.labelControl1.Appearance.Options.UseForeColor = true;
     this.labelControl1.Location = new System.Drawing.Point(4, 8);
     this.labelControl1.Name     = "labelControl1";
     this.labelControl1.Size     = new System.Drawing.Size(59, 16);
     this.labelControl1.TabIndex = 0;
     this.labelControl1.Text     = "Danh sách";
     //
     // gribang
     //
     this.gribang.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                  | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.gribang.Location = new System.Drawing.Point(12, 113);
     this.gribang.MainView = this.grichon;
     this.gribang.Name     = "gribang";
     this.gribang.Size     = new System.Drawing.Size(822, 281);
     this.gribang.TabIndex = 32;
     this.gribang.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.grichon
     });
     //
     // grichon
     //
     this.grichon.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.id,
         this.auth,
         this.confirmed,
         this.policyagreed,
         this.deleted,
         this.suspended,
         this.Color,
         this.mnethostid,
         this.username,
         this.password,
         this.idnumber,
         this.firstname,
         this.lastname,
         this.email
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Color";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.SystemColors.GradientActiveCaption;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "[Color] = 1";
     gridFormatRule1.Rule       = formatConditionRuleExpression1;
     gridFormatRule2.ApplyToRow = true;
     gridFormatRule2.Name       = "trungthongtin";
     formatConditionRuleExpression2.Appearance.BackColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression2.Appearance.BackColor2           = System.Drawing.Color.Red;
     formatConditionRuleExpression2.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression2.Expression = "[Repeat] > 1";
     gridFormatRule2.Rule = formatConditionRuleExpression2;
     this.grichon.FormatRules.Add(gridFormatRule1);
     this.grichon.FormatRules.Add(gridFormatRule2);
     this.grichon.GridControl = this.gribang;
     this.grichon.Name        = "grichon";
     this.grichon.OptionsBehavior.Editable         = false;
     this.grichon.OptionsSelection.MultiSelect     = true;
     this.grichon.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
     this.grichon.OptionsSelection.ShowCheckBoxSelectorInGroupRow = DevExpress.Utils.DefaultBoolean.False;
     this.grichon.OptionsView.ColumnAutoWidth = false;
     this.grichon.OptionsView.RowAutoHeight   = true;
     this.grichon.OptionsView.ShowFooter      = true;
     this.grichon.OptionsView.ShowGroupPanel  = false;
     //
     // id
     //
     this.id.AppearanceCell.Options.UseTextOptions = true;
     this.id.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.id.Caption   = "id";
     this.id.FieldName = "id";
     this.id.Name      = "id";
     this.id.OptionsColumn.ReadOnly = true;
     this.id.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count, "id", "Tổng: ")
     });
     this.id.Visible      = true;
     this.id.VisibleIndex = 0;
     this.id.Width        = 54;
     //
     // auth
     //
     this.auth.Caption   = "auth";
     this.auth.FieldName = "auth";
     this.auth.Name      = "auth";
     this.auth.OptionsColumn.ReadOnly = true;
     this.auth.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count, "MaKH", "{0}")
     });
     this.auth.Visible      = true;
     this.auth.VisibleIndex = 1;
     this.auth.Width        = 95;
     //
     // confirmed
     //
     this.confirmed.Caption   = "confirmed";
     this.confirmed.FieldName = "confirmed";
     this.confirmed.MinWidth  = 40;
     this.confirmed.Name      = "confirmed";
     this.confirmed.OptionsColumn.ReadOnly = true;
     this.confirmed.Visible      = true;
     this.confirmed.VisibleIndex = 2;
     this.confirmed.Width        = 92;
     //
     // policyagreed
     //
     this.policyagreed.Caption   = "policyagreed";
     this.policyagreed.FieldName = "policyagreed";
     this.policyagreed.MinWidth  = 40;
     this.policyagreed.Name      = "policyagreed";
     this.policyagreed.OptionsColumn.ReadOnly = true;
     this.policyagreed.Visible      = true;
     this.policyagreed.VisibleIndex = 3;
     this.policyagreed.Width        = 100;
     //
     // deleted
     //
     this.deleted.Caption      = "deleted";
     this.deleted.FieldName    = "deleted";
     this.deleted.Name         = "deleted";
     this.deleted.Visible      = true;
     this.deleted.VisibleIndex = 4;
     this.deleted.Width        = 120;
     //
     // suspended
     //
     this.suspended.Caption      = "suspended";
     this.suspended.FieldName    = "suspended";
     this.suspended.Name         = "suspended";
     this.suspended.Visible      = true;
     this.suspended.VisibleIndex = 5;
     this.suspended.Width        = 153;
     //
     // Color
     //
     this.Color.Caption   = "Color";
     this.Color.FieldName = "Color";
     this.Color.Name      = "Color";
     //
     // mnethostid
     //
     this.mnethostid.Caption      = "mnethostid";
     this.mnethostid.FieldName    = "mnethostid";
     this.mnethostid.Name         = "mnethostid";
     this.mnethostid.Visible      = true;
     this.mnethostid.VisibleIndex = 6;
     //
     // username
     //
     this.username.Caption      = "username";
     this.username.FieldName    = "username";
     this.username.Name         = "username";
     this.username.Visible      = true;
     this.username.VisibleIndex = 7;
     //
     // password
     //
     this.password.Caption      = "password";
     this.password.FieldName    = "password";
     this.password.Name         = "password";
     this.password.Visible      = true;
     this.password.VisibleIndex = 8;
     //
     // idnumber
     //
     this.idnumber.Caption      = "idnumber";
     this.idnumber.FieldName    = "idnumber";
     this.idnumber.Name         = "idnumber";
     this.idnumber.Visible      = true;
     this.idnumber.VisibleIndex = 9;
     //
     // firstname
     //
     this.firstname.Caption      = "firstname";
     this.firstname.FieldName    = "firstname";
     this.firstname.Name         = "firstname";
     this.firstname.Visible      = true;
     this.firstname.VisibleIndex = 10;
     //
     // lastname
     //
     this.lastname.Caption      = "lastname";
     this.lastname.FieldName    = "lastname";
     this.lastname.Name         = "lastname";
     this.lastname.Visible      = true;
     this.lastname.VisibleIndex = 11;
     //
     // email
     //
     this.email.Caption      = "email";
     this.email.FieldName    = "email";
     this.email.Name         = "email";
     this.email.Visible      = true;
     this.email.VisibleIndex = 12;
     //
     // XtraForm_mdl_user
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(846, 406);
     this.Controls.Add(this.gribang);
     this.Controls.Add(this.panelControl2);
     this.Name        = "XtraForm_mdl_user";
     this.Text        = "XtraForm_mdl_user";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.panelControl2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gribang)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grichon)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager       resources       = new System.ComponentModel.ComponentResourceManager(typeof(frmLuongKhoanQuanLyChiTietNguyenCong));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule5 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression5 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule6 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression6 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.splitContainerControl4 = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControl5          = new DevExpress.XtraEditors.GroupControl();
     this.btnTraCuu               = new DevExpress.XtraEditors.SimpleButton();
     this.label2                  = new System.Windows.Forms.Label();
     this.label1                  = new System.Windows.Forms.Label();
     this.dpDen                   = new System.Windows.Forms.DateTimePicker();
     this.dpTu                    = new System.Windows.Forms.DateTimePicker();
     this.gridControl1            = new DevExpress.XtraGrid.GridControl();
     this.gridView1               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.idGiaChiTietQuanLy_col1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.maDonHang_col1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.sanpham_col1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.soluong_col1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.nguyenCong_col1         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.congdoan_col1           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.donGiaQuanLy_col1       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.idDonHang_col1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.idCongDoan_col1         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.idMaSanPham_col1        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupControl6           = new DevExpress.XtraEditors.GroupControl();
     this.gridControl2            = new DevExpress.XtraGrid.GridControl();
     this.gridView2               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn13            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn14            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn15            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn16            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn17            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn18            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn19            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn20            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn21            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn28            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn22            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn23            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn24            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn25            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn26            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn27            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn29            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btnXoa                  = new DevExpress.XtraEditors.SimpleButton();
     this.btnGhiSoLuongHoanThanh  = new DevExpress.XtraEditors.SimpleButton();
     this.dpNgayGhi               = new System.Windows.Forms.DateTimePicker();
     this.label3                  = new System.Windows.Forms.Label();
     this.txtSoLuongLam           = new System.Windows.Forms.TextBox();
     this.cbBoPhan                = new System.Windows.Forms.ComboBox();
     this.label4                  = new System.Windows.Forms.Label();
     this.label5                  = new System.Windows.Forms.Label();
     this.txtIDGiaQuanLy          = new System.Windows.Forms.TextBox();
     this.label6                  = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl4)).BeginInit();
     this.splitContainerControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).BeginInit();
     this.groupControl5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).BeginInit();
     this.groupControl6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainerControl4
     //
     this.splitContainerControl4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl4.Location = new System.Drawing.Point(0, 0);
     this.splitContainerControl4.Name     = "splitContainerControl4";
     this.splitContainerControl4.Panel1.Controls.Add(this.groupControl5);
     this.splitContainerControl4.Panel1.Text = "Panel1";
     this.splitContainerControl4.Panel2.Controls.Add(this.groupControl6);
     this.splitContainerControl4.Panel2.Text      = "Panel2";
     this.splitContainerControl4.Size             = new System.Drawing.Size(1370, 450);
     this.splitContainerControl4.SplitterPosition = 896;
     this.splitContainerControl4.TabIndex         = 2;
     this.splitContainerControl4.Text             = "splitContainerControl4";
     //
     // groupControl5
     //
     this.groupControl5.Controls.Add(this.txtIDGiaQuanLy);
     this.groupControl5.Controls.Add(this.cbBoPhan);
     this.groupControl5.Controls.Add(this.txtSoLuongLam);
     this.groupControl5.Controls.Add(this.btnTraCuu);
     this.groupControl5.Controls.Add(this.label5);
     this.groupControl5.Controls.Add(this.label4);
     this.groupControl5.Controls.Add(this.label3);
     this.groupControl5.Controls.Add(this.label6);
     this.groupControl5.Controls.Add(this.label2);
     this.groupControl5.Controls.Add(this.btnGhiSoLuongHoanThanh);
     this.groupControl5.Controls.Add(this.label1);
     this.groupControl5.Controls.Add(this.dpDen);
     this.groupControl5.Controls.Add(this.dpNgayGhi);
     this.groupControl5.Controls.Add(this.dpTu);
     this.groupControl5.Controls.Add(this.gridControl1);
     this.groupControl5.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControl5.Location = new System.Drawing.Point(0, 0);
     this.groupControl5.Name     = "groupControl5";
     this.groupControl5.Size     = new System.Drawing.Size(896, 450);
     this.groupControl5.TabIndex = 1;
     //
     // btnTraCuu
     //
     this.btnTraCuu.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnTraCuu.ImageOptions.Image")));
     this.btnTraCuu.Location           = new System.Drawing.Point(246, 1);
     this.btnTraCuu.Name     = "btnTraCuu";
     this.btnTraCuu.Size     = new System.Drawing.Size(42, 18);
     this.btnTraCuu.TabIndex = 1128;
     this.btnTraCuu.Text     = "Tra";
     this.btnTraCuu.Click   += new System.EventHandler(this.btnTraCuu_Click);
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(124, 4);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(27, 13);
     this.label2.TabIndex = 1127;
     this.label2.Text     = "Đến";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(5, 4);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(20, 13);
     this.label1.TabIndex = 1127;
     this.label1.Text     = "Từ";
     //
     // dpDen
     //
     this.dpDen.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpDen.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dpDen.Location = new System.Drawing.Point(157, 1);
     this.dpDen.Name     = "dpDen";
     this.dpDen.Size     = new System.Drawing.Size(87, 18);
     this.dpDen.TabIndex = 1126;
     //
     // dpTu
     //
     this.dpTu.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpTu.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dpTu.Location = new System.Drawing.Point(31, 1);
     this.dpTu.Name     = "dpTu";
     this.dpTu.Size     = new System.Drawing.Size(87, 18);
     this.dpTu.TabIndex = 1126;
     //
     // gridControl1
     //
     this.gridControl1.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location             = new System.Drawing.Point(2, 20);
     this.gridControl1.MainView             = this.gridView1;
     this.gridControl1.Name                 = "gridControl1";
     this.gridControl1.Size                 = new System.Drawing.Size(892, 428);
     this.gridControl1.TabIndex             = 1125;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     this.gridControl1.Click       += new System.EventHandler(this.gridControl1_Click);
     this.gridControl1.DoubleClick += new System.EventHandler(this.gridControl1_DoubleClick);
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.idGiaChiTietQuanLy_col1,
         this.maDonHang_col1,
         this.sanpham_col1,
         this.soluong_col1,
         this.nguyenCong_col1,
         this.congdoan_col1,
         this.donGiaQuanLy_col1,
         this.idDonHang_col1,
         this.idCongDoan_col1,
         this.idMaSanPham_col1
     });
     gridFormatRule5.Name = "Format0";
     formatConditionRuleExpression5.Appearance.BackColor            = System.Drawing.Color.Lime;
     formatConditionRuleExpression5.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression5.Expression = "[CoDinhMuc] <> null";
     gridFormatRule5.Rule = formatConditionRuleExpression5;
     gridFormatRule6.Name = "Format1";
     formatConditionRuleExpression6.Appearance.BackColor            = System.Drawing.Color.DarkOrange;
     formatConditionRuleExpression6.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression6.Expression = "[DaChiaNguonLuc] <> null";
     gridFormatRule6.Rule = formatConditionRuleExpression6;
     this.gridView1.FormatRules.Add(gridFormatRule5);
     this.gridView1.FormatRules.Add(gridFormatRule6);
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsMenu.ShowConditionalFormattingItem = true;
     this.gridView1.OptionsSelection.MultiSelect  = true;
     this.gridView1.OptionsView.ColumnAutoWidth   = false;
     this.gridView1.OptionsView.ShowAutoFilterRow = true;
     this.gridView1.OptionsView.ShowFooter        = true;
     this.gridView1.OptionsView.ShowGroupPanel    = false;
     //
     // idGiaChiTietQuanLy_col1
     //
     this.idGiaChiTietQuanLy_col1.Caption      = "IDCTLuongKhoan";
     this.idGiaChiTietQuanLy_col1.FieldName    = "IDGiaChiTietQuanLy";
     this.idGiaChiTietQuanLy_col1.Name         = "idGiaChiTietQuanLy_col1";
     this.idGiaChiTietQuanLy_col1.Visible      = true;
     this.idGiaChiTietQuanLy_col1.VisibleIndex = 0;
     this.idGiaChiTietQuanLy_col1.Width        = 57;
     //
     // maDonHang_col1
     //
     this.maDonHang_col1.Caption      = "Mã đơn hàng";
     this.maDonHang_col1.FieldName    = "MaDonHang";
     this.maDonHang_col1.Name         = "maDonHang_col1";
     this.maDonHang_col1.Visible      = true;
     this.maDonHang_col1.VisibleIndex = 1;
     //
     // sanpham_col1
     //
     this.sanpham_col1.Caption      = "Sản phẩm";
     this.sanpham_col1.FieldName    = "SanPham";
     this.sanpham_col1.Name         = "sanpham_col1";
     this.sanpham_col1.Visible      = true;
     this.sanpham_col1.VisibleIndex = 2;
     //
     // soluong_col1
     //
     this.soluong_col1.Caption = "Số lượng ";
     this.soluong_col1.DisplayFormat.FormatString = "{0:#,#}";
     this.soluong_col1.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.soluong_col1.FieldName    = "SoLuongCongDoan";
     this.soluong_col1.Name         = "soluong_col1";
     this.soluong_col1.Visible      = true;
     this.soluong_col1.VisibleIndex = 3;
     //
     // nguyenCong_col1
     //
     this.nguyenCong_col1.Caption      = "Nguyên công";
     this.nguyenCong_col1.FieldName    = "NguyenCong";
     this.nguyenCong_col1.Name         = "nguyenCong_col1";
     this.nguyenCong_col1.Visible      = true;
     this.nguyenCong_col1.VisibleIndex = 4;
     //
     // congdoan_col1
     //
     this.congdoan_col1.Caption      = "Công đoạn";
     this.congdoan_col1.FieldName    = "CongDoan";
     this.congdoan_col1.Name         = "congdoan_col1";
     this.congdoan_col1.Visible      = true;
     this.congdoan_col1.VisibleIndex = 5;
     this.congdoan_col1.Width        = 96;
     //
     // donGiaQuanLy_col1
     //
     this.donGiaQuanLy_col1.Caption = "Đơn giá QL";
     this.donGiaQuanLy_col1.DisplayFormat.FormatString = "{0:n1}";
     this.donGiaQuanLy_col1.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.donGiaQuanLy_col1.FieldName = "DonGiaKhoanQL";
     this.donGiaQuanLy_col1.Name      = "donGiaQuanLy_col1";
     this.donGiaQuanLy_col1.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "DonGiaKhoanQL", "{0:#,#}")
     });
     this.donGiaQuanLy_col1.Visible      = true;
     this.donGiaQuanLy_col1.VisibleIndex = 6;
     this.donGiaQuanLy_col1.Width        = 52;
     //
     // idDonHang_col1
     //
     this.idDonHang_col1.Caption      = "ID Đơn hàng";
     this.idDonHang_col1.FieldName    = "IDDonHang";
     this.idDonHang_col1.Name         = "idDonHang_col1";
     this.idDonHang_col1.Visible      = true;
     this.idDonHang_col1.VisibleIndex = 7;
     //
     // idCongDoan_col1
     //
     this.idCongDoan_col1.Caption      = "ID Công đoạn";
     this.idCongDoan_col1.FieldName    = "IDCongDoan";
     this.idCongDoan_col1.Name         = "idCongDoan_col1";
     this.idCongDoan_col1.Visible      = true;
     this.idCongDoan_col1.VisibleIndex = 8;
     //
     // idMaSanPham_col1
     //
     this.idMaSanPham_col1.Caption      = "Mã sản phẩm";
     this.idMaSanPham_col1.FieldName    = "MaSanPham";
     this.idMaSanPham_col1.Name         = "idMaSanPham_col1";
     this.idMaSanPham_col1.Visible      = true;
     this.idMaSanPham_col1.VisibleIndex = 9;
     //
     // groupControl6
     //
     this.groupControl6.Controls.Add(this.gridControl2);
     this.groupControl6.Controls.Add(this.btnXoa);
     this.groupControl6.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControl6.Location = new System.Drawing.Point(0, 0);
     this.groupControl6.Name     = "groupControl6";
     this.groupControl6.Size     = new System.Drawing.Size(469, 450);
     this.groupControl6.TabIndex = 1;
     this.groupControl6.Text     = "Ghi số lượng";
     //
     // gridControl2
     //
     this.gridControl2.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.gridControl2.Location             = new System.Drawing.Point(2, 20);
     this.gridControl2.MainView             = this.gridView2;
     this.gridControl2.Name                 = "gridControl2";
     this.gridControl2.Size                 = new System.Drawing.Size(465, 428);
     this.gridControl2.TabIndex             = 1126;
     this.gridControl2.UseEmbeddedNavigator = true;
     this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView2
     });
     //
     // gridView2
     //
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn13,
         this.gridColumn14,
         this.gridColumn15,
         this.gridColumn16,
         this.gridColumn17,
         this.gridColumn18,
         this.gridColumn19,
         this.gridColumn20,
         this.gridColumn21,
         this.gridColumn28,
         this.gridColumn22,
         this.gridColumn23,
         this.gridColumn24,
         this.gridColumn25,
         this.gridColumn26,
         this.gridColumn27,
         this.gridColumn29
     });
     gridFormatRule1.Name = "Format0";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.Color.Lime;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "[CoDinhMuc] <> null";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     gridFormatRule2.Name = "Format1";
     formatConditionRuleExpression2.Appearance.BackColor            = System.Drawing.Color.DarkOrange;
     formatConditionRuleExpression2.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression2.Expression = "[DaChiaNguonLuc] <> null";
     gridFormatRule2.Rule = formatConditionRuleExpression2;
     this.gridView2.FormatRules.Add(gridFormatRule1);
     this.gridView2.FormatRules.Add(gridFormatRule2);
     this.gridView2.GridControl = this.gridControl2;
     this.gridView2.Name        = "gridView2";
     this.gridView2.OptionsMenu.ShowConditionalFormattingItem = true;
     this.gridView2.OptionsSelection.MultiSelect  = true;
     this.gridView2.OptionsView.ColumnAutoWidth   = false;
     this.gridView2.OptionsView.ShowAutoFilterRow = true;
     this.gridView2.OptionsView.ShowFooter        = true;
     this.gridView2.OptionsView.ShowGroupPanel    = false;
     //
     // gridColumn13
     //
     this.gridColumn13.Caption      = "IDSoLuongToLam";
     this.gridColumn13.FieldName    = "IDSoLuongLam";
     this.gridColumn13.Name         = "gridColumn13";
     this.gridColumn13.Visible      = true;
     this.gridColumn13.VisibleIndex = 15;
     //
     // gridColumn14
     //
     this.gridColumn14.Caption      = "IDChiTietKhoan";
     this.gridColumn14.FieldName    = "IDChiTietLuongKhoan";
     this.gridColumn14.Name         = "gridColumn14";
     this.gridColumn14.Visible      = true;
     this.gridColumn14.VisibleIndex = 14;
     //
     // gridColumn15
     //
     this.gridColumn15.Caption      = "Mã đơn hàng";
     this.gridColumn15.FieldName    = "MaDonHang";
     this.gridColumn15.Name         = "gridColumn15";
     this.gridColumn15.Visible      = true;
     this.gridColumn15.VisibleIndex = 0;
     //
     // gridColumn16
     //
     this.gridColumn16.Caption      = "Mã sản phẩm";
     this.gridColumn16.FieldName    = "MaSanPham";
     this.gridColumn16.Name         = "gridColumn16";
     this.gridColumn16.Visible      = true;
     this.gridColumn16.VisibleIndex = 1;
     //
     // gridColumn17
     //
     this.gridColumn17.Caption      = "Sản phẩm";
     this.gridColumn17.FieldName    = "SanPham";
     this.gridColumn17.Name         = "gridColumn17";
     this.gridColumn17.Visible      = true;
     this.gridColumn17.VisibleIndex = 2;
     //
     // gridColumn18
     //
     this.gridColumn18.Caption      = "Số lượng";
     this.gridColumn18.FieldName    = "SoLuong";
     this.gridColumn18.Name         = "gridColumn18";
     this.gridColumn18.Visible      = true;
     this.gridColumn18.VisibleIndex = 3;
     //
     // gridColumn19
     //
     this.gridColumn19.Caption      = "Nguyên Công";
     this.gridColumn19.FieldName    = "NguyenCong";
     this.gridColumn19.Name         = "gridColumn19";
     this.gridColumn19.Visible      = true;
     this.gridColumn19.VisibleIndex = 4;
     //
     // gridColumn20
     //
     this.gridColumn20.Caption      = "Công đoạn";
     this.gridColumn20.FieldName    = "CongDoan";
     this.gridColumn20.Name         = "gridColumn20";
     this.gridColumn20.Visible      = true;
     this.gridColumn20.VisibleIndex = 5;
     //
     // gridColumn21
     //
     this.gridColumn21.Caption      = "Số lượng công đoạn";
     this.gridColumn21.FieldName    = "SoLuongCongDoan";
     this.gridColumn21.Name         = "gridColumn21";
     this.gridColumn21.Visible      = true;
     this.gridColumn21.VisibleIndex = 6;
     //
     // gridColumn28
     //
     this.gridColumn28.Caption      = "Ngày làm";
     this.gridColumn28.FieldName    = "NgayLam";
     this.gridColumn28.Name         = "gridColumn28";
     this.gridColumn28.Visible      = true;
     this.gridColumn28.VisibleIndex = 7;
     //
     // gridColumn22
     //
     this.gridColumn22.Caption      = "Số làm";
     this.gridColumn22.FieldName    = "SoLuongLam";
     this.gridColumn22.Name         = "gridColumn22";
     this.gridColumn22.Visible      = true;
     this.gridColumn22.VisibleIndex = 8;
     //
     // gridColumn23
     //
     this.gridColumn23.Caption      = "Đơn giá";
     this.gridColumn23.FieldName    = "DonGia";
     this.gridColumn23.Name         = "gridColumn23";
     this.gridColumn23.Visible      = true;
     this.gridColumn23.VisibleIndex = 9;
     //
     // gridColumn24
     //
     this.gridColumn24.Caption      = "Thành tiền";
     this.gridColumn24.FieldName    = "ThanhTien";
     this.gridColumn24.Name         = "gridColumn24";
     this.gridColumn24.Visible      = true;
     this.gridColumn24.VisibleIndex = 10;
     //
     // gridColumn25
     //
     this.gridColumn25.Caption      = "Tổ làm";
     this.gridColumn25.FieldName    = "BoPhanThucHien";
     this.gridColumn25.Name         = "gridColumn25";
     this.gridColumn25.Visible      = true;
     this.gridColumn25.VisibleIndex = 11;
     //
     // gridColumn26
     //
     this.gridColumn26.Caption      = "Người ghi";
     this.gridColumn26.FieldName    = "NguoiGhi";
     this.gridColumn26.Name         = "gridColumn26";
     this.gridColumn26.Visible      = true;
     this.gridColumn26.VisibleIndex = 12;
     //
     // gridColumn27
     //
     this.gridColumn27.Caption      = "Ngày ghi";
     this.gridColumn27.FieldName    = "NgayGhi";
     this.gridColumn27.Name         = "gridColumn27";
     this.gridColumn27.Visible      = true;
     this.gridColumn27.VisibleIndex = 13;
     //
     // gridColumn29
     //
     this.gridColumn29.Caption      = "IDDonHang";
     this.gridColumn29.FieldName    = "IDDonHang";
     this.gridColumn29.Name         = "gridColumn29";
     this.gridColumn29.Visible      = true;
     this.gridColumn29.VisibleIndex = 16;
     //
     // btnXoa
     //
     this.btnXoa.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnXoa.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnXoa.ImageOptions.Image")));
     this.btnXoa.Location           = new System.Drawing.Point(416, 0);
     this.btnXoa.Name     = "btnXoa";
     this.btnXoa.Size     = new System.Drawing.Size(48, 18);
     this.btnXoa.TabIndex = 1124;
     this.btnXoa.Text     = "Xóa";
     //
     // btnGhiSoLuongHoanThanh
     //
     this.btnGhiSoLuongHoanThanh.Anchor             = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnGhiSoLuongHoanThanh.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnGhiSoLuongHoanThanh.ImageOptions.Image")));
     this.btnGhiSoLuongHoanThanh.Location           = new System.Drawing.Point(807, 0);
     this.btnGhiSoLuongHoanThanh.Name     = "btnGhiSoLuongHoanThanh";
     this.btnGhiSoLuongHoanThanh.Size     = new System.Drawing.Size(88, 18);
     this.btnGhiSoLuongHoanThanh.TabIndex = 1124;
     this.btnGhiSoLuongHoanThanh.Text     = "Ghi số lượng";
     this.btnGhiSoLuongHoanThanh.Click   += new System.EventHandler(this.btnGhiSoLuongHoanThanh_Click);
     //
     // dpNgayGhi
     //
     this.dpNgayGhi.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.dpNgayGhi.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpNgayGhi.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dpNgayGhi.Location = new System.Drawing.Point(442, 0);
     this.dpNgayGhi.Name     = "dpNgayGhi";
     this.dpNgayGhi.Size     = new System.Drawing.Size(68, 18);
     this.dpNgayGhi.TabIndex = 1126;
     //
     // label3
     //
     this.label3.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(387, 2);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(49, 13);
     this.label3.TabIndex = 1127;
     this.label3.Text     = "Ngày ghi";
     //
     // txtSoLuongLam
     //
     this.txtSoLuongLam.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.txtSoLuongLam.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSoLuongLam.Location = new System.Drawing.Point(722, 0);
     this.txtSoLuongLam.Name     = "txtSoLuongLam";
     this.txtSoLuongLam.Size     = new System.Drawing.Size(78, 18);
     this.txtSoLuongLam.TabIndex = 1129;
     //
     // cbBoPhan
     //
     this.cbBoPhan.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.cbBoPhan.Font              = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbBoPhan.FormattingEnabled = true;
     this.cbBoPhan.Location          = new System.Drawing.Point(568, 0);
     this.cbBoPhan.Name              = "cbBoPhan";
     this.cbBoPhan.Size              = new System.Drawing.Size(94, 19);
     this.cbBoPhan.TabIndex          = 1130;
     //
     // label4
     //
     this.label4.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(669, 3);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(49, 13);
     this.label4.TabIndex = 1127;
     this.label4.Text     = "Số lượng";
     //
     // label5
     //
     this.label5.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(516, 3);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(46, 13);
     this.label5.TabIndex = 1127;
     this.label5.Text     = "Bộ phận";
     //
     // txtIDGiaQuanLy
     //
     this.txtIDGiaQuanLy.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtIDGiaQuanLy.Location = new System.Drawing.Point(310, 0);
     this.txtIDGiaQuanLy.Name     = "txtIDGiaQuanLy";
     this.txtIDGiaQuanLy.Size     = new System.Drawing.Size(71, 18);
     this.txtIDGiaQuanLy.TabIndex = 1131;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(289, 3);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(15, 13);
     this.label6.TabIndex = 1127;
     this.label6.Text     = "id";
     //
     // frmLuongKhoanQuanLyChiTietNguyenCong
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1370, 450);
     this.Controls.Add(this.splitContainerControl4);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name  = "frmLuongKhoanQuanLyChiTietNguyenCong";
     this.Text  = "CẬP NHẬT SẢN LƯỢNG HOÀN THÀNH (TÍNH TIỀN KHOÁN)";
     this.Load += new System.EventHandler(this.frmLuongKhoanQuanLyChiTietNguyenCong_Load);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl4)).EndInit();
     this.splitContainerControl4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).EndInit();
     this.groupControl5.ResumeLayout(false);
     this.groupControl5.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).EndInit();
     this.groupControl6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #13
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.GridFormatRule gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.gridColumn21              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.pan_top                   = new DevExpress.XtraEditors.PanelControl();
     this.btn_close                 = new DevExpress.XtraEditors.SimpleButton();
     this.btn_select                = new DevExpress.XtraEditors.SimpleButton();
     this.btn_search                = new DevExpress.XtraEditors.SimpleButton();
     this.lbl_title                 = new DevExpress.XtraEditors.LabelControl();
     this.pan_sub                   = new DevExpress.XtraEditors.PanelControl();
     this.btn_refresh               = new DevExpress.XtraEditors.SimpleButton();
     this.txt_modelName             = new DevExpress.XtraEditors.TextEdit();
     this.lbl_modelName             = new DevExpress.XtraEditors.LabelControl();
     this.gridControl1              = new DevExpress.XtraGrid.GridControl();
     this.contextMenuStrip1         = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.현재값검색ToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.검색취소ToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1       = new System.Windows.Forms.ToolStripSeparator();
     this.택ToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator2       = new System.Windows.Forms.ToolStripSeparator();
     this.조회ToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator3       = new System.Windows.Forms.ToolStripSeparator();
     this.grid셋팅toolStripMenuItem1  = new System.Windows.Forms.ToolStripMenuItem();
     this.grid다중검색ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator7       = new System.Windows.Forms.ToolStripSeparator();
     this.닫기ToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.gridView1                 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn2               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn9               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn10              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn11              = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.pan_top)).BeginInit();
     this.pan_top.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pan_sub)).BeginInit();
     this.pan_sub.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txt_modelName.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.SuspendLayout();
     //
     // gridColumn21
     //
     this.gridColumn21.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn21.AppearanceCell.Options.UseFont        = true;
     this.gridColumn21.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn21.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn21.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn21.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn21.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn21.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn21.Caption      = "사용";
     this.gridColumn21.FieldName    = "use_chk";
     this.gridColumn21.Name         = "gridColumn21";
     this.gridColumn21.Visible      = true;
     this.gridColumn21.VisibleIndex = 9;
     this.gridColumn21.Width        = 76;
     //
     // pan_top
     //
     this.pan_top.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(126)))), ((int)(((byte)(177)))));
     this.pan_top.Appearance.Options.UseBackColor = true;
     this.pan_top.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pan_top.Controls.Add(this.btn_close);
     this.pan_top.Controls.Add(this.btn_select);
     this.pan_top.Controls.Add(this.btn_search);
     this.pan_top.Controls.Add(this.lbl_title);
     this.pan_top.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pan_top.Location = new System.Drawing.Point(0, 0);
     this.pan_top.Name     = "pan_top";
     this.pan_top.Size     = new System.Drawing.Size(1120, 85);
     this.pan_top.TabIndex = 12;
     //
     // btn_close
     //
     this.btn_close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_close.Appearance.BackColor              = System.Drawing.Color.Transparent;
     this.btn_close.Appearance.BorderColor            = System.Drawing.Color.White;
     this.btn_close.Appearance.Font                   = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.btn_close.Appearance.ForeColor              = System.Drawing.Color.White;
     this.btn_close.Appearance.Options.UseBackColor   = true;
     this.btn_close.Appearance.Options.UseBorderColor = true;
     this.btn_close.Appearance.Options.UseFont        = true;
     this.btn_close.Appearance.Options.UseForeColor   = true;
     this.btn_close.ButtonStyle          = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
     this.btn_close.Image                = global::DONGSHIN.Properties.Resources.ico_close;
     this.btn_close.Location             = new System.Drawing.Point(1006, 24);
     this.btn_close.LookAndFeel.SkinName = "VS2010";
     this.btn_close.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btn_close.Name     = "btn_close";
     this.btn_close.Size     = new System.Drawing.Size(100, 42);
     this.btn_close.TabIndex = 7;
     this.btn_close.Text     = "닫기";
     this.btn_close.Click   += new System.EventHandler(this.btn_close_Click);
     //
     // btn_select
     //
     this.btn_select.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_select.Appearance.BackColor              = System.Drawing.Color.Transparent;
     this.btn_select.Appearance.BorderColor            = System.Drawing.Color.White;
     this.btn_select.Appearance.Font                   = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.btn_select.Appearance.ForeColor              = System.Drawing.Color.White;
     this.btn_select.Appearance.Options.UseBackColor   = true;
     this.btn_select.Appearance.Options.UseBorderColor = true;
     this.btn_select.Appearance.Options.UseFont        = true;
     this.btn_select.Appearance.Options.UseForeColor   = true;
     this.btn_select.ButtonStyle          = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
     this.btn_select.Image                = global::DONGSHIN.Properties.Resources.ico_apply;
     this.btn_select.Location             = new System.Drawing.Point(903, 24);
     this.btn_select.LookAndFeel.SkinName = "VS2010";
     this.btn_select.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btn_select.Name     = "btn_select";
     this.btn_select.Size     = new System.Drawing.Size(90, 42);
     this.btn_select.TabIndex = 4;
     this.btn_select.Text     = "선택";
     this.btn_select.Click   += new System.EventHandler(this.btn_select_Click);
     //
     // btn_search
     //
     this.btn_search.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_search.Appearance.BackColor              = System.Drawing.Color.Transparent;
     this.btn_search.Appearance.BorderColor            = System.Drawing.Color.White;
     this.btn_search.Appearance.Font                   = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.btn_search.Appearance.ForeColor              = System.Drawing.Color.White;
     this.btn_search.Appearance.Options.UseBackColor   = true;
     this.btn_search.Appearance.Options.UseBorderColor = true;
     this.btn_search.Appearance.Options.UseFont        = true;
     this.btn_search.Appearance.Options.UseForeColor   = true;
     this.btn_search.ButtonStyle          = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
     this.btn_search.Image                = global::DONGSHIN.Properties.Resources.ico_search;
     this.btn_search.Location             = new System.Drawing.Point(800, 24);
     this.btn_search.LookAndFeel.SkinName = "VS2010";
     this.btn_search.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btn_search.Name     = "btn_search";
     this.btn_search.Size     = new System.Drawing.Size(90, 42);
     this.btn_search.TabIndex = 1;
     this.btn_search.Text     = "조회";
     this.btn_search.Click   += new System.EventHandler(this.btn_search_Click);
     //
     // lbl_title
     //
     this.lbl_title.Appearance.Font      = new System.Drawing.Font("나눔고딕 ExtraBold", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbl_title.Appearance.ForeColor = System.Drawing.Color.White;
     this.lbl_title.AutoSizeMode         = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lbl_title.ImageAlignToText     = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
     this.lbl_title.Location             = new System.Drawing.Point(13, 26);
     this.lbl_title.Name     = "lbl_title";
     this.lbl_title.Size     = new System.Drawing.Size(350, 34);
     this.lbl_title.TabIndex = 0;
     this.lbl_title.Text     = "제품코드 참조";
     //
     // pan_sub
     //
     this.pan_sub.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(89)))), ((int)(((byte)(191)))), ((int)(((byte)(186)))));
     this.pan_sub.Appearance.BackColor2           = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(162)))), ((int)(((byte)(198)))));
     this.pan_sub.Appearance.Options.UseBackColor = true;
     this.pan_sub.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pan_sub.Controls.Add(this.btn_refresh);
     this.pan_sub.Controls.Add(this.txt_modelName);
     this.pan_sub.Controls.Add(this.lbl_modelName);
     this.pan_sub.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pan_sub.Location = new System.Drawing.Point(0, 85);
     this.pan_sub.Name     = "pan_sub";
     this.pan_sub.Size     = new System.Drawing.Size(1120, 51);
     this.pan_sub.TabIndex = 13;
     //
     // btn_refresh
     //
     this.btn_refresh.Appearance.BackColor              = System.Drawing.Color.Transparent;
     this.btn_refresh.Appearance.BorderColor            = System.Drawing.Color.WhiteSmoke;
     this.btn_refresh.Appearance.Font                   = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.btn_refresh.Appearance.ForeColor              = System.Drawing.Color.WhiteSmoke;
     this.btn_refresh.Appearance.Options.UseBackColor   = true;
     this.btn_refresh.Appearance.Options.UseBorderColor = true;
     this.btn_refresh.Appearance.Options.UseFont        = true;
     this.btn_refresh.Appearance.Options.UseForeColor   = true;
     this.btn_refresh.ButtonStyle          = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
     this.btn_refresh.Image                = global::DONGSHIN.Properties.Resources.ico_refresh;
     this.btn_refresh.Location             = new System.Drawing.Point(506, 6);
     this.btn_refresh.LookAndFeel.SkinName = "VS2010";
     this.btn_refresh.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btn_refresh.Name     = "btn_refresh";
     this.btn_refresh.Size     = new System.Drawing.Size(100, 40);
     this.btn_refresh.TabIndex = 6;
     this.btn_refresh.Text     = "지우기";
     this.btn_refresh.Click   += new System.EventHandler(this.btn_refresh_Click);
     //
     // txt_modelName
     //
     this.txt_modelName.Location = new System.Drawing.Point(319, 15);
     this.txt_modelName.Name     = "txt_modelName";
     this.txt_modelName.Properties.Appearance.Font            = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.txt_modelName.Properties.Appearance.Options.UseFont = true;
     this.txt_modelName.Size     = new System.Drawing.Size(172, 26);
     this.txt_modelName.TabIndex = 1;
     this.txt_modelName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_modelName_KeyDown);
     //
     // lbl_modelName
     //
     this.lbl_modelName.Appearance.Font      = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.lbl_modelName.Appearance.ForeColor = System.Drawing.Color.WhiteSmoke;
     this.lbl_modelName.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.lbl_modelName.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lbl_modelName.Location     = new System.Drawing.Point(174, 18);
     this.lbl_modelName.Name         = "lbl_modelName";
     this.lbl_modelName.Size         = new System.Drawing.Size(139, 17);
     this.lbl_modelName.TabIndex     = 0;
     this.lbl_modelName.Text         = "모델명";
     //
     // gridControl1
     //
     this.gridControl1.ContextMenuStrip  = this.contextMenuStrip1;
     this.gridControl1.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location          = new System.Drawing.Point(0, 136);
     this.gridControl1.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat;
     this.gridControl1.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.Size     = new System.Drawing.Size(1120, 494);
     this.gridControl1.TabIndex = 14;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     this.gridControl1.DoubleClick += new System.EventHandler(this.gridControl1_DoubleClick);
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.현재값검색ToolStripMenuItem,
         this.검색취소ToolStripMenuItem,
         this.toolStripSeparator1,
         this.택ToolStripMenuItem,
         this.toolStripSeparator2,
         this.조회ToolStripMenuItem,
         this.toolStripSeparator3,
         this.grid셋팅toolStripMenuItem1,
         this.grid다중검색ToolStripMenuItem,
         this.toolStripSeparator7,
         this.닫기ToolStripMenuItem
     });
     this.contextMenuStrip1.Name            = "contextMenuStrip1";
     this.contextMenuStrip1.ShowImageMargin = false;
     this.contextMenuStrip1.Size            = new System.Drawing.Size(124, 182);
     //
     // 현재값검색ToolStripMenuItem
     //
     this.현재값검색ToolStripMenuItem.Name   = "현재값검색ToolStripMenuItem";
     this.현재값검색ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.현재값검색ToolStripMenuItem.Text   = "현재값 검색";
     this.현재값검색ToolStripMenuItem.Click += new System.EventHandler(this.현재값검색ToolStripMenuItem_Click);
     //
     // 검색취소ToolStripMenuItem
     //
     this.검색취소ToolStripMenuItem.Name   = "검색취소ToolStripMenuItem";
     this.검색취소ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.검색취소ToolStripMenuItem.Text   = "검색 취소";
     this.검색취소ToolStripMenuItem.Click += new System.EventHandler(this.검색취소ToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(120, 6);
     //
     // 선택ToolStripMenuItem
     //
     this.택ToolStripMenuItem.Name   = "선택ToolStripMenuItem";
     this.택ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.택ToolStripMenuItem.Text   = "선택";
     this.택ToolStripMenuItem.Click += new System.EventHandler(this.btn_select_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(120, 6);
     //
     // 조회ToolStripMenuItem
     //
     this.조회ToolStripMenuItem.Name   = "조회ToolStripMenuItem";
     this.조회ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.조회ToolStripMenuItem.Text   = "조회";
     this.조회ToolStripMenuItem.Click += new System.EventHandler(this.btn_search_Click);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(120, 6);
     //
     // grid셋팅toolStripMenuItem1
     //
     this.grid셋팅toolStripMenuItem1.Name   = "grid셋팅toolStripMenuItem1";
     this.grid셋팅toolStripMenuItem1.Size   = new System.Drawing.Size(123, 22);
     this.grid셋팅toolStripMenuItem1.Text   = "Grid 셋팅";
     this.grid셋팅toolStripMenuItem1.Click += new System.EventHandler(this.grid셋팅toolStripMenuItem1_Click);
     //
     // grid다중검색ToolStripMenuItem
     //
     this.grid다중검색ToolStripMenuItem.Name   = "grid다중검색ToolStripMenuItem";
     this.grid다중검색ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.grid다중검색ToolStripMenuItem.Text   = "Grid 다중검색";
     this.grid다중검색ToolStripMenuItem.Click += new System.EventHandler(this.grid다중검색ToolStripMenuItem_Click);
     //
     // toolStripSeparator7
     //
     this.toolStripSeparator7.Name = "toolStripSeparator7";
     this.toolStripSeparator7.Size = new System.Drawing.Size(120, 6);
     //
     // 닫기ToolStripMenuItem
     //
     this.닫기ToolStripMenuItem.Name   = "닫기ToolStripMenuItem";
     this.닫기ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.닫기ToolStripMenuItem.Text   = "닫기";
     this.닫기ToolStripMenuItem.Click += new System.EventHandler(this.btn_close_Click);
     //
     // gridView1
     //
     this.gridView1.Appearance.ColumnFilterButtonActive.BackColor              = System.Drawing.Color.DarkGray;
     this.gridView1.Appearance.ColumnFilterButtonActive.BorderColor            = System.Drawing.Color.DarkGray;
     this.gridView1.Appearance.ColumnFilterButtonActive.ForeColor              = System.Drawing.Color.Gainsboro;
     this.gridView1.Appearance.ColumnFilterButtonActive.Options.UseBackColor   = true;
     this.gridView1.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true;
     this.gridView1.Appearance.ColumnFilterButtonActive.Options.UseForeColor   = true;
     this.gridView1.Appearance.Empty.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
     this.gridView1.Appearance.Empty.GradientMode         = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal;
     this.gridView1.Appearance.Empty.Options.UseBackColor = true;
     this.gridView1.Appearance.EvenRow.BackColor          = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
     this.gridView1.Appearance.EvenRow.Font                             = new System.Drawing.Font("나눔고딕", 12F);
     this.gridView1.Appearance.EvenRow.ForeColor                        = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.gridView1.Appearance.EvenRow.Options.UseBackColor             = true;
     this.gridView1.Appearance.EvenRow.Options.UseFont                  = true;
     this.gridView1.Appearance.EvenRow.Options.UseForeColor             = true;
     this.gridView1.Appearance.FilterCloseButton.BackColor              = System.Drawing.Color.Gray;
     this.gridView1.Appearance.FilterCloseButton.BorderColor            = System.Drawing.Color.Gray;
     this.gridView1.Appearance.FilterCloseButton.Options.UseBackColor   = true;
     this.gridView1.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.gridView1.Appearance.FilterPanel.BackColor                    = System.Drawing.Color.Gray;
     this.gridView1.Appearance.FilterPanel.ForeColor                    = System.Drawing.Color.Black;
     this.gridView1.Appearance.FilterPanel.Options.UseBackColor         = true;
     this.gridView1.Appearance.FilterPanel.Options.UseForeColor         = true;
     this.gridView1.Appearance.FocusedCell.BackColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(160)))), ((int)(((byte)(221)))));
     this.gridView1.Appearance.FocusedCell.BorderColor                  = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(160)))), ((int)(((byte)(221)))));
     this.gridView1.Appearance.FocusedCell.Options.UseBackColor         = true;
     this.gridView1.Appearance.FocusedCell.Options.UseBorderColor       = true;
     this.gridView1.Appearance.FocusedRow.BackColor                     = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(185)))), ((int)(((byte)(230)))));
     this.gridView1.Appearance.FocusedRow.BorderColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(185)))), ((int)(((byte)(230)))));
     this.gridView1.Appearance.FocusedRow.Options.UseBackColor          = true;
     this.gridView1.Appearance.FocusedRow.Options.UseBorderColor        = true;
     this.gridView1.Appearance.FooterPanel.BackColor                    = System.Drawing.Color.DarkGray;
     this.gridView1.Appearance.FooterPanel.BorderColor                  = System.Drawing.Color.DarkGray;
     this.gridView1.Appearance.FooterPanel.Options.UseBackColor         = true;
     this.gridView1.Appearance.FooterPanel.Options.UseBorderColor       = true;
     this.gridView1.Appearance.GroupButton.BackColor                    = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupButton.BorderColor                  = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupButton.Options.UseBackColor         = true;
     this.gridView1.Appearance.GroupButton.Options.UseBorderColor       = true;
     this.gridView1.Appearance.GroupFooter.BackColor                    = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupFooter.BorderColor                  = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupFooter.Options.UseBackColor         = true;
     this.gridView1.Appearance.GroupFooter.Options.UseBorderColor       = true;
     this.gridView1.Appearance.GroupPanel.BackColor                     = System.Drawing.Color.DimGray;
     this.gridView1.Appearance.GroupPanel.Font                          = new System.Drawing.Font("나눔고딕", 12F);
     this.gridView1.Appearance.GroupPanel.ForeColor                     = System.Drawing.Color.WhiteSmoke;
     this.gridView1.Appearance.GroupPanel.Options.UseBackColor          = true;
     this.gridView1.Appearance.GroupPanel.Options.UseFont               = true;
     this.gridView1.Appearance.GroupPanel.Options.UseForeColor          = true;
     this.gridView1.Appearance.GroupRow.BackColor                       = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupRow.Font                            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.gridView1.Appearance.GroupRow.ForeColor                       = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.gridView1.Appearance.GroupRow.Options.UseBackColor            = true;
     this.gridView1.Appearance.GroupRow.Options.UseFont                 = true;
     this.gridView1.Appearance.GroupRow.Options.UseForeColor            = true;
     this.gridView1.Appearance.HeaderPanel.BackColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(138)))), ((int)(((byte)(155)))));
     this.gridView1.Appearance.HeaderPanel.BorderColor                  = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(138)))), ((int)(((byte)(155)))));
     this.gridView1.Appearance.HeaderPanel.Font                         = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridView1.Appearance.HeaderPanel.ForeColor                    = System.Drawing.Color.WhiteSmoke;
     this.gridView1.Appearance.HeaderPanel.Options.UseBackColor         = true;
     this.gridView1.Appearance.HeaderPanel.Options.UseBorderColor       = true;
     this.gridView1.Appearance.HeaderPanel.Options.UseFont              = true;
     this.gridView1.Appearance.HeaderPanel.Options.UseForeColor         = true;
     this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions       = true;
     this.gridView1.Appearance.HeaderPanel.TextOptions.HAlignment       = DevExpress.Utils.HorzAlignment.Center;
     this.gridView1.Appearance.HeaderPanel.TextOptions.VAlignment       = DevExpress.Utils.VertAlignment.Center;
     this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap         = DevExpress.Utils.WordWrap.Wrap;
     this.gridView1.Appearance.HorzLine.BackColor                       = System.Drawing.Color.LightGray;
     this.gridView1.Appearance.HorzLine.Options.UseBackColor            = true;
     this.gridView1.Appearance.OddRow.BackColor                         = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
     this.gridView1.Appearance.OddRow.Font                        = new System.Drawing.Font("나눔고딕", 12F);
     this.gridView1.Appearance.OddRow.ForeColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.gridView1.Appearance.OddRow.Options.UseBackColor        = true;
     this.gridView1.Appearance.OddRow.Options.UseFont             = true;
     this.gridView1.Appearance.OddRow.Options.UseForeColor        = true;
     this.gridView1.Appearance.Preview.BackColor                  = System.Drawing.Color.Gainsboro;
     this.gridView1.Appearance.Preview.ForeColor                  = System.Drawing.Color.DimGray;
     this.gridView1.Appearance.Preview.Options.UseBackColor       = true;
     this.gridView1.Appearance.Preview.Options.UseForeColor       = true;
     this.gridView1.Appearance.Row.BackColor                      = System.Drawing.Color.White;
     this.gridView1.Appearance.Row.Options.UseBackColor           = true;
     this.gridView1.Appearance.RowSeparator.BackColor             = System.Drawing.Color.DimGray;
     this.gridView1.Appearance.RowSeparator.Options.UseBackColor  = true;
     this.gridView1.Appearance.SelectedRow.BackColor              = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(185)))), ((int)(((byte)(230)))));
     this.gridView1.Appearance.SelectedRow.BorderColor            = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(185)))), ((int)(((byte)(230)))));
     this.gridView1.Appearance.SelectedRow.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridView1.Appearance.SelectedRow.ForeColor              = System.Drawing.Color.WhiteSmoke;
     this.gridView1.Appearance.SelectedRow.Options.UseBackColor   = true;
     this.gridView1.Appearance.SelectedRow.Options.UseBorderColor = true;
     this.gridView1.Appearance.SelectedRow.Options.UseFont        = true;
     this.gridView1.Appearance.SelectedRow.Options.UseForeColor   = true;
     this.gridView1.Appearance.VertLine.BackColor                 = System.Drawing.Color.LightGray;
     this.gridView1.Appearance.VertLine.Options.UseBackColor      = true;
     this.gridView1.BorderStyle          = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridView1.ColumnPanelRowHeight = 50;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn7,
         this.gridColumn8,
         this.gridColumn21,
         this.gridColumn1,
         this.gridColumn9,
         this.gridColumn10,
         this.gridColumn11
     });
     gridFormatRule2.ApplyToRow = true;
     gridFormatRule2.Column     = this.gridColumn21;
     gridFormatRule2.Name       = "YesOrNo";
     formatConditionRuleExpression2.Appearance.BackColor            = System.Drawing.Color.Salmon;
     formatConditionRuleExpression2.Appearance.BackColor2           = System.Drawing.Color.SeaShell;
     formatConditionRuleExpression2.Appearance.Font                 = new System.Drawing.Font("나눔고딕", 12F);
     formatConditionRuleExpression2.Appearance.ForeColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression2.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression2.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression2.Appearance.Options.UseForeColor = true;
     formatConditionRuleExpression2.Expression = "[use_chk] = \'N\'";
     gridFormatRule2.Rule = formatConditionRuleExpression2;
     this.gridView1.FormatRules.Add(gridFormatRule2);
     this.gridView1.GridControl                                    = this.gridControl1;
     this.gridView1.GroupRowHeight                                 = 50;
     this.gridView1.Name                                           = "gridView1";
     this.gridView1.OptionsBehavior.Editable                       = false;
     this.gridView1.OptionsBehavior.ReadOnly                       = true;
     this.gridView1.OptionsPrint.EnableAppearanceEvenRow           = true;
     this.gridView1.OptionsPrint.EnableAppearanceOddRow            = true;
     this.gridView1.OptionsSelection.EnableAppearanceHideSelection = false;
     this.gridView1.OptionsSelection.MultiSelect                   = true;
     this.gridView1.OptionsView.EnableAppearanceEvenRow            = true;
     this.gridView1.OptionsView.EnableAppearanceOddRow             = true;
     this.gridView1.OptionsView.ShowGroupPanel                     = false;
     this.gridView1.OptionsView.ShowVerticalLines                  = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.PaintStyleName                                 = "Web";
     this.gridView1.RowHeight                                      = 50;
     //
     // gridColumn2
     //
     this.gridColumn2.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn2.AppearanceCell.Options.UseFont        = true;
     this.gridColumn2.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn2.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn2.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn2.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn2.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn2.Caption      = "제품코드";
     this.gridColumn2.FieldName    = "jp_id";
     this.gridColumn2.Name         = "gridColumn2";
     this.gridColumn2.Visible      = true;
     this.gridColumn2.VisibleIndex = 0;
     this.gridColumn2.Width        = 114;
     //
     // gridColumn3
     //
     this.gridColumn3.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn3.AppearanceCell.Options.UseFont        = true;
     this.gridColumn3.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn3.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn3.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn3.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn3.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn3.Caption      = "차종명";
     this.gridColumn3.FieldName    = "car";
     this.gridColumn3.Name         = "gridColumn3";
     this.gridColumn3.Visible      = true;
     this.gridColumn3.VisibleIndex = 1;
     this.gridColumn3.Width        = 91;
     //
     // gridColumn4
     //
     this.gridColumn4.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn4.AppearanceCell.Options.UseFont        = true;
     this.gridColumn4.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn4.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn4.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn4.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn4.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn4.Caption      = "모델명";
     this.gridColumn4.FieldName    = "model";
     this.gridColumn4.Name         = "gridColumn4";
     this.gridColumn4.Visible      = true;
     this.gridColumn4.VisibleIndex = 2;
     this.gridColumn4.Width        = 99;
     //
     // gridColumn5
     //
     this.gridColumn5.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn5.AppearanceCell.Options.UseFont        = true;
     this.gridColumn5.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn5.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn5.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn5.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn5.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn5.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn5.Caption      = "품명";
     this.gridColumn5.FieldName    = "jp_name";
     this.gridColumn5.Name         = "gridColumn5";
     this.gridColumn5.Visible      = true;
     this.gridColumn5.VisibleIndex = 3;
     this.gridColumn5.Width        = 127;
     //
     // gridColumn6
     //
     this.gridColumn6.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn6.AppearanceCell.Options.UseFont        = true;
     this.gridColumn6.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn6.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn6.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn6.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn6.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn6.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn6.Caption      = "품번";
     this.gridColumn6.FieldName    = "jp_num";
     this.gridColumn6.Name         = "gridColumn6";
     this.gridColumn6.Visible      = true;
     this.gridColumn6.VisibleIndex = 4;
     this.gridColumn6.Width        = 121;
     //
     // gridColumn7
     //
     this.gridColumn7.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn7.AppearanceCell.Options.UseFont        = true;
     this.gridColumn7.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn7.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn7.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn7.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn7.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn7.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn7.Caption      = "캐비티수";
     this.gridColumn7.FieldName    = "cavity";
     this.gridColumn7.Name         = "gridColumn7";
     this.gridColumn7.Visible      = true;
     this.gridColumn7.VisibleIndex = 7;
     this.gridColumn7.Width        = 96;
     //
     // gridColumn8
     //
     this.gridColumn8.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn8.AppearanceCell.Options.UseFont        = true;
     this.gridColumn8.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn8.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn8.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn8.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn8.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn8.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn8.Caption = "사이클타임";
     this.gridColumn8.DisplayFormat.FormatString = "{0:#,##0}";
     this.gridColumn8.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.gridColumn8.FieldName    = "cycle_t";
     this.gridColumn8.Name         = "gridColumn8";
     this.gridColumn8.Visible      = true;
     this.gridColumn8.VisibleIndex = 8;
     this.gridColumn8.Width        = 91;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption   = "캐비티수(int)";
     this.gridColumn1.FieldName = "cavity_num";
     this.gridColumn1.Name      = "gridColumn1";
     //
     // gridColumn9
     //
     this.gridColumn9.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn9.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn9.Caption      = "자재번호";
     this.gridColumn9.FieldName    = "mtrl_num";
     this.gridColumn9.Name         = "gridColumn9";
     this.gridColumn9.Visible      = true;
     this.gridColumn9.VisibleIndex = 6;
     this.gridColumn9.Width        = 88;
     //
     // gridColumn10
     //
     this.gridColumn10.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn10.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn10.Caption      = "제품수지";
     this.gridColumn10.FieldName    = "sj_name";
     this.gridColumn10.Name         = "gridColumn10";
     this.gridColumn10.Visible      = true;
     this.gridColumn10.VisibleIndex = 5;
     this.gridColumn10.Width        = 106;
     //
     // gridColumn11
     //
     this.gridColumn11.Caption   = "작업표준서";
     this.gridColumn11.FieldName = "jp_stdpaper";
     this.gridColumn11.Name      = "gridColumn11";
     //
     // frm_productRef
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(1120, 630);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.pan_sub);
     this.Controls.Add(this.pan_top);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name            = "frm_productRef";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "0";
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.frm_productRef_FormClosing);
     this.Load           += new System.EventHandler(this.frm_productRef_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pan_top)).EndInit();
     this.pan_top.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pan_sub)).EndInit();
     this.pan_sub.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.txt_modelName.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager       resources       = new System.ComponentModel.ComponentResourceManager(typeof(frmCNNguyenCong));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.maSP_grid                         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.nguyenCong_grid                   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl1                     = new DevExpress.XtraEditors.PanelControl();
     this.layoutControl1                    = new DevExpress.XtraLayout.LayoutControl();
     this.btnXemBanVe                       = new DevExpress.XtraEditors.SimpleButton();
     this.btnThemNguyenCong                 = new DevExpress.XtraEditors.SimpleButton();
     this.btnXoa                            = new DevExpress.XtraEditors.SimpleButton();
     this.txtMemBer                         = new System.Windows.Forms.TextBox();
     this.btnTaoMoi                         = new DevExpress.XtraEditors.SimpleButton();
     this.btnSua                            = new DevExpress.XtraEditors.SimpleButton();
     this.txtSanPhamID                      = new System.Windows.Forms.TextBox();
     this.btnGhi                            = new DevExpress.XtraEditors.SimpleButton();
     this.txtNguyenCongID                   = new System.Windows.Forms.TextBox();
     this.txtSanPham                        = new System.Windows.Forms.TextBox();
     this.txtMaSanPham                      = new System.Windows.Forms.TextBox();
     this.layoutControlGroup1               = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1                = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem6                = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem10               = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem2                = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem4                = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem5                = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem3                = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem7                = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem8                = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem9                = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem11               = new DevExpress.XtraLayout.LayoutControlItem();
     this.splitContainerControl1            = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControl2                     = new DevExpress.XtraEditors.GroupControl();
     this.txtPath_MaSP                      = new System.Windows.Forms.TextBox();
     this.btnDSSanPham                      = new DevExpress.XtraEditors.SimpleButton();
     this.gridControl1                      = new DevExpress.XtraGrid.GridControl();
     this.gridView1                         = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.sanPhamID_grid                    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenSanPham_grid                   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.nguoiLap_grid                     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngayLap_grid                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.groupControl1                     = new DevExpress.XtraEditors.GroupControl();
     this.BtnDanhSachNguyenCong             = new DevExpress.XtraEditors.SimpleButton();
     this.gridControl2                      = new DevExpress.XtraGrid.GridControl();
     this.gridView2                         = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn14                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn13                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repository                        = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.repositoryItemGridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn5                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn10                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn9                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn11                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3                       = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
     this.groupControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repository)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).BeginInit();
     this.SuspendLayout();
     //
     // maSP_grid
     //
     this.maSP_grid.Caption      = "MÃ SẢN PHẨM";
     this.maSP_grid.FieldName    = "Masp";
     this.maSP_grid.Name         = "maSP_grid";
     this.maSP_grid.Visible      = true;
     this.maSP_grid.VisibleIndex = 1;
     this.maSP_grid.Width        = 84;
     //
     // nguyenCong_grid
     //
     this.nguyenCong_grid.Caption      = "NGUYÊN CÔNG";
     this.nguyenCong_grid.FieldName    = "NguyenCong";
     this.nguyenCong_grid.Name         = "nguyenCong_grid";
     this.nguyenCong_grid.Visible      = true;
     this.nguyenCong_grid.VisibleIndex = 5;
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.layoutControl1);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(896, 66);
     this.panelControl1.TabIndex = 1099;
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.btnXemBanVe);
     this.layoutControl1.Controls.Add(this.btnThemNguyenCong);
     this.layoutControl1.Controls.Add(this.btnXoa);
     this.layoutControl1.Controls.Add(this.txtMemBer);
     this.layoutControl1.Controls.Add(this.btnTaoMoi);
     this.layoutControl1.Controls.Add(this.btnSua);
     this.layoutControl1.Controls.Add(this.txtSanPhamID);
     this.layoutControl1.Controls.Add(this.btnGhi);
     this.layoutControl1.Controls.Add(this.txtNguyenCongID);
     this.layoutControl1.Controls.Add(this.txtSanPham);
     this.layoutControl1.Controls.Add(this.txtMaSanPham);
     this.layoutControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(2, 2);
     this.layoutControl1.Name     = "layoutControl1";
     this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(660, 177, 650, 400);
     this.layoutControl1.Root     = this.layoutControlGroup1;
     this.layoutControl1.Size     = new System.Drawing.Size(892, 62);
     this.layoutControl1.TabIndex = 1095;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // btnXemBanVe
     //
     this.btnXemBanVe.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnXemBanVe.ImageOptions.Image")));
     this.btnXemBanVe.Location           = new System.Drawing.Point(420, 7);
     this.btnXemBanVe.Name            = "btnXemBanVe";
     this.btnXemBanVe.Size            = new System.Drawing.Size(76, 22);
     this.btnXemBanVe.StyleController = this.layoutControl1;
     this.btnXemBanVe.TabIndex        = 12;
     this.btnXemBanVe.Text            = "Bản vẽ";
     this.btnXemBanVe.Click          += new System.EventHandler(this.btnXemBanVe_Click);
     //
     // btnThemNguyenCong
     //
     this.btnThemNguyenCong.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnThemNguyenCong.ImageOptions.Image")));
     this.btnThemNguyenCong.Location           = new System.Drawing.Point(670, 33);
     this.btnThemNguyenCong.Name            = "btnThemNguyenCong";
     this.btnThemNguyenCong.Size            = new System.Drawing.Size(71, 22);
     this.btnThemNguyenCong.StyleController = this.layoutControl1;
     this.btnThemNguyenCong.TabIndex        = 11;
     this.btnThemNguyenCong.Text            = "Thêm NC";
     this.btnThemNguyenCong.Click          += new System.EventHandler(this.btnThemNguyenCong_Click);
     //
     // btnXoa
     //
     this.btnXoa.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnXoa.ImageOptions.Image")));
     this.btnXoa.Location           = new System.Drawing.Point(551, 33);
     this.btnXoa.Name            = "btnXoa";
     this.btnXoa.Size            = new System.Drawing.Size(46, 22);
     this.btnXoa.StyleController = this.layoutControl1;
     this.btnXoa.TabIndex        = 10;
     this.btnXoa.Text            = "Xóa";
     this.btnXoa.Click          += new System.EventHandler(this.btnXoa_Click);
     //
     // txtMemBer
     //
     this.txtMemBer.Location = new System.Drawing.Point(821, 7);
     this.txtMemBer.Name     = "txtMemBer";
     this.txtMemBer.ReadOnly = true;
     this.txtMemBer.Size     = new System.Drawing.Size(64, 20);
     this.txtMemBer.TabIndex = 9;
     //
     // btnTaoMoi
     //
     this.btnTaoMoi.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnTaoMoi.ImageOptions.Image")));
     this.btnTaoMoi.Location           = new System.Drawing.Point(601, 33);
     this.btnTaoMoi.Name            = "btnTaoMoi";
     this.btnTaoMoi.Size            = new System.Drawing.Size(65, 22);
     this.btnTaoMoi.StyleController = this.layoutControl1;
     this.btnTaoMoi.TabIndex        = 8;
     this.btnTaoMoi.Text            = "Tạo mới";
     this.btnTaoMoi.Click          += new System.EventHandler(this.btnTaoMoi_Click);
     //
     // btnSua
     //
     this.btnSua.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSua.ImageOptions.Image")));
     this.btnSua.Location           = new System.Drawing.Point(500, 33);
     this.btnSua.Name            = "btnSua";
     this.btnSua.Size            = new System.Drawing.Size(47, 22);
     this.btnSua.StyleController = this.layoutControl1;
     this.btnSua.TabIndex        = 7;
     this.btnSua.Text            = "Sửa";
     this.btnSua.Click          += new System.EventHandler(this.btnSua_Click);
     //
     // txtSanPhamID
     //
     this.txtSanPhamID.Location = new System.Drawing.Point(821, 33);
     this.txtSanPhamID.Name     = "txtSanPhamID";
     this.txtSanPhamID.ReadOnly = true;
     this.txtSanPhamID.Size     = new System.Drawing.Size(64, 20);
     this.txtSanPhamID.TabIndex = 6;
     //
     // btnGhi
     //
     this.btnGhi.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnGhi.ImageOptions.Image")));
     this.btnGhi.Location           = new System.Drawing.Point(500, 7);
     this.btnGhi.Name            = "btnGhi";
     this.btnGhi.Size            = new System.Drawing.Size(47, 22);
     this.btnGhi.StyleController = this.layoutControl1;
     this.btnGhi.TabIndex        = 5;
     this.btnGhi.Text            = "Ghi";
     this.btnGhi.Click          += new System.EventHandler(this.btnGhi_Click);
     //
     // txtNguyenCongID
     //
     this.txtNguyenCongID.Location = new System.Drawing.Point(627, 7);
     this.txtNguyenCongID.Name     = "txtNguyenCongID";
     this.txtNguyenCongID.ReadOnly = true;
     this.txtNguyenCongID.Size     = new System.Drawing.Size(114, 20);
     this.txtNguyenCongID.TabIndex = 3;
     //
     // txtSanPham
     //
     this.txtSanPham.Location = new System.Drawing.Point(83, 33);
     this.txtSanPham.Name     = "txtSanPham";
     this.txtSanPham.ReadOnly = true;
     this.txtSanPham.Size     = new System.Drawing.Size(413, 20);
     this.txtSanPham.TabIndex = 4;
     //
     // txtMaSanPham
     //
     this.txtMaSanPham.Location = new System.Drawing.Point(83, 7);
     this.txtMaSanPham.Name     = "txtMaSanPham";
     this.txtMaSanPham.ReadOnly = true;
     this.txtMaSanPham.Size     = new System.Drawing.Size(333, 20);
     this.txtMaSanPham.TabIndex = 0;
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible         = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItem1,
         this.layoutControlItem6,
         this.layoutControlItem10,
         this.layoutControlItem2,
         this.layoutControlItem4,
         this.layoutControlItem5,
         this.layoutControlItem3,
         this.layoutControlItem7,
         this.layoutControlItem8,
         this.layoutControlItem9,
         this.layoutControlItem11
     });
     this.layoutControlGroup1.Name        = "Root";
     this.layoutControlGroup1.Padding     = new DevExpress.XtraLayout.Utils.Padding(5, 5, 5, 5);
     this.layoutControlGroup1.Size        = new System.Drawing.Size(892, 62);
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control  = this.txtMaSanPham;
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem1.Name     = "layoutControlItem1";
     this.layoutControlItem1.Size     = new System.Drawing.Size(413, 26);
     this.layoutControlItem1.Text     = "Mã sản phẩm";
     this.layoutControlItem1.TextSize = new System.Drawing.Size(73, 13);
     //
     // layoutControlItem6
     //
     this.layoutControlItem6.Control  = this.txtNguyenCongID;
     this.layoutControlItem6.Location = new System.Drawing.Point(544, 0);
     this.layoutControlItem6.Name     = "layoutControlItem6";
     this.layoutControlItem6.Size     = new System.Drawing.Size(194, 26);
     this.layoutControlItem6.Text     = "NguyenCongID";
     this.layoutControlItem6.TextSize = new System.Drawing.Size(73, 13);
     //
     // layoutControlItem10
     //
     this.layoutControlItem10.Control  = this.txtSanPham;
     this.layoutControlItem10.Location = new System.Drawing.Point(0, 26);
     this.layoutControlItem10.Name     = "layoutControlItem10";
     this.layoutControlItem10.Size     = new System.Drawing.Size(493, 26);
     this.layoutControlItem10.Text     = "Sản phẩm";
     this.layoutControlItem10.TextSize = new System.Drawing.Size(73, 13);
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control     = this.btnGhi;
     this.layoutControlItem2.Location    = new System.Drawing.Point(493, 0);
     this.layoutControlItem2.Name        = "layoutControlItem2";
     this.layoutControlItem2.Size        = new System.Drawing.Size(51, 26);
     this.layoutControlItem2.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem2.TextVisible = false;
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control  = this.txtSanPhamID;
     this.layoutControlItem4.Location = new System.Drawing.Point(738, 26);
     this.layoutControlItem4.Name     = "layoutControlItem4";
     this.layoutControlItem4.Size     = new System.Drawing.Size(144, 26);
     this.layoutControlItem4.Text     = "SanPhamID";
     this.layoutControlItem4.TextSize = new System.Drawing.Size(73, 13);
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control     = this.btnSua;
     this.layoutControlItem5.Location    = new System.Drawing.Point(493, 26);
     this.layoutControlItem5.Name        = "layoutControlItem5";
     this.layoutControlItem5.Size        = new System.Drawing.Size(51, 26);
     this.layoutControlItem5.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem5.TextVisible = false;
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control     = this.btnTaoMoi;
     this.layoutControlItem3.Location    = new System.Drawing.Point(594, 26);
     this.layoutControlItem3.Name        = "layoutControlItem3";
     this.layoutControlItem3.Size        = new System.Drawing.Size(69, 26);
     this.layoutControlItem3.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem3.TextVisible = false;
     //
     // layoutControlItem7
     //
     this.layoutControlItem7.Control  = this.txtMemBer;
     this.layoutControlItem7.Location = new System.Drawing.Point(738, 0);
     this.layoutControlItem7.Name     = "layoutControlItem7";
     this.layoutControlItem7.Size     = new System.Drawing.Size(144, 26);
     this.layoutControlItem7.Text     = "Người dùng";
     this.layoutControlItem7.TextSize = new System.Drawing.Size(73, 13);
     //
     // layoutControlItem8
     //
     this.layoutControlItem8.Control     = this.btnXoa;
     this.layoutControlItem8.Location    = new System.Drawing.Point(544, 26);
     this.layoutControlItem8.Name        = "layoutControlItem8";
     this.layoutControlItem8.Size        = new System.Drawing.Size(50, 26);
     this.layoutControlItem8.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem8.TextVisible = false;
     //
     // layoutControlItem9
     //
     this.layoutControlItem9.Control     = this.btnThemNguyenCong;
     this.layoutControlItem9.Location    = new System.Drawing.Point(663, 26);
     this.layoutControlItem9.Name        = "layoutControlItem9";
     this.layoutControlItem9.Size        = new System.Drawing.Size(75, 26);
     this.layoutControlItem9.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem9.TextVisible = false;
     //
     // layoutControlItem11
     //
     this.layoutControlItem11.Control     = this.btnXemBanVe;
     this.layoutControlItem11.Location    = new System.Drawing.Point(413, 0);
     this.layoutControlItem11.Name        = "layoutControlItem11";
     this.layoutControlItem11.Size        = new System.Drawing.Size(80, 26);
     this.layoutControlItem11.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem11.TextVisible = false;
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 66);
     this.splitContainerControl1.Name     = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.groupControl2);
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Controls.Add(this.groupControl1);
     this.splitContainerControl1.Panel2.Text      = "Panel2";
     this.splitContainerControl1.Size             = new System.Drawing.Size(896, 400);
     this.splitContainerControl1.SplitterPosition = 414;
     this.splitContainerControl1.TabIndex         = 1229;
     this.splitContainerControl1.Text             = "splitContainerControl1";
     //
     // groupControl2
     //
     this.groupControl2.Controls.Add(this.txtPath_MaSP);
     this.groupControl2.Controls.Add(this.btnDSSanPham);
     this.groupControl2.Controls.Add(this.gridControl1);
     this.groupControl2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControl2.Location = new System.Drawing.Point(0, 0);
     this.groupControl2.Name     = "groupControl2";
     this.groupControl2.Size     = new System.Drawing.Size(414, 400);
     this.groupControl2.TabIndex = 0;
     this.groupControl2.Text     = "DANH MỤC SẢN PHẨM HIỆN HÀNH";
     //
     // txtPath_MaSP
     //
     this.txtPath_MaSP.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPath_MaSP.Location = new System.Drawing.Point(181, 0);
     this.txtPath_MaSP.Name     = "txtPath_MaSP";
     this.txtPath_MaSP.ReadOnly = true;
     this.txtPath_MaSP.Size     = new System.Drawing.Size(88, 18);
     this.txtPath_MaSP.TabIndex = 1231;
     this.txtPath_MaSP.Text     = "\\\\Server\\kythuat\\DM_SANPHAM";
     //
     // btnDSSanPham
     //
     this.btnDSSanPham.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnDSSanPham.ImageOptions.Image")));
     this.btnDSSanPham.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
     this.btnDSSanPham.Location = new System.Drawing.Point(0, 19);
     this.btnDSSanPham.Name     = "btnDSSanPham";
     this.btnDSSanPham.Size     = new System.Drawing.Size(18, 20);
     this.btnDSSanPham.TabIndex = 1230;
     this.btnDSSanPham.TabStop  = false;
     this.btnDSSanPham.Click   += new System.EventHandler(this.btnDSSanPham_Click);
     //
     // gridControl1
     //
     this.gridControl1.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location             = new System.Drawing.Point(2, 20);
     this.gridControl1.MainView             = this.gridView1;
     this.gridControl1.Name                 = "gridControl1";
     this.gridControl1.Size                 = new System.Drawing.Size(410, 378);
     this.gridControl1.TabIndex             = 1226;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click);
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.sanPhamID_grid,
         this.maSP_grid,
         this.tenSanPham_grid,
         this.nguoiLap_grid,
         this.ngayLap_grid,
         this.nguyenCong_grid
     });
     gridFormatRule2.Column = this.maSP_grid;
     gridFormatRule2.Name   = "Format0";
     formatConditionRuleExpression2.Appearance.BackColor            = System.Drawing.Color.Lime;
     formatConditionRuleExpression2.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression2.Expression = "[NguyenCong] <> null";
     gridFormatRule2.Rule = formatConditionRuleExpression2;
     this.gridView1.FormatRules.Add(gridFormatRule2);
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsSelection.MultiSelect     = true;
     this.gridView1.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
     this.gridView1.OptionsView.ColumnAutoWidth      = false;
     this.gridView1.OptionsView.ShowAutoFilterRow    = true;
     this.gridView1.OptionsView.ShowFooter           = true;
     this.gridView1.OptionsView.ShowGroupPanel       = false;
     //
     // sanPhamID_grid
     //
     this.sanPhamID_grid.Caption      = "SanPhamID";
     this.sanPhamID_grid.FieldName    = "Code";
     this.sanPhamID_grid.Name         = "sanPhamID_grid";
     this.sanPhamID_grid.Visible      = true;
     this.sanPhamID_grid.VisibleIndex = 0;
     this.sanPhamID_grid.Width        = 68;
     //
     // tenSanPham_grid
     //
     this.tenSanPham_grid.Caption      = "TÊN SẢN PHẨM";
     this.tenSanPham_grid.FieldName    = "Tensp";
     this.tenSanPham_grid.Name         = "tenSanPham_grid";
     this.tenSanPham_grid.Visible      = true;
     this.tenSanPham_grid.VisibleIndex = 2;
     this.tenSanPham_grid.Width        = 191;
     //
     // nguoiLap_grid
     //
     this.nguoiLap_grid.Caption      = "NGƯỜI LẬP";
     this.nguoiLap_grid.FieldName    = "Hotennv";
     this.nguoiLap_grid.Name         = "nguoiLap_grid";
     this.nguoiLap_grid.Visible      = true;
     this.nguoiLap_grid.VisibleIndex = 3;
     //
     // ngayLap_grid
     //
     this.ngayLap_grid.Caption      = "NGÀY LẬP";
     this.ngayLap_grid.FieldName    = "Ngaylap";
     this.ngayLap_grid.Name         = "ngayLap_grid";
     this.ngayLap_grid.Visible      = true;
     this.ngayLap_grid.VisibleIndex = 4;
     //
     // groupControl1
     //
     this.groupControl1.Controls.Add(this.BtnDanhSachNguyenCong);
     this.groupControl1.Controls.Add(this.gridControl2);
     this.groupControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControl1.Location = new System.Drawing.Point(0, 0);
     this.groupControl1.Name     = "groupControl1";
     this.groupControl1.Size     = new System.Drawing.Size(477, 400);
     this.groupControl1.TabIndex = 0;
     this.groupControl1.Text     = "NGUYÊN CÔNG ÁP DỤNG";
     //
     // BtnDanhSachNguyenCong
     //
     this.BtnDanhSachNguyenCong.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("BtnDanhSachNguyenCong.ImageOptions.Image")));
     this.BtnDanhSachNguyenCong.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
     this.BtnDanhSachNguyenCong.Location = new System.Drawing.Point(0, 21);
     this.BtnDanhSachNguyenCong.Name     = "BtnDanhSachNguyenCong";
     this.BtnDanhSachNguyenCong.Size     = new System.Drawing.Size(18, 18);
     this.BtnDanhSachNguyenCong.TabIndex = 1227;
     this.BtnDanhSachNguyenCong.TabStop  = false;
     this.BtnDanhSachNguyenCong.Click   += new System.EventHandler(this.BtnDanhSachNguyenCong_Click);
     //
     // gridControl2
     //
     this.gridControl2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl2.Location = new System.Drawing.Point(2, 20);
     this.gridControl2.MainView = this.gridView2;
     this.gridControl2.Name     = "gridControl2";
     this.gridControl2.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repository
     });
     this.gridControl2.Size                 = new System.Drawing.Size(473, 378);
     this.gridControl2.TabIndex             = 1225;
     this.gridControl2.UseEmbeddedNavigator = true;
     this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView2
     });
     this.gridControl2.Click += new System.EventHandler(this.gridControl2_Click);
     //
     // gridView2
     //
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn14,
         this.gridColumn13,
         this.gridColumn1,
         this.gridColumn4,
         this.gridColumn8,
         this.gridColumn9,
         this.gridColumn11,
         this.gridColumn2,
         this.gridColumn3
     });
     this.gridView2.GridControl = this.gridControl2;
     this.gridView2.Name        = "gridView2";
     this.gridView2.OptionsSelection.MultiSelect     = true;
     this.gridView2.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
     this.gridView2.OptionsView.ColumnAutoWidth      = false;
     this.gridView2.OptionsView.ShowAutoFilterRow    = true;
     this.gridView2.OptionsView.ShowFooter           = true;
     this.gridView2.OptionsView.ShowGroupPanel       = false;
     this.gridView2.ViewCaption = "NHẬP NGUYÊN CÔNG";
     //
     // gridColumn14
     //
     this.gridColumn14.Caption      = "MÃ SẢN PHẨM";
     this.gridColumn14.FieldName    = "MaSP";
     this.gridColumn14.Name         = "gridColumn14";
     this.gridColumn14.Visible      = true;
     this.gridColumn14.VisibleIndex = 1;
     this.gridColumn14.Width        = 92;
     //
     // gridColumn13
     //
     this.gridColumn13.Caption      = "SẢN PHẨM";
     this.gridColumn13.FieldName    = "SanPham";
     this.gridColumn13.Name         = "gridColumn13";
     this.gridColumn13.Visible      = true;
     this.gridColumn13.VisibleIndex = 2;
     this.gridColumn13.Width        = 21;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption      = "MÃ NGUYÊN CÔNG";
     this.gridColumn1.FieldName    = "MaNC";
     this.gridColumn1.Name         = "gridColumn1";
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 4;
     this.gridColumn1.Width        = 104;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption      = "TỔ THỰC HIỆN(NGUYÊN CÔNG)";
     this.gridColumn4.ColumnEdit   = this.repository;
     this.gridColumn4.FieldName    = "NguyenCong";
     this.gridColumn4.Name         = "gridColumn4";
     this.gridColumn4.Visible      = true;
     this.gridColumn4.VisibleIndex = 3;
     this.gridColumn4.Width        = 97;
     //
     // repository
     //
     this.repository.AutoHeight = false;
     this.repository.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repository.Name      = "repository";
     this.repository.PopupView = this.repositoryItemGridLookUpEdit1View;
     //
     // repositoryItemGridLookUpEdit1View
     //
     this.repositoryItemGridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn5,
         this.gridColumn6,
         this.gridColumn7,
         this.gridColumn10
     });
     this.repositoryItemGridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.repositoryItemGridLookUpEdit1View.Name           = "repositoryItemGridLookUpEdit1View";
     this.repositoryItemGridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.repositoryItemGridLookUpEdit1View.OptionsView.ShowAutoFilterRow = true;
     this.repositoryItemGridLookUpEdit1View.OptionsView.ShowGroupPanel    = false;
     //
     // gridColumn5
     //
     this.gridColumn5.Caption      = "Mã Nguồn lực";
     this.gridColumn5.FieldName    = "Ma_Nguonluc";
     this.gridColumn5.Name         = "gridColumn5";
     this.gridColumn5.Visible      = true;
     this.gridColumn5.VisibleIndex = 0;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption      = "Tên nguồn lực";
     this.gridColumn6.FieldName    = "Ten_Nguonluc";
     this.gridColumn6.Name         = "gridColumn6";
     this.gridColumn6.Visible      = true;
     this.gridColumn6.VisibleIndex = 1;
     //
     // gridColumn7
     //
     this.gridColumn7.Caption      = "Người tạo";
     this.gridColumn7.FieldName    = "Nguoi";
     this.gridColumn7.Name         = "gridColumn7";
     this.gridColumn7.Visible      = true;
     this.gridColumn7.VisibleIndex = 2;
     //
     // gridColumn10
     //
     this.gridColumn10.Caption      = "Ngày tạo";
     this.gridColumn10.FieldName    = "Ngay";
     this.gridColumn10.Name         = "gridColumn10";
     this.gridColumn10.Visible      = true;
     this.gridColumn10.VisibleIndex = 3;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption      = "CHI TIẾT NGUYÊN CÔNG";
     this.gridColumn8.FieldName    = "ChiTietNC";
     this.gridColumn8.Name         = "gridColumn8";
     this.gridColumn8.Visible      = true;
     this.gridColumn8.VisibleIndex = 5;
     this.gridColumn8.Width        = 292;
     //
     // gridColumn9
     //
     this.gridColumn9.Caption      = "SỐ CHI TIẾT";
     this.gridColumn9.FieldName    = "SoChiTiet";
     this.gridColumn9.Name         = "gridColumn9";
     this.gridColumn9.Visible      = true;
     this.gridColumn9.VisibleIndex = 6;
     //
     // gridColumn11
     //
     this.gridColumn11.Caption      = "GÍA CÔNG";
     this.gridColumn11.FieldName    = "DonGia";
     this.gridColumn11.Name         = "gridColumn11";
     this.gridColumn11.Visible      = true;
     this.gridColumn11.VisibleIndex = 7;
     this.gridColumn11.Width        = 111;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption   = "NguyenCongID";
     this.gridColumn2.FieldName = "NguyenCongID";
     this.gridColumn2.Name      = "gridColumn2";
     this.gridColumn2.OptionsColumn.AllowEdit = false;
     this.gridColumn2.Visible      = true;
     this.gridColumn2.VisibleIndex = 8;
     this.gridColumn2.Width        = 93;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption   = "SanPhamID";
     this.gridColumn3.FieldName = "SanPhamID";
     this.gridColumn3.Name      = "gridColumn3";
     this.gridColumn3.OptionsColumn.AllowEdit = false;
     this.gridColumn3.Visible      = true;
     this.gridColumn3.VisibleIndex = 9;
     this.gridColumn3.Width        = 83;
     //
     // frmCNNguyenCong
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(896, 466);
     this.Controls.Add(this.splitContainerControl1);
     this.Controls.Add(this.panelControl1);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name        = "frmCNNguyenCong";
     this.Text        = "CẬP NHẬT NGUYÊN CÔNG";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.frmCNNguyenCong_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     this.groupControl2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repository)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #15
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.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     System.ComponentModel.ComponentResourceManager       resources = new System.ComponentModel.ComponentResourceManager(typeof(FormKasaHareket));
     this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
     this.grid          = new DevExpress.XtraEditors.GroupControl();
     this.g             = new DevExpress.XtraGrid.GridControl();
     this.sagtik        = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.devirKartıİşlemleriniDüzenle    = new System.Windows.Forms.ToolStripMenuItem();
     this.tahsilatÖdemeİşlemleriniDüzenle = new System.Windows.Forms.ToolStripMenuItem();
     this.gridview      = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.ID            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.BelgeNo       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.EvrakTur      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GIRIS         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CIKIS         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Aciklama      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Tarih         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Evrakiid      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
     this.txtBakiye     = new DevExpress.XtraEditors.TextEdit();
     this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
     this.txtCikis      = new DevExpress.XtraEditors.TextEdit();
     this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
     this.txtGiris      = new DevExpress.XtraEditors.TextEdit();
     this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.txtKasaAd     = new DevExpress.XtraEditors.TextEdit();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
     this.txtKasaKod    = new DevExpress.XtraEditors.ButtonEdit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
     this.grid.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.g)).BeginInit();
     this.sagtik.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridview)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtBakiye.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtCikis.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtGiris.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtKasaAd.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtKasaKod.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // groupControl1
     //
     this.groupControl1.Controls.Add(this.txtBakiye);
     this.groupControl1.Controls.Add(this.labelControl4);
     this.groupControl1.Controls.Add(this.txtCikis);
     this.groupControl1.Controls.Add(this.labelControl3);
     this.groupControl1.Controls.Add(this.txtGiris);
     this.groupControl1.Controls.Add(this.labelControl1);
     this.groupControl1.Controls.Add(this.txtKasaAd);
     this.groupControl1.Controls.Add(this.labelControl2);
     this.groupControl1.Controls.Add(this.labelControl6);
     this.groupControl1.Controls.Add(this.txtKasaKod);
     this.groupControl1.Controls.Add(this.grid);
     this.groupControl1.Controls.Add(this.labelControl5);
     this.groupControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControl1.Location = new System.Drawing.Point(0, 0);
     this.groupControl1.Name     = "groupControl1";
     this.groupControl1.Size     = new System.Drawing.Size(1193, 457);
     this.groupControl1.TabIndex = 0;
     this.groupControl1.Text     = "Banka Bilgileri";
     this.groupControl1.Paint   += new System.Windows.Forms.PaintEventHandler(this.groupControl1_Paint);
     //
     // grid
     //
     this.grid.Controls.Add(this.g);
     this.grid.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.grid.Location = new System.Drawing.Point(2, 87);
     this.grid.Name     = "grid";
     this.grid.Size     = new System.Drawing.Size(1189, 368);
     this.grid.TabIndex = 20;
     this.grid.Text     = "Hareket Listesi";
     //
     // g
     //
     this.g.ContextMenuStrip = this.sagtik;
     this.g.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.g.Location         = new System.Drawing.Point(2, 20);
     this.g.MainView         = this.gridview;
     this.g.Name             = "g";
     this.g.Size             = new System.Drawing.Size(1185, 346);
     this.g.TabIndex         = 0;
     this.g.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridview
     });
     //
     // sagtik
     //
     this.sagtik.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.devirKartıİşlemleriniDüzenle,
         this.tahsilatÖdemeİşlemleriniDüzenle
     });
     this.sagtik.Name     = "sagtik";
     this.sagtik.Size     = new System.Drawing.Size(261, 48);
     this.sagtik.Opening += new System.ComponentModel.CancelEventHandler(this.sagtik_Opening);
     //
     // devirKartıİşlemleriniDüzenle
     //
     this.devirKartıİşlemleriniDüzenle.Enabled = false;
     this.devirKartıİşlemleriniDüzenle.Name    = "devirKartıİşlemleriniDüzenle";
     this.devirKartıİşlemleriniDüzenle.Size    = new System.Drawing.Size(260, 22);
     this.devirKartıİşlemleriniDüzenle.Text    = "Devir Kartı İşlemlerini Düzenle";
     this.devirKartıİşlemleriniDüzenle.Click  += new System.EventHandler(this.devirKartıİşlemleriniDüzenle_Click);
     //
     // tahsilatÖdemeİşlemleriniDüzenle
     //
     this.tahsilatÖdemeİşlemleriniDüzenle.Enabled = false;
     this.tahsilatÖdemeİşlemleriniDüzenle.Name    = "tahsilatÖdemeİşlemleriniDüzenle";
     this.tahsilatÖdemeİşlemleriniDüzenle.Size    = new System.Drawing.Size(260, 22);
     this.tahsilatÖdemeİşlemleriniDüzenle.Text    = "Tahsilat/Ödeme İşlemlerini Düzenle";
     this.tahsilatÖdemeİşlemleriniDüzenle.Click  += new System.EventHandler(this.tahsilatÖdemeİşlemleriniDüzenle_Click);
     //
     // gridview
     //
     this.gridview.Appearance.ColumnFilterButton.BackColor  = System.Drawing.Color.White;
     this.gridview.Appearance.ColumnFilterButton.BackColor2 = System.Drawing.Color.White;
     this.gridview.Appearance.Row.BackColor              = System.Drawing.Color.White;
     this.gridview.Appearance.Row.BackColor2             = System.Drawing.Color.White;
     this.gridview.Appearance.Row.BorderColor            = System.Drawing.Color.White;
     this.gridview.Appearance.Row.ForeColor              = System.Drawing.Color.White;
     this.gridview.Appearance.Row.Options.UseBackColor   = true;
     this.gridview.Appearance.Row.Options.UseBorderColor = true;
     this.gridview.Appearance.Row.Options.UseForeColor   = true;
     this.gridview.Appearance.SelectedRow.BackColor      = System.Drawing.Color.White;
     this.gridview.Appearance.SelectedRow.BackColor2     = System.Drawing.Color.White;
     this.gridview.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.ID,
         this.BelgeNo,
         this.EvrakTur,
         this.GIRIS,
         this.CIKIS,
         this.Aciklama,
         this.Tarih,
         this.Evrakiid
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Column     = this.EvrakTur;
     gridFormatRule1.Name       = "Format0";
     formatConditionRuleExpression1.Expression     = "[EvrakTur] = \'Kasa Tahsilat\'";
     formatConditionRuleExpression1.PredefinedName = "Yellow Fill, Yellow Text";
     gridFormatRule1.Rule       = formatConditionRuleExpression1;
     gridFormatRule1.StopIfTrue = true;
     gridFormatRule2.ApplyToRow = true;
     gridFormatRule2.Column     = this.EvrakTur;
     gridFormatRule2.Name       = "Format1";
     formatConditionRuleExpression2.Expression     = "[EvrakTur] = \'Kasa Ödeme\'";
     formatConditionRuleExpression2.PredefinedName = "Green Fill, Green Text";
     gridFormatRule2.Rule       = formatConditionRuleExpression2;
     gridFormatRule2.StopIfTrue = true;
     this.gridview.FormatRules.Add(gridFormatRule1);
     this.gridview.FormatRules.Add(gridFormatRule2);
     this.gridview.GridControl = this.g;
     this.gridview.Name        = "gridview";
     this.gridview.OptionsView.ShowGroupPanel = false;
     //
     // ID
     //
     this.ID.Caption   = "ID";
     this.ID.FieldName = "ID";
     this.ID.Name      = "ID";
     //
     // BelgeNo
     //
     this.BelgeNo.Caption   = "Belge No";
     this.BelgeNo.FieldName = "BelgeNo";
     this.BelgeNo.Name      = "BelgeNo";
     this.BelgeNo.OptionsColumn.AllowEdit  = false;
     this.BelgeNo.OptionsColumn.AllowFocus = false;
     this.BelgeNo.OptionsColumn.FixedWidth = true;
     this.BelgeNo.Visible      = true;
     this.BelgeNo.VisibleIndex = 0;
     this.BelgeNo.Width        = 50;
     //
     // EvrakTur
     //
     this.EvrakTur.Caption   = "Evrak Türü";
     this.EvrakTur.FieldName = "EvrakTur";
     this.EvrakTur.MinWidth  = 10;
     this.EvrakTur.Name      = "EvrakTur";
     this.EvrakTur.OptionsColumn.AllowEdit  = false;
     this.EvrakTur.OptionsColumn.AllowFocus = false;
     this.EvrakTur.OptionsColumn.FixedWidth = true;
     this.EvrakTur.Visible      = true;
     this.EvrakTur.VisibleIndex = 1;
     this.EvrakTur.Width        = 50;
     //
     // GIRIS
     //
     this.GIRIS.Caption   = "Giriş";
     this.GIRIS.FieldName = "GIRIS";
     this.GIRIS.Name      = "GIRIS";
     this.GIRIS.OptionsColumn.AllowEdit  = false;
     this.GIRIS.OptionsColumn.AllowFocus = false;
     this.GIRIS.OptionsColumn.FixedWidth = true;
     this.GIRIS.Visible      = true;
     this.GIRIS.VisibleIndex = 3;
     this.GIRIS.Width        = 50;
     //
     // CIKIS
     //
     this.CIKIS.Caption   = "Çıkış";
     this.CIKIS.FieldName = "CIKIS";
     this.CIKIS.Name      = "CIKIS";
     this.CIKIS.OptionsColumn.AllowEdit  = false;
     this.CIKIS.OptionsColumn.AllowFocus = false;
     this.CIKIS.OptionsColumn.FixedWidth = true;
     this.CIKIS.Visible      = true;
     this.CIKIS.VisibleIndex = 4;
     this.CIKIS.Width        = 50;
     //
     // Aciklama
     //
     this.Aciklama.Caption   = "Açıklama";
     this.Aciklama.FieldName = "Aciklama";
     this.Aciklama.Name      = "Aciklama";
     this.Aciklama.OptionsColumn.AllowEdit  = false;
     this.Aciklama.OptionsColumn.AllowFocus = false;
     this.Aciklama.OptionsColumn.FixedWidth = true;
     this.Aciklama.Visible      = true;
     this.Aciklama.VisibleIndex = 5;
     this.Aciklama.Width        = 120;
     //
     // Tarih
     //
     this.Tarih.Caption   = "Tarih";
     this.Tarih.FieldName = "Tarih";
     this.Tarih.Name      = "Tarih";
     this.Tarih.OptionsColumn.AllowEdit  = false;
     this.Tarih.OptionsColumn.AllowFocus = false;
     this.Tarih.OptionsColumn.FixedWidth = true;
     this.Tarih.Visible      = true;
     this.Tarih.VisibleIndex = 2;
     this.Tarih.Width        = 50;
     //
     // Evrakiid
     //
     this.Evrakiid.Caption   = "EvrakID";
     this.Evrakiid.FieldName = "Evrakiid";
     this.Evrakiid.Name      = "Evrakiid";
     //
     // labelControl5
     //
     this.labelControl5.Location = new System.Drawing.Point(12, 101);
     this.labelControl5.Name     = "labelControl5";
     this.labelControl5.Size     = new System.Drawing.Size(27, 13);
     this.labelControl5.TabIndex = 14;
     this.labelControl5.Text     = "Giriş :";
     //
     // txtBakiye
     //
     this.txtBakiye.Location            = new System.Drawing.Point(499, 45);
     this.txtBakiye.Name                = "txtBakiye";
     this.txtBakiye.Properties.ReadOnly = true;
     this.txtBakiye.Size                = new System.Drawing.Size(73, 20);
     this.txtBakiye.TabIndex            = 30;
     //
     // labelControl4
     //
     this.labelControl4.Location = new System.Drawing.Point(455, 48);
     this.labelControl4.Name     = "labelControl4";
     this.labelControl4.Size     = new System.Drawing.Size(38, 13);
     this.labelControl4.TabIndex = 29;
     this.labelControl4.Text     = "Bakiye :";
     //
     // txtCikis
     //
     this.txtCikis.Location            = new System.Drawing.Point(373, 62);
     this.txtCikis.Name                = "txtCikis";
     this.txtCikis.Properties.ReadOnly = true;
     this.txtCikis.Size                = new System.Drawing.Size(73, 20);
     this.txtCikis.TabIndex            = 28;
     //
     // labelControl3
     //
     this.labelControl3.Location = new System.Drawing.Point(339, 65);
     this.labelControl3.Name     = "labelControl3";
     this.labelControl3.Size     = new System.Drawing.Size(28, 13);
     this.labelControl3.TabIndex = 27;
     this.labelControl3.Text     = "Çıkış :";
     //
     // txtGiris
     //
     this.txtGiris.Location            = new System.Drawing.Point(373, 32);
     this.txtGiris.Name                = "txtGiris";
     this.txtGiris.Properties.ReadOnly = true;
     this.txtGiris.Size                = new System.Drawing.Size(73, 20);
     this.txtGiris.TabIndex            = 26;
     //
     // labelControl1
     //
     this.labelControl1.Location = new System.Drawing.Point(339, 35);
     this.labelControl1.Name     = "labelControl1";
     this.labelControl1.Size     = new System.Drawing.Size(27, 13);
     this.labelControl1.TabIndex = 25;
     this.labelControl1.Text     = "Giriş :";
     //
     // txtKasaAd
     //
     this.txtKasaAd.Location            = new System.Drawing.Point(98, 58);
     this.txtKasaAd.Name                = "txtKasaAd";
     this.txtKasaAd.Properties.ReadOnly = true;
     this.txtKasaAd.Size                = new System.Drawing.Size(220, 20);
     this.txtKasaAd.TabIndex            = 24;
     //
     // labelControl2
     //
     this.labelControl2.Location = new System.Drawing.Point(11, 61);
     this.labelControl2.Name     = "labelControl2";
     this.labelControl2.Size     = new System.Drawing.Size(43, 13);
     this.labelControl2.TabIndex = 23;
     this.labelControl2.Text     = "Kasa Ad:";
     //
     // labelControl6
     //
     this.labelControl6.Location = new System.Drawing.Point(11, 35);
     this.labelControl6.Name     = "labelControl6";
     this.labelControl6.Size     = new System.Drawing.Size(51, 13);
     this.labelControl6.TabIndex = 21;
     this.labelControl6.Text     = "Kasa Kod :";
     //
     // txtKasaKod
     //
     this.txtKasaKod.Location = new System.Drawing.Point(98, 32);
     this.txtKasaKod.Name     = "txtKasaKod";
     this.txtKasaKod.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton()
     });
     this.txtKasaKod.Size         = new System.Drawing.Size(220, 20);
     this.txtKasaKod.TabIndex     = 22;
     this.txtKasaKod.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.txtKasaKod_ButtonClick_1);
     //
     // FormKasaHareket
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1193, 457);
     this.Controls.Add(this.groupControl1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FormKasaHareket";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Kasa Hareketleri";
     this.Load           += new System.EventHandler(this.FormKasaHareket_Load);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     this.groupControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grid)).EndInit();
     this.grid.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.g)).EndInit();
     this.sagtik.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridview)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtBakiye.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtCikis.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtGiris.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtKasaAd.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtKasaKod.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #16
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager       resources       = new System.ComponentModel.ComponentResourceManager(typeof(frmQuanLyNhapXuatKhuon));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.vitrikhuon_khuonmuon = new DevExpress.XtraGrid.Columns.GridColumn();
     this.panelControl1        = new DevExpress.XtraEditors.PanelControl();
     this.txtidsanphamkhuon    = new System.Windows.Forms.TextBox();
     this.txtIDSoNhapXuatKho   = new System.Windows.Forms.TextBox();
     this.cbTinhTrang          = new System.Windows.Forms.ComboBox();
     this.btnXoa                        = new DevExpress.XtraEditors.SimpleButton();
     this.btnSua                        = new DevExpress.XtraEditors.SimpleButton();
     this.btnLuu                        = new DevExpress.XtraEditors.SimpleButton();
     this.txtViTri                      = new System.Windows.Forms.TextBox();
     this.label12                       = new System.Windows.Forms.Label();
     this.label39                       = new System.Windows.Forms.Label();
     this.dpNgayMuonTra                 = new System.Windows.Forms.DateTimePicker();
     this.dpNgayLap                     = new System.Windows.Forms.DateTimePicker();
     this.dptu_ngay                     = new System.Windows.Forms.DateTimePicker();
     this.dpden_ngay                    = new System.Windows.Forms.DateTimePicker();
     this.label11                       = new System.Windows.Forms.Label();
     this.label8                        = new System.Windows.Forms.Label();
     this.label40                       = new System.Windows.Forms.Label();
     this.txtNguoiLayKhuon              = new System.Windows.Forms.TextBox();
     this.cbBoPhanLayKhuon              = new System.Windows.Forms.ComboBox();
     this.label7                        = new System.Windows.Forms.Label();
     this.label1                        = new System.Windows.Forms.Label();
     this.label6                        = new System.Windows.Forms.Label();
     this.label5                        = new System.Windows.Forms.Label();
     this.label10                       = new System.Windows.Forms.Label();
     this.label9                        = new System.Windows.Forms.Label();
     this.label4                        = new System.Windows.Forms.Label();
     this.label3                        = new System.Windows.Forms.Label();
     this.label2                        = new System.Windows.Forms.Label();
     this.btnTraCuu                     = new DevExpress.XtraEditors.SimpleButton();
     this.txtSoLuongKhuon               = new System.Windows.Forms.TextBox();
     this.txtSanPham                    = new System.Windows.Forms.TextBox();
     this.txtMaSanPham                  = new System.Windows.Forms.TextBox();
     this.txtTenKhuon                   = new System.Windows.Forms.TextBox();
     this.txtMaKhuon                    = new System.Windows.Forms.TextBox();
     this.grcKhuonNhapXuat              = new DevExpress.XtraGrid.GridControl();
     this.grKhuonNhapXuat               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.id_khuonmuon                  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngaylap_khuonmuon             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.masanpham_khuonmuon           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tensanpham_khuonmuon          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.makhuon_khuonmuon             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenkhuon_khuonmuon            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.soluong_khuonmuon             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.trangthai_khuonmuon           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1                   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.noimuon_khuonmuon             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.nguoimuon_khuonmuon           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.nguoilap_khuonmuon            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngayghi_khuonmuon             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemGridLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
     this.gridView1                     = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.BoPhan_repoint                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.MaBoPhan_repoin               = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grcKhuonNhapXuat)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grKhuonNhapXuat)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.SuspendLayout();
     //
     // vitrikhuon_khuonmuon
     //
     this.vitrikhuon_khuonmuon.Caption      = "Vị trí khuôn";
     this.vitrikhuon_khuonmuon.FieldName    = "ViTri";
     this.vitrikhuon_khuonmuon.Name         = "vitrikhuon_khuonmuon";
     this.vitrikhuon_khuonmuon.Visible      = true;
     this.vitrikhuon_khuonmuon.VisibleIndex = 7;
     this.vitrikhuon_khuonmuon.Width        = 98;
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.txtidsanphamkhuon);
     this.panelControl1.Controls.Add(this.txtIDSoNhapXuatKho);
     this.panelControl1.Controls.Add(this.cbTinhTrang);
     this.panelControl1.Controls.Add(this.btnXoa);
     this.panelControl1.Controls.Add(this.btnSua);
     this.panelControl1.Controls.Add(this.btnLuu);
     this.panelControl1.Controls.Add(this.txtViTri);
     this.panelControl1.Controls.Add(this.label12);
     this.panelControl1.Controls.Add(this.label39);
     this.panelControl1.Controls.Add(this.dpNgayMuonTra);
     this.panelControl1.Controls.Add(this.dpNgayLap);
     this.panelControl1.Controls.Add(this.dptu_ngay);
     this.panelControl1.Controls.Add(this.dpden_ngay);
     this.panelControl1.Controls.Add(this.label11);
     this.panelControl1.Controls.Add(this.label8);
     this.panelControl1.Controls.Add(this.label40);
     this.panelControl1.Controls.Add(this.txtNguoiLayKhuon);
     this.panelControl1.Controls.Add(this.cbBoPhanLayKhuon);
     this.panelControl1.Controls.Add(this.label7);
     this.panelControl1.Controls.Add(this.label1);
     this.panelControl1.Controls.Add(this.label6);
     this.panelControl1.Controls.Add(this.label5);
     this.panelControl1.Controls.Add(this.label10);
     this.panelControl1.Controls.Add(this.label9);
     this.panelControl1.Controls.Add(this.label4);
     this.panelControl1.Controls.Add(this.label3);
     this.panelControl1.Controls.Add(this.label2);
     this.panelControl1.Controls.Add(this.btnTraCuu);
     this.panelControl1.Controls.Add(this.txtSoLuongKhuon);
     this.panelControl1.Controls.Add(this.txtSanPham);
     this.panelControl1.Controls.Add(this.txtMaSanPham);
     this.panelControl1.Controls.Add(this.txtTenKhuon);
     this.panelControl1.Controls.Add(this.txtMaKhuon);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(966, 69);
     this.panelControl1.TabIndex = 1255;
     //
     // txtidsanphamkhuon
     //
     this.txtidsanphamkhuon.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtidsanphamkhuon.Location = new System.Drawing.Point(171, 47);
     this.txtidsanphamkhuon.Name     = "txtidsanphamkhuon";
     this.txtidsanphamkhuon.ReadOnly = true;
     this.txtidsanphamkhuon.Size     = new System.Drawing.Size(37, 18);
     this.txtidsanphamkhuon.TabIndex = 1222;
     //
     // txtIDSoNhapXuatKho
     //
     this.txtIDSoNhapXuatKho.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtIDSoNhapXuatKho.Location = new System.Drawing.Point(902, 3);
     this.txtIDSoNhapXuatKho.Name     = "txtIDSoNhapXuatKho";
     this.txtIDSoNhapXuatKho.ReadOnly = true;
     this.txtIDSoNhapXuatKho.Size     = new System.Drawing.Size(59, 18);
     this.txtIDSoNhapXuatKho.TabIndex = 1222;
     //
     // cbTinhTrang
     //
     this.cbTinhTrang.FormattingEnabled = true;
     this.cbTinhTrang.Items.AddRange(new object[] {
         "Cải tiến",
         "Chờ sửa",
         "Chờ thanh lý"
     });
     this.cbTinhTrang.Location = new System.Drawing.Point(269, 23);
     this.cbTinhTrang.Name     = "cbTinhTrang";
     this.cbTinhTrang.Size     = new System.Drawing.Size(109, 21);
     this.cbTinhTrang.TabIndex = 1257;
     this.cbTinhTrang.Text     = "Đang dùng";
     //
     // btnXoa
     //
     this.btnXoa.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnXoa.Appearance.Options.UseFont = true;
     this.btnXoa.Enabled            = false;
     this.btnXoa.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnXoa.ImageOptions.Image")));
     this.btnXoa.Location           = new System.Drawing.Point(522, 46);
     this.btnXoa.Name     = "btnXoa";
     this.btnXoa.Size     = new System.Drawing.Size(54, 20);
     this.btnXoa.TabIndex = 11;
     this.btnXoa.Text     = "Xóa";
     this.btnXoa.Click   += new System.EventHandler(this.btnXoa_Click);
     //
     // btnSua
     //
     this.btnSua.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSua.Appearance.Options.UseFont = true;
     this.btnSua.Enabled            = false;
     this.btnSua.ImageOptions.Image = global::quanlysanxuat.Properties.Resources.edittask_16x16;
     this.btnSua.Location           = new System.Drawing.Point(439, 46);
     this.btnSua.Name     = "btnSua";
     this.btnSua.Size     = new System.Drawing.Size(78, 20);
     this.btnSua.TabIndex = 12;
     this.btnSua.Text     = "Cập nhật";
     this.btnSua.Click   += new System.EventHandler(this.btnSua_Click);
     //
     // btnLuu
     //
     this.btnLuu.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnLuu.Appearance.Options.UseFont = true;
     this.btnLuu.Enabled            = false;
     this.btnLuu.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnLuu.ImageOptions.Image")));
     this.btnLuu.Location           = new System.Drawing.Point(383, 46);
     this.btnLuu.Name     = "btnLuu";
     this.btnLuu.Size     = new System.Drawing.Size(50, 20);
     this.btnLuu.TabIndex = 13;
     this.btnLuu.Text     = "Lưu";
     this.btnLuu.Click   += new System.EventHandler(this.btnLuu_Click);
     //
     // txtViTri
     //
     this.txtViTri.Location     = new System.Drawing.Point(269, 1);
     this.txtViTri.Name         = "txtViTri";
     this.txtViTri.Size         = new System.Drawing.Size(109, 21);
     this.txtViTri.TabIndex     = 1257;
     this.txtViTri.TextChanged += new System.EventHandler(this.txtViTri_TextChanged);
     //
     // label12
     //
     this.label12.AutoSize  = true;
     this.label12.BackColor = System.Drawing.Color.Transparent;
     this.label12.ForeColor = System.Drawing.Color.Indigo;
     this.label12.Location  = new System.Drawing.Point(150, 49);
     this.label12.Name      = "label12";
     this.label12.Size      = new System.Drawing.Size(18, 13);
     this.label12.TabIndex  = 1260;
     this.label12.Text      = "ID";
     //
     // label39
     //
     this.label39.AutoSize  = true;
     this.label39.BackColor = System.Drawing.Color.Transparent;
     this.label39.ForeColor = System.Drawing.Color.Indigo;
     this.label39.Location  = new System.Drawing.Point(582, 50);
     this.label39.Name      = "label39";
     this.label39.Size      = new System.Drawing.Size(20, 13);
     this.label39.TabIndex  = 1260;
     this.label39.Text      = "Từ";
     //
     // dpNgayMuonTra
     //
     this.dpNgayMuonTra.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpNgayMuonTra.Format   = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpNgayMuonTra.Location = new System.Drawing.Point(78, 47);
     this.dpNgayMuonTra.Name     = "dpNgayMuonTra";
     this.dpNgayMuonTra.Size     = new System.Drawing.Size(71, 18);
     this.dpNgayMuonTra.TabIndex = 1261;
     this.dpNgayMuonTra.TabStop  = false;
     //
     // dpNgayLap
     //
     this.dpNgayLap.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpNgayLap.Format   = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpNgayLap.Location = new System.Drawing.Point(269, 47);
     this.dpNgayLap.Name     = "dpNgayLap";
     this.dpNgayLap.Size     = new System.Drawing.Size(109, 18);
     this.dpNgayLap.TabIndex = 1261;
     this.dpNgayLap.TabStop  = false;
     //
     // dptu_ngay
     //
     this.dptu_ngay.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dptu_ngay.Format   = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dptu_ngay.Location = new System.Drawing.Point(641, 45);
     this.dptu_ngay.Name     = "dptu_ngay";
     this.dptu_ngay.Size     = new System.Drawing.Size(85, 18);
     this.dptu_ngay.TabIndex = 1261;
     this.dptu_ngay.TabStop  = false;
     //
     // dpden_ngay
     //
     this.dpden_ngay.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpden_ngay.Format   = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpden_ngay.Location = new System.Drawing.Point(757, 45);
     this.dpden_ngay.Name     = "dpden_ngay";
     this.dpden_ngay.Size     = new System.Drawing.Size(85, 18);
     this.dpden_ngay.TabIndex = 1262;
     this.dpden_ngay.TabStop  = false;
     //
     // label11
     //
     this.label11.AutoSize  = true;
     this.label11.BackColor = System.Drawing.Color.Transparent;
     this.label11.ForeColor = System.Drawing.Color.Indigo;
     this.label11.Location  = new System.Drawing.Point(8, 50);
     this.label11.Name      = "label11";
     this.label11.Size      = new System.Drawing.Size(62, 13);
     this.label11.TabIndex  = 1259;
     this.label11.Text      = "Ngày mượn";
     //
     // label8
     //
     this.label8.AutoSize  = true;
     this.label8.BackColor = System.Drawing.Color.Transparent;
     this.label8.ForeColor = System.Drawing.Color.Indigo;
     this.label8.Location  = new System.Drawing.Point(211, 50);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(49, 13);
     this.label8.TabIndex  = 1259;
     this.label8.Text      = "Ngày lập";
     //
     // label40
     //
     this.label40.AutoSize  = true;
     this.label40.BackColor = System.Drawing.Color.Transparent;
     this.label40.ForeColor = System.Drawing.Color.Indigo;
     this.label40.Location  = new System.Drawing.Point(727, 48);
     this.label40.Name      = "label40";
     this.label40.Size      = new System.Drawing.Size(27, 13);
     this.label40.TabIndex  = 1259;
     this.label40.Text      = "Đến";
     //
     // txtNguoiLayKhuon
     //
     this.txtNguoiLayKhuon.Location = new System.Drawing.Point(78, 23);
     this.txtNguoiLayKhuon.Name     = "txtNguoiLayKhuon";
     this.txtNguoiLayKhuon.Size     = new System.Drawing.Size(130, 21);
     this.txtNguoiLayKhuon.TabIndex = 1258;
     //
     // cbBoPhanLayKhuon
     //
     this.cbBoPhanLayKhuon.FormattingEnabled = true;
     this.cbBoPhanLayKhuon.Location          = new System.Drawing.Point(78, 1);
     this.cbBoPhanLayKhuon.Name         = "cbBoPhanLayKhuon";
     this.cbBoPhanLayKhuon.Size         = new System.Drawing.Size(130, 21);
     this.cbBoPhanLayKhuon.TabIndex     = 1257;
     this.cbBoPhanLayKhuon.TextChanged += new System.EventHandler(this.cbBoPhanLayKhuon_TextChanged);
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Location = new System.Drawing.Point(8, 27);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(35, 13);
     this.label7.TabIndex = 1252;
     this.label7.Text     = "Người";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(8, 4);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(52, 13);
     this.label1.TabIndex = 1252;
     this.label1.Text     = "Nơi mượn";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Location = new System.Drawing.Point(807, 5);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(49, 13);
     this.label6.TabIndex = 1252;
     this.label6.Text     = "Số lượng";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Location = new System.Drawing.Point(582, 27);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(54, 13);
     this.label5.TabIndex = 1252;
     this.label5.Text     = "Sản phẩm";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Location = new System.Drawing.Point(211, 27);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(56, 13);
     this.label10.TabIndex = 1252;
     this.label10.Text     = "Tình trạng";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(211, 3);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(28, 13);
     this.label9.TabIndex = 1252;
     this.label9.Text     = "Vị trí";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(383, 27);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(70, 13);
     this.label4.TabIndex = 1252;
     this.label4.Text     = "Mã sản phẩm";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(582, 5);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(57, 13);
     this.label3.TabIndex = 1252;
     this.label3.Text     = "Tên khuôn";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(383, 5);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(53, 13);
     this.label2.TabIndex = 1252;
     this.label2.Text     = "Mã khuôn";
     //
     // btnTraCuu
     //
     this.btnTraCuu.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnTraCuu.ImageOptions.Image")));
     this.btnTraCuu.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
     this.btnTraCuu.Location = new System.Drawing.Point(888, 43);
     this.btnTraCuu.Name     = "btnTraCuu";
     this.btnTraCuu.Size     = new System.Drawing.Size(73, 22);
     this.btnTraCuu.TabIndex = 1215;
     this.btnTraCuu.TabStop  = false;
     this.btnTraCuu.Text     = "Tra cứu";
     this.btnTraCuu.Click   += new System.EventHandler(this.btnTraCuu_Click);
     //
     // txtSoLuongKhuon
     //
     this.txtSoLuongKhuon.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSoLuongKhuon.Location = new System.Drawing.Point(860, 3);
     this.txtSoLuongKhuon.Name     = "txtSoLuongKhuon";
     this.txtSoLuongKhuon.ReadOnly = true;
     this.txtSoLuongKhuon.Size     = new System.Drawing.Size(36, 18);
     this.txtSoLuongKhuon.TabIndex = 1222;
     //
     // txtSanPham
     //
     this.txtSanPham.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSanPham.Location = new System.Drawing.Point(640, 24);
     this.txtSanPham.Name     = "txtSanPham";
     this.txtSanPham.ReadOnly = true;
     this.txtSanPham.Size     = new System.Drawing.Size(321, 18);
     this.txtSanPham.TabIndex = 1222;
     //
     // txtMaSanPham
     //
     this.txtMaSanPham.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMaSanPham.Location = new System.Drawing.Point(457, 24);
     this.txtMaSanPham.Name     = "txtMaSanPham";
     this.txtMaSanPham.ReadOnly = true;
     this.txtMaSanPham.Size     = new System.Drawing.Size(121, 18);
     this.txtMaSanPham.TabIndex = 1222;
     //
     // txtTenKhuon
     //
     this.txtTenKhuon.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTenKhuon.Location = new System.Drawing.Point(640, 2);
     this.txtTenKhuon.Name     = "txtTenKhuon";
     this.txtTenKhuon.ReadOnly = true;
     this.txtTenKhuon.Size     = new System.Drawing.Size(163, 18);
     this.txtTenKhuon.TabIndex = 1222;
     //
     // txtMaKhuon
     //
     this.txtMaKhuon.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMaKhuon.Location = new System.Drawing.Point(457, 2);
     this.txtMaKhuon.Name     = "txtMaKhuon";
     this.txtMaKhuon.ReadOnly = true;
     this.txtMaKhuon.Size     = new System.Drawing.Size(121, 18);
     this.txtMaKhuon.TabIndex = 1222;
     //
     // grcKhuonNhapXuat
     //
     this.grcKhuonNhapXuat.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.grcKhuonNhapXuat.Location = new System.Drawing.Point(0, 69);
     this.grcKhuonNhapXuat.MainView = this.grKhuonNhapXuat;
     this.grcKhuonNhapXuat.Name     = "grcKhuonNhapXuat";
     this.grcKhuonNhapXuat.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemGridLookUpEdit1
     });
     this.grcKhuonNhapXuat.Size                 = new System.Drawing.Size(966, 416);
     this.grcKhuonNhapXuat.TabIndex             = 1256;
     this.grcKhuonNhapXuat.UseEmbeddedNavigator = true;
     this.grcKhuonNhapXuat.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.grKhuonNhapXuat
     });
     this.grcKhuonNhapXuat.Click += new System.EventHandler(this.grcKhuonNhapXuat_Click);
     //
     // grKhuonNhapXuat
     //
     this.grKhuonNhapXuat.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.id_khuonmuon,
         this.ngaylap_khuonmuon,
         this.masanpham_khuonmuon,
         this.tensanpham_khuonmuon,
         this.makhuon_khuonmuon,
         this.tenkhuon_khuonmuon,
         this.soluong_khuonmuon,
         this.vitrikhuon_khuonmuon,
         this.trangthai_khuonmuon,
         this.gridColumn1,
         this.noimuon_khuonmuon,
         this.nguoimuon_khuonmuon,
         this.nguoilap_khuonmuon,
         this.ngayghi_khuonmuon
     });
     gridFormatRule1.Column                    = this.vitrikhuon_khuonmuon;
     gridFormatRule1.ColumnApplyTo             = this.vitrikhuon_khuonmuon;
     gridFormatRule1.Name                      = "Format0";
     formatConditionRuleExpression1.Expression = "[ViTri] <> null";
     gridFormatRule1.Rule                      = formatConditionRuleExpression1;
     this.grKhuonNhapXuat.FormatRules.Add(gridFormatRule1);
     this.grKhuonNhapXuat.GridControl = this.grcKhuonNhapXuat;
     this.grKhuonNhapXuat.Name        = "grKhuonNhapXuat";
     this.grKhuonNhapXuat.OptionsBehavior.Editable = false;
     this.grKhuonNhapXuat.OptionsMenu.ShowConditionalFormattingItem = true;
     this.grKhuonNhapXuat.OptionsSelection.MultiSelect  = true;
     this.grKhuonNhapXuat.OptionsView.ColumnAutoWidth   = false;
     this.grKhuonNhapXuat.OptionsView.ShowAutoFilterRow = true;
     this.grKhuonNhapXuat.OptionsView.ShowFooter        = true;
     this.grKhuonNhapXuat.OptionsView.ShowGroupPanel    = false;
     //
     // id_khuonmuon
     //
     this.id_khuonmuon.Caption      = "ID";
     this.id_khuonmuon.FieldName    = "ID";
     this.id_khuonmuon.Name         = "id_khuonmuon";
     this.id_khuonmuon.Visible      = true;
     this.id_khuonmuon.VisibleIndex = 0;
     this.id_khuonmuon.Width        = 38;
     //
     // ngaylap_khuonmuon
     //
     this.ngaylap_khuonmuon.Caption      = "Ngày lập";
     this.ngaylap_khuonmuon.FieldName    = "NgayLap";
     this.ngaylap_khuonmuon.Name         = "ngaylap_khuonmuon";
     this.ngaylap_khuonmuon.Visible      = true;
     this.ngaylap_khuonmuon.VisibleIndex = 1;
     this.ngaylap_khuonmuon.Width        = 83;
     //
     // masanpham_khuonmuon
     //
     this.masanpham_khuonmuon.Caption      = "Mã sản phẩm";
     this.masanpham_khuonmuon.FieldName    = "MaSanPham";
     this.masanpham_khuonmuon.Name         = "masanpham_khuonmuon";
     this.masanpham_khuonmuon.Visible      = true;
     this.masanpham_khuonmuon.VisibleIndex = 2;
     this.masanpham_khuonmuon.Width        = 20;
     //
     // tensanpham_khuonmuon
     //
     this.tensanpham_khuonmuon.Caption      = "Tên sản phẩm";
     this.tensanpham_khuonmuon.FieldName    = "TenSanPham";
     this.tensanpham_khuonmuon.Name         = "tensanpham_khuonmuon";
     this.tensanpham_khuonmuon.Visible      = true;
     this.tensanpham_khuonmuon.VisibleIndex = 3;
     this.tensanpham_khuonmuon.Width        = 79;
     //
     // makhuon_khuonmuon
     //
     this.makhuon_khuonmuon.Caption      = "Mã khuôn";
     this.makhuon_khuonmuon.FieldName    = "MaKhuon";
     this.makhuon_khuonmuon.Name         = "makhuon_khuonmuon";
     this.makhuon_khuonmuon.Visible      = true;
     this.makhuon_khuonmuon.VisibleIndex = 4;
     //
     // tenkhuon_khuonmuon
     //
     this.tenkhuon_khuonmuon.Caption      = "Tên khuôn";
     this.tenkhuon_khuonmuon.FieldName    = "TenKhuon";
     this.tenkhuon_khuonmuon.Name         = "tenkhuon_khuonmuon";
     this.tenkhuon_khuonmuon.Visible      = true;
     this.tenkhuon_khuonmuon.VisibleIndex = 5;
     //
     // soluong_khuonmuon
     //
     this.soluong_khuonmuon.Caption      = "Số lượng khuôn";
     this.soluong_khuonmuon.FieldName    = "SoLuongKhuon";
     this.soluong_khuonmuon.Name         = "soluong_khuonmuon";
     this.soluong_khuonmuon.Visible      = true;
     this.soluong_khuonmuon.VisibleIndex = 6;
     //
     // trangthai_khuonmuon
     //
     this.trangthai_khuonmuon.Caption      = "Trạng thái";
     this.trangthai_khuonmuon.FieldName    = "TinhTrang";
     this.trangthai_khuonmuon.Name         = "trangthai_khuonmuon";
     this.trangthai_khuonmuon.Visible      = true;
     this.trangthai_khuonmuon.VisibleIndex = 8;
     this.trangthai_khuonmuon.Width        = 80;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption      = "Ngày mượn";
     this.gridColumn1.FieldName    = "NgayMuon";
     this.gridColumn1.Name         = "gridColumn1";
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 9;
     this.gridColumn1.Width        = 99;
     //
     // noimuon_khuonmuon
     //
     this.noimuon_khuonmuon.Caption      = "Nơi mượn";
     this.noimuon_khuonmuon.FieldName    = "NoiMuon";
     this.noimuon_khuonmuon.Name         = "noimuon_khuonmuon";
     this.noimuon_khuonmuon.Visible      = true;
     this.noimuon_khuonmuon.VisibleIndex = 10;
     this.noimuon_khuonmuon.Width        = 106;
     //
     // nguoimuon_khuonmuon
     //
     this.nguoimuon_khuonmuon.Caption      = "Người mượn";
     this.nguoimuon_khuonmuon.FieldName    = "NguoiMuon";
     this.nguoimuon_khuonmuon.Name         = "nguoimuon_khuonmuon";
     this.nguoimuon_khuonmuon.Visible      = true;
     this.nguoimuon_khuonmuon.VisibleIndex = 11;
     //
     // nguoilap_khuonmuon
     //
     this.nguoilap_khuonmuon.Caption      = "Người tạo";
     this.nguoilap_khuonmuon.FieldName    = "NguoiTao";
     this.nguoilap_khuonmuon.Name         = "nguoilap_khuonmuon";
     this.nguoilap_khuonmuon.Visible      = true;
     this.nguoilap_khuonmuon.VisibleIndex = 12;
     //
     // ngayghi_khuonmuon
     //
     this.ngayghi_khuonmuon.Caption      = "Ngày tạo";
     this.ngayghi_khuonmuon.FieldName    = "NgayTao";
     this.ngayghi_khuonmuon.Name         = "ngayghi_khuonmuon";
     this.ngayghi_khuonmuon.Visible      = true;
     this.ngayghi_khuonmuon.VisibleIndex = 13;
     //
     // repositoryItemGridLookUpEdit1
     //
     this.repositoryItemGridLookUpEdit1.AutoHeight = false;
     this.repositoryItemGridLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemGridLookUpEdit1.Name      = "repositoryItemGridLookUpEdit1";
     this.repositoryItemGridLookUpEdit1.PopupView = this.gridView1;
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.BoPhan_repoint,
         this.MaBoPhan_repoin
     });
     this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView1.Name           = "gridView1";
     this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView1.OptionsView.ShowAutoFilterRow = true;
     this.gridView1.OptionsView.ShowGroupPanel    = false;
     //
     // BoPhan_repoint
     //
     this.BoPhan_repoint.Caption      = "TÊN TỔ";
     this.BoPhan_repoint.FieldName    = "BoPhan";
     this.BoPhan_repoint.Name         = "BoPhan_repoint";
     this.BoPhan_repoint.Visible      = true;
     this.BoPhan_repoint.VisibleIndex = 0;
     //
     // MaBoPhan_repoin
     //
     this.MaBoPhan_repoin.Caption      = "MÃ TỔ";
     this.MaBoPhan_repoin.FieldName    = "MaBoPhan";
     this.MaBoPhan_repoin.Name         = "MaBoPhan_repoin";
     this.MaBoPhan_repoin.Visible      = true;
     this.MaBoPhan_repoin.VisibleIndex = 1;
     //
     // frmQuanLyNhapXuatKhuon
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(966, 485);
     this.Controls.Add(this.grcKhuonNhapXuat);
     this.Controls.Add(this.panelControl1);
     this.IconOptions.Icon     = ((System.Drawing.Icon)(resources.GetObject("frmQuanLyNhapXuatKhuon.IconOptions.Icon")));
     this.IconOptions.SvgImage = global::quanlysanxuat.Properties.Resources._5quarters;
     this.Name  = "frmQuanLyNhapXuatKhuon";
     this.Text  = "Nhật ký nhập xuất khuôn";
     this.Load += new System.EventHandler(this.frmQuanLyNhapXuatKhuon_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grcKhuonNhapXuat)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grKhuonNhapXuat)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager       resources       = new System.ComponentModel.ComponentResourceManager(typeof(frmThemPhongBan));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.btnExport               = new DevExpress.XtraEditors.SimpleButton();
     this.btnSua                  = new DevExpress.XtraEditors.SimpleButton();
     this.btnGhi                  = new DevExpress.XtraEditors.SimpleButton();
     this.btnXoa                  = new DevExpress.XtraEditors.SimpleButton();
     this.panelControl1           = new DevExpress.XtraEditors.PanelControl();
     this.btnThoat                = new DevExpress.XtraEditors.SimpleButton();
     this.btnTraCuu               = new DevExpress.XtraEditors.SimpleButton();
     this.lbNguoi_Dung            = new System.Windows.Forms.Label();
     this.ntnNew                  = new DevExpress.XtraEditors.SimpleButton();
     this.gridControl1            = new DevExpress.XtraGrid.GridControl();
     this.gridView1               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.ID_grid1                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.BoPhan_grid1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.MaBoPhan_grid1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.NguoiLap_grid1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.NgayGhi_grid1           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).BeginInit();
     this.SuspendLayout();
     //
     // btnExport
     //
     this.btnExport.ImageOptions.SvgImage = global::quanlysanxuat.Properties.Resources.exporttoxls;
     this.btnExport.Location = new System.Drawing.Point(201, 1);
     this.btnExport.Name     = "btnExport";
     this.btnExport.Size     = new System.Drawing.Size(75, 31);
     this.btnExport.TabIndex = 1245;
     this.btnExport.Text     = "Export";
     this.btnExport.Click   += new System.EventHandler(this.btnExport_Click);
     //
     // btnSua
     //
     this.btnSua.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSua.Appearance.Options.UseFont = true;
     this.btnSua.ImageOptions.SvgImage      = global::quanlysanxuat.Properties.Resources.editnames;
     this.btnSua.Location = new System.Drawing.Point(64, 1);
     this.btnSua.Name     = "btnSua";
     this.btnSua.Size     = new System.Drawing.Size(62, 31);
     this.btnSua.TabIndex = 1243;
     this.btnSua.Text     = "Sửa";
     this.btnSua.Click   += new System.EventHandler(this.btnSua_Click);
     //
     // btnGhi
     //
     this.btnGhi.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnGhi.Appearance.Options.UseFont = true;
     this.btnGhi.ImageOptions.SvgImage      = global::quanlysanxuat.Properties.Resources.save;
     this.btnGhi.Location = new System.Drawing.Point(1, 1);
     this.btnGhi.Name     = "btnGhi";
     this.btnGhi.Size     = new System.Drawing.Size(58, 31);
     this.btnGhi.TabIndex = 1242;
     this.btnGhi.TabStop  = false;
     this.btnGhi.Text     = "Ghi";
     this.btnGhi.Click   += new System.EventHandler(this.btnGhi_Click);
     //
     // btnXoa
     //
     this.btnXoa.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnXoa.Appearance.Options.UseFont = true;
     this.btnXoa.ImageOptions.SvgImage      = global::quanlysanxuat.Properties.Resources.snapdeletelist;
     this.btnXoa.Location = new System.Drawing.Point(130, 1);
     this.btnXoa.Name     = "btnXoa";
     this.btnXoa.Size     = new System.Drawing.Size(66, 31);
     this.btnXoa.TabIndex = 1244;
     this.btnXoa.Text     = "Xóa";
     this.btnXoa.Click   += new System.EventHandler(this.btnXoa_Click);
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.btnThoat);
     this.panelControl1.Controls.Add(this.btnTraCuu);
     this.panelControl1.Controls.Add(this.lbNguoi_Dung);
     this.panelControl1.Controls.Add(this.btnExport);
     this.panelControl1.Controls.Add(this.btnXoa);
     this.panelControl1.Controls.Add(this.btnSua);
     this.panelControl1.Controls.Add(this.btnGhi);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(800, 33);
     this.panelControl1.TabIndex = 1246;
     //
     // btnThoat
     //
     this.btnThoat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnThoat.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
     this.btnThoat.ImageOptions.SvgImage = global::quanlysanxuat.Properties.Resources.close;
     this.btnThoat.Location = new System.Drawing.Point(768, 1);
     this.btnThoat.Name     = "btnThoat";
     this.btnThoat.Size     = new System.Drawing.Size(31, 30);
     this.btnThoat.TabIndex = 1251;
     this.btnThoat.Click   += new System.EventHandler(this.btnThoat_Click);
     //
     // btnTraCuu
     //
     this.btnTraCuu.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleLeft;
     this.btnTraCuu.ImageOptions.SvgImage = global::quanlysanxuat.Properties.Resources.actions_zoom1;
     this.btnTraCuu.Location = new System.Drawing.Point(282, 1);
     this.btnTraCuu.Name     = "btnTraCuu";
     this.btnTraCuu.Size     = new System.Drawing.Size(85, 31);
     this.btnTraCuu.TabIndex = 1248;
     this.btnTraCuu.TabStop  = false;
     this.btnTraCuu.Text     = "Tra cứu";
     this.btnTraCuu.Click   += new System.EventHandler(this.BtnList_CongDoan_Click);
     //
     // lbNguoi_Dung
     //
     this.lbNguoi_Dung.AutoSize = true;
     this.lbNguoi_Dung.Location = new System.Drawing.Point(672, 4);
     this.lbNguoi_Dung.Name     = "lbNguoi_Dung";
     this.lbNguoi_Dung.Size     = new System.Drawing.Size(19, 13);
     this.lbNguoi_Dung.TabIndex = 1250;
     this.lbNguoi_Dung.Text     = "    ";
     //
     // ntnNew
     //
     this.ntnNew.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("ntnNew.ImageOptions.Image")));
     this.ntnNew.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
     this.ntnNew.Location = new System.Drawing.Point(0, 31);
     this.ntnNew.Name     = "ntnNew";
     this.ntnNew.Size     = new System.Drawing.Size(17, 21);
     this.ntnNew.TabIndex = 1250;
     this.ntnNew.Click   += new System.EventHandler(this.ntnNew_Click);
     //
     // gridControl1
     //
     this.gridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(0, 33);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemDateEdit2
     });
     this.gridControl1.Size                 = new System.Drawing.Size(800, 417);
     this.gridControl1.TabIndex             = 1249;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.ID_grid1,
         this.BoPhan_grid1,
         this.MaBoPhan_grid1,
         this.NguoiLap_grid1,
         this.NgayGhi_grid1
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Format0";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.Color.Gold;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "[TRANGTHAI] <> \'\'";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.gridView1.FormatRules.Add(gridFormatRule1);
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsSelection.MultiSelect     = true;
     this.gridView1.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
     this.gridView1.OptionsView.ColumnAutoWidth      = false;
     this.gridView1.OptionsView.NewItemRowPosition   = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gridView1.OptionsView.ShowAutoFilterRow    = true;
     this.gridView1.OptionsView.ShowGroupPanel       = false;
     //
     // ID_grid1
     //
     this.ID_grid1.AppearanceHeader.Options.UseTextOptions = true;
     this.ID_grid1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.ID_grid1.Caption   = "ID";
     this.ID_grid1.FieldName = "ID";
     this.ID_grid1.Name      = "ID_grid1";
     this.ID_grid1.OptionsColumn.AllowEdit = false;
     this.ID_grid1.Visible      = true;
     this.ID_grid1.VisibleIndex = 5;
     this.ID_grid1.Width        = 32;
     //
     // BoPhan_grid1
     //
     this.BoPhan_grid1.AppearanceHeader.Options.UseTextOptions = true;
     this.BoPhan_grid1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.BoPhan_grid1.Caption      = "Bộ phận";
     this.BoPhan_grid1.FieldName    = "BoPhan";
     this.BoPhan_grid1.Name         = "BoPhan_grid1";
     this.BoPhan_grid1.Visible      = true;
     this.BoPhan_grid1.VisibleIndex = 2;
     this.BoPhan_grid1.Width        = 297;
     //
     // MaBoPhan_grid1
     //
     this.MaBoPhan_grid1.AppearanceHeader.Options.UseTextOptions = true;
     this.MaBoPhan_grid1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.MaBoPhan_grid1.Caption      = "Mã bộ phận";
     this.MaBoPhan_grid1.FieldName    = "MaBoPhan";
     this.MaBoPhan_grid1.Name         = "MaBoPhan_grid1";
     this.MaBoPhan_grid1.Visible      = true;
     this.MaBoPhan_grid1.VisibleIndex = 1;
     this.MaBoPhan_grid1.Width        = 83;
     //
     // NguoiLap_grid1
     //
     this.NguoiLap_grid1.AppearanceHeader.Options.UseTextOptions = true;
     this.NguoiLap_grid1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.NguoiLap_grid1.Caption   = "Người lập";
     this.NguoiLap_grid1.FieldName = "NguoiLap";
     this.NguoiLap_grid1.Name      = "NguoiLap_grid1";
     this.NguoiLap_grid1.OptionsColumn.AllowEdit = false;
     this.NguoiLap_grid1.Visible      = true;
     this.NguoiLap_grid1.VisibleIndex = 3;
     this.NguoiLap_grid1.Width        = 99;
     //
     // NgayGhi_grid1
     //
     this.NgayGhi_grid1.AppearanceHeader.Options.UseTextOptions = true;
     this.NgayGhi_grid1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.NgayGhi_grid1.Caption   = "Ngày lập";
     this.NgayGhi_grid1.FieldName = "NgayGhi";
     this.NgayGhi_grid1.Name      = "NgayGhi_grid1";
     this.NgayGhi_grid1.OptionsColumn.AllowEdit = false;
     this.NgayGhi_grid1.Visible      = true;
     this.NgayGhi_grid1.VisibleIndex = 4;
     this.NgayGhi_grid1.Width        = 129;
     //
     // repositoryItemDateEdit2
     //
     this.repositoryItemDateEdit2.AutoHeight = false;
     this.repositoryItemDateEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemDateEdit2.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemDateEdit2.Mask.EditMask = "99/99/00";
     this.repositoryItemDateEdit2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Simple;
     this.repositoryItemDateEdit2.Name          = "repositoryItemDateEdit2";
     //
     // frmThemPhongBan
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(800, 450);
     this.Controls.Add(this.ntnNew);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.panelControl1);
     this.FormBorderStyle  = System.Windows.Forms.FormBorderStyle.None;
     this.IconOptions.Icon = ((System.Drawing.Icon)(resources.GetObject("frmThemPhongBan.IconOptions.Icon")));
     this.Name             = "frmThemPhongBan";
     this.Text             = "DANH MỤC PHÒNG BAN";
     this.Load            += new System.EventHandler(this.frmPhongBan_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #18
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager       resources       = new System.ComponentModel.ComponentResourceManager(typeof(frmChildNode));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule3 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression3 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.panelControl1       = new DevExpress.XtraEditors.PanelControl();
     this.layoutControl1      = new DevExpress.XtraLayout.LayoutControl();
     this.txtParentNode       = new System.Windows.Forms.TextBox();
     this.btnSaveNodeTreeList = new DevExpress.XtraEditors.SimpleButton();
     this.cbMaSanPham         = new DevExpress.XtraEditors.GridLookUpEdit();
     this.grlDSSanPham        = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.MaSanPhamgridLook   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.TenSanPhamgridLook  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.txtMucDo            = new System.Windows.Forms.TextBox();
     this.txtIDSanPham        = new System.Windows.Forms.TextBox();
     this.txtTenCha           = new System.Windows.Forms.TextBox();
     this.dpDen               = new System.Windows.Forms.DateTimePicker();
     this.txtMaCha            = new System.Windows.Forms.TextBox();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem6  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem1  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem3  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem5  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem2  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem9  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem7  = new DevExpress.XtraLayout.LayoutControlItem();
     this.grChildTreeList     = new DevExpress.XtraGrid.GridControl();
     this.gvChildTreeList     = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.maloaiTreelist      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tenloaiTreelist     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.soluongTreelist     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemComboBoxDonViChiTiet = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.diengiaiTreelist = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemMemoEditThemChiTiet = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
     this.repositoryItemMemoEditMaChiTiet   = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
     this.repositoryItemComboBoxMaGhep      = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.repositoryItemComboBoxDonVi       = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.btnTaoMoiChildNode = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cbMaSanPham.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grlDSSanPham)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grChildTreeList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvChildTreeList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBoxDonViChiTiet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEditThemChiTiet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEditMaChiTiet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBoxMaGhep)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBoxDonVi)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.layoutControl1);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(819, 54);
     this.panelControl1.TabIndex = 1103;
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.txtParentNode);
     this.layoutControl1.Controls.Add(this.btnSaveNodeTreeList);
     this.layoutControl1.Controls.Add(this.cbMaSanPham);
     this.layoutControl1.Controls.Add(this.txtMucDo);
     this.layoutControl1.Controls.Add(this.txtIDSanPham);
     this.layoutControl1.Controls.Add(this.txtTenCha);
     this.layoutControl1.Controls.Add(this.dpDen);
     this.layoutControl1.Controls.Add(this.txtMaCha);
     this.layoutControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl1.Location = new System.Drawing.Point(2, 2);
     this.layoutControl1.Name     = "layoutControl1";
     this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(0, 177, 650, 400);
     this.layoutControl1.Root     = this.layoutControlGroup1;
     this.layoutControl1.Size     = new System.Drawing.Size(815, 50);
     this.layoutControl1.TabIndex = 1095;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // txtParentNode
     //
     this.txtParentNode.Location = new System.Drawing.Point(469, 2);
     this.txtParentNode.Name     = "txtParentNode";
     this.txtParentNode.ReadOnly = true;
     this.txtParentNode.Size     = new System.Drawing.Size(73, 20);
     this.txtParentNode.TabIndex = 1104;
     //
     // btnSaveNodeTreeList
     //
     this.btnSaveNodeTreeList.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSaveNodeTreeList.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnSaveNodeTreeList.Appearance.Options.UseFont = true;
     this.btnSaveNodeTreeList.ImageOptions.Image         = ((System.Drawing.Image)(resources.GetObject("btnSaveNodeTreeList.ImageOptions.Image")));
     this.btnSaveNodeTreeList.Location                   = new System.Drawing.Point(2, 26);
     this.btnSaveNodeTreeList.Name            = "btnSaveNodeTreeList";
     this.btnSaveNodeTreeList.Size            = new System.Drawing.Size(59, 22);
     this.btnSaveNodeTreeList.StyleController = this.layoutControl1;
     this.btnSaveNodeTreeList.TabIndex        = 1106;
     this.btnSaveNodeTreeList.TabStop         = false;
     this.btnSaveNodeTreeList.Text            = "Ghi";
     this.btnSaveNodeTreeList.Click          += new System.EventHandler(this.btnSaveNodeTreeList_Click);
     //
     // cbMaSanPham
     //
     this.cbMaSanPham.EditValue = "";
     this.cbMaSanPham.Location  = new System.Drawing.Point(65, 26);
     this.cbMaSanPham.Name      = "cbMaSanPham";
     this.cbMaSanPham.Properties.Appearance.Font            = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cbMaSanPham.Properties.Appearance.Options.UseFont = true;
     this.cbMaSanPham.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.cbMaSanPham.Properties.PopupView = this.grlDSSanPham;
     this.cbMaSanPham.Size              = new System.Drawing.Size(100, 18);
     this.cbMaSanPham.StyleController   = this.layoutControl1;
     this.cbMaSanPham.TabIndex          = 1124;
     this.cbMaSanPham.EditValueChanged += new System.EventHandler(this.grlSanPham_EditValueChanged);
     //
     // grlDSSanPham
     //
     this.grlDSSanPham.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.MaSanPhamgridLook,
         this.TenSanPhamgridLook
     });
     this.grlDSSanPham.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     gridFormatRule3.ApplyToRow       = true;
     gridFormatRule3.Name             = "Format0";
     formatConditionRuleExpression3.Appearance.BackColor            = System.Drawing.Color.Lime;
     formatConditionRuleExpression3.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression3.Expression = "[CoDinhMuc] <> null";
     gridFormatRule3.Rule = formatConditionRuleExpression3;
     this.grlDSSanPham.FormatRules.Add(gridFormatRule3);
     this.grlDSSanPham.Name = "grlDSSanPham";
     this.grlDSSanPham.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.grlDSSanPham.OptionsView.ColumnAutoWidth   = false;
     this.grlDSSanPham.OptionsView.ShowAutoFilterRow = true;
     this.grlDSSanPham.OptionsView.ShowGroupPanel    = false;
     //
     // MaSanPhamgridLook
     //
     this.MaSanPhamgridLook.Caption      = "Mã sản phẩm";
     this.MaSanPhamgridLook.FieldName    = "Masp";
     this.MaSanPhamgridLook.Name         = "MaSanPhamgridLook";
     this.MaSanPhamgridLook.Visible      = true;
     this.MaSanPhamgridLook.VisibleIndex = 0;
     this.MaSanPhamgridLook.Width        = 102;
     //
     // TenSanPhamgridLook
     //
     this.TenSanPhamgridLook.Caption      = "Tên sản phẩm";
     this.TenSanPhamgridLook.FieldName    = "Tensp";
     this.TenSanPhamgridLook.Name         = "TenSanPhamgridLook";
     this.TenSanPhamgridLook.Visible      = true;
     this.TenSanPhamgridLook.VisibleIndex = 1;
     this.TenSanPhamgridLook.Width        = 236;
     //
     // txtMucDo
     //
     this.txtMucDo.Location = new System.Drawing.Point(606, 2);
     this.txtMucDo.Name     = "txtMucDo";
     this.txtMucDo.Size     = new System.Drawing.Size(58, 20);
     this.txtMucDo.TabIndex = 1104;
     //
     // txtIDSanPham
     //
     this.txtIDSanPham.Location = new System.Drawing.Point(728, 2);
     this.txtIDSanPham.Name     = "txtIDSanPham";
     this.txtIDSanPham.ReadOnly = true;
     this.txtIDSanPham.Size     = new System.Drawing.Size(85, 20);
     this.txtIDSanPham.TabIndex = 2;
     //
     // txtTenCha
     //
     this.txtTenCha.Location = new System.Drawing.Point(229, 26);
     this.txtTenCha.Name     = "txtTenCha";
     this.txtTenCha.ReadOnly = true;
     this.txtTenCha.Size     = new System.Drawing.Size(584, 20);
     this.txtTenCha.TabIndex = 3;
     //
     // dpDen
     //
     this.dpDen.CalendarFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpDen.Font         = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpDen.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpDen.Location     = new System.Drawing.Point(62, 2);
     this.dpDen.Name         = "dpDen";
     this.dpDen.Size         = new System.Drawing.Size(103, 18);
     this.dpDen.TabIndex     = 1;
     this.dpDen.TabStop      = false;
     //
     // txtMaCha
     //
     this.txtMaCha.Location = new System.Drawing.Point(229, 2);
     this.txtMaCha.Name     = "txtMaCha";
     this.txtMaCha.ReadOnly = true;
     this.txtMaCha.Size     = new System.Drawing.Size(176, 20);
     this.txtMaCha.TabIndex = 2;
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible         = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItem6,
         this.layoutControlItem1,
         this.layoutControlItem3,
         this.layoutControlItem11,
         this.layoutControlItem5,
         this.layoutControlItem2,
         this.layoutControlItem9,
         this.layoutControlItem7
     });
     this.layoutControlGroup1.Name        = "Root";
     this.layoutControlGroup1.Padding     = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.layoutControlGroup1.Size        = new System.Drawing.Size(815, 50);
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem6
     //
     this.layoutControlItem6.Control  = this.dpDen;
     this.layoutControlItem6.Location = new System.Drawing.Point(0, 0);
     this.layoutControlItem6.Name     = "layoutControlItem6";
     this.layoutControlItem6.Size     = new System.Drawing.Size(167, 24);
     this.layoutControlItem6.Text     = "Ngày lập";
     this.layoutControlItem6.TextSize = new System.Drawing.Size(57, 13);
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control  = this.txtIDSanPham;
     this.layoutControlItem1.Location = new System.Drawing.Point(666, 0);
     this.layoutControlItem1.Name     = "layoutControlItem1";
     this.layoutControlItem1.Size     = new System.Drawing.Size(149, 24);
     this.layoutControlItem1.Text     = "IDSanPham";
     this.layoutControlItem1.TextSize = new System.Drawing.Size(57, 13);
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control  = this.txtMucDo;
     this.layoutControlItem3.Location = new System.Drawing.Point(544, 0);
     this.layoutControlItem3.Name     = "layoutControlItem3";
     this.layoutControlItem3.Size     = new System.Drawing.Size(122, 24);
     this.layoutControlItem3.Text     = "Mức độ con";
     this.layoutControlItem3.TextSize = new System.Drawing.Size(57, 13);
     //
     // layoutControlItem11
     //
     this.layoutControlItem11.Control  = this.txtTenCha;
     this.layoutControlItem11.Location = new System.Drawing.Point(167, 24);
     this.layoutControlItem11.Name     = "layoutControlItem11";
     this.layoutControlItem11.Size     = new System.Drawing.Size(648, 26);
     this.layoutControlItem11.Text     = "Tên cha";
     this.layoutControlItem11.TextSize = new System.Drawing.Size(57, 13);
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control     = this.cbMaSanPham;
     this.layoutControlItem5.Location    = new System.Drawing.Point(63, 24);
     this.layoutControlItem5.Name        = "layoutControlItem5";
     this.layoutControlItem5.Size        = new System.Drawing.Size(104, 26);
     this.layoutControlItem5.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem5.TextVisible = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control  = this.txtMaCha;
     this.layoutControlItem2.Location = new System.Drawing.Point(167, 0);
     this.layoutControlItem2.Name     = "layoutControlItem2";
     this.layoutControlItem2.Size     = new System.Drawing.Size(240, 24);
     this.layoutControlItem2.Text     = "Mã cha";
     this.layoutControlItem2.TextSize = new System.Drawing.Size(57, 13);
     //
     // layoutControlItem9
     //
     this.layoutControlItem9.Control  = this.txtParentNode;
     this.layoutControlItem9.Location = new System.Drawing.Point(407, 0);
     this.layoutControlItem9.Name     = "layoutControlItem9";
     this.layoutControlItem9.Size     = new System.Drawing.Size(137, 24);
     this.layoutControlItem9.Text     = "ParentNode";
     this.layoutControlItem9.TextSize = new System.Drawing.Size(57, 13);
     //
     // layoutControlItem7
     //
     this.layoutControlItem7.Control     = this.btnSaveNodeTreeList;
     this.layoutControlItem7.Location    = new System.Drawing.Point(0, 24);
     this.layoutControlItem7.Name        = "layoutControlItem7";
     this.layoutControlItem7.Size        = new System.Drawing.Size(63, 26);
     this.layoutControlItem7.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem7.TextVisible = false;
     //
     // grChildTreeList
     //
     this.grChildTreeList.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.grChildTreeList.Location = new System.Drawing.Point(0, 54);
     this.grChildTreeList.MainView = this.gvChildTreeList;
     this.grChildTreeList.Name     = "grChildTreeList";
     this.grChildTreeList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemMemoEditThemChiTiet,
         this.repositoryItemMemoEditMaChiTiet,
         this.repositoryItemComboBoxMaGhep,
         this.repositoryItemComboBoxDonVi,
         this.repositoryItemComboBoxDonViChiTiet
     });
     this.grChildTreeList.Size                 = new System.Drawing.Size(819, 414);
     this.grChildTreeList.TabIndex             = 1104;
     this.grChildTreeList.UseEmbeddedNavigator = true;
     this.grChildTreeList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gvChildTreeList
     });
     //
     // gvChildTreeList
     //
     this.gvChildTreeList.Appearance.Row.Options.UseTextOptions = true;
     this.gvChildTreeList.Appearance.Row.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.gvChildTreeList.Appearance.Row.TextOptions.WordWrap   = DevExpress.Utils.WordWrap.Wrap;
     this.gvChildTreeList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.maloaiTreelist,
         this.tenloaiTreelist,
         this.soluongTreelist,
         this.gridColumn1,
         this.diengiaiTreelist
     });
     this.gvChildTreeList.GridControl = this.grChildTreeList;
     this.gvChildTreeList.Name        = "gvChildTreeList";
     this.gvChildTreeList.OptionsSelection.MultiSelect     = true;
     this.gvChildTreeList.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
     this.gvChildTreeList.OptionsView.ColumnAutoWidth      = false;
     this.gvChildTreeList.OptionsView.NewItemRowPosition   = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
     this.gvChildTreeList.OptionsView.RowAutoHeight        = true;
     this.gvChildTreeList.OptionsView.ShowAutoFilterRow    = true;
     this.gvChildTreeList.OptionsView.ShowGroupPanel       = false;
     //
     // maloaiTreelist
     //
     this.maloaiTreelist.AppearanceHeader.Options.UseTextOptions = true;
     this.maloaiTreelist.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.maloaiTreelist.Caption      = "Mã con";
     this.maloaiTreelist.FieldName    = "MaLoai";
     this.maloaiTreelist.Name         = "maloaiTreelist";
     this.maloaiTreelist.Visible      = true;
     this.maloaiTreelist.VisibleIndex = 1;
     this.maloaiTreelist.Width        = 126;
     //
     // tenloaiTreelist
     //
     this.tenloaiTreelist.AppearanceHeader.Options.UseTextOptions = true;
     this.tenloaiTreelist.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.tenloaiTreelist.Caption      = "Tên con";
     this.tenloaiTreelist.FieldName    = "TenLoai";
     this.tenloaiTreelist.Name         = "tenloaiTreelist";
     this.tenloaiTreelist.Visible      = true;
     this.tenloaiTreelist.VisibleIndex = 2;
     this.tenloaiTreelist.Width        = 232;
     //
     // soluongTreelist
     //
     this.soluongTreelist.AppearanceHeader.Options.UseTextOptions = true;
     this.soluongTreelist.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.soluongTreelist.Caption      = "Số lượng";
     this.soluongTreelist.FieldName    = "SoLuong";
     this.soluongTreelist.Name         = "soluongTreelist";
     this.soluongTreelist.Visible      = true;
     this.soluongTreelist.VisibleIndex = 3;
     this.soluongTreelist.Width        = 63;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption      = "Đơn vị";
     this.gridColumn1.ColumnEdit   = this.repositoryItemComboBoxDonViChiTiet;
     this.gridColumn1.FieldName    = "DonVi";
     this.gridColumn1.Name         = "gridColumn1";
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 4;
     this.gridColumn1.Width        = 63;
     //
     // repositoryItemComboBoxDonViChiTiet
     //
     this.repositoryItemComboBoxDonViChiTiet.AutoHeight = false;
     this.repositoryItemComboBoxDonViChiTiet.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemComboBoxDonViChiTiet.Name = "repositoryItemComboBoxDonViChiTiet";
     //
     // diengiaiTreelist
     //
     this.diengiaiTreelist.AppearanceHeader.Options.UseTextOptions = true;
     this.diengiaiTreelist.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.diengiaiTreelist.Caption      = "Diễn giải";
     this.diengiaiTreelist.FieldName    = "DienGiai";
     this.diengiaiTreelist.Name         = "diengiaiTreelist";
     this.diengiaiTreelist.Visible      = true;
     this.diengiaiTreelist.VisibleIndex = 5;
     this.diengiaiTreelist.Width        = 189;
     //
     // repositoryItemMemoEditThemChiTiet
     //
     this.repositoryItemMemoEditThemChiTiet.Name = "repositoryItemMemoEditThemChiTiet";
     //
     // repositoryItemMemoEditMaChiTiet
     //
     this.repositoryItemMemoEditMaChiTiet.Name = "repositoryItemMemoEditMaChiTiet";
     //
     // repositoryItemComboBoxMaGhep
     //
     this.repositoryItemComboBoxMaGhep.AutoHeight = false;
     this.repositoryItemComboBoxMaGhep.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemComboBoxMaGhep.Items.AddRange(new object[] {
         "CT",
         "LC",
         "LT"
     });
     this.repositoryItemComboBoxMaGhep.Name = "repositoryItemComboBoxMaGhep";
     //
     // repositoryItemComboBoxDonVi
     //
     this.repositoryItemComboBoxDonVi.AutoHeight = false;
     this.repositoryItemComboBoxDonVi.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemComboBoxDonVi.Items.AddRange(new object[] {
         "Cái",
         "Bộ"
     });
     this.repositoryItemComboBoxDonVi.Name = "repositoryItemComboBoxDonVi";
     //
     // btnTaoMoiChildNode
     //
     this.btnTaoMoiChildNode.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("btnTaoMoiChildNode.ImageOptions.Image")));
     this.btnTaoMoiChildNode.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
     this.btnTaoMoiChildNode.Location = new System.Drawing.Point(0, 54);
     this.btnTaoMoiChildNode.Name     = "btnTaoMoiChildNode";
     this.btnTaoMoiChildNode.Size     = new System.Drawing.Size(17, 20);
     this.btnTaoMoiChildNode.TabIndex = 1105;
     this.btnTaoMoiChildNode.TabStop  = false;
     this.btnTaoMoiChildNode.Click   += new System.EventHandler(this.btnTaoMoiChildNode_Click);
     //
     // frmChildNode
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(819, 468);
     this.Controls.Add(this.btnTaoMoiChildNode);
     this.Controls.Add(this.grChildTreeList);
     this.Controls.Add(this.panelControl1);
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "frmChildNode";
     this.Text        = "Chèn cụm chi tiết | chi tiết sản phẩm";
     this.Load       += new System.EventHandler(this.frmChildNode_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cbMaSanPham.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grlDSSanPham)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grChildTreeList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvChildTreeList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBoxDonViChiTiet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEditThemChiTiet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEditMaChiTiet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBoxMaGhep)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBoxDonVi)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #19
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.colCabFecha       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDocNombre      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCabNumero      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCabDescripcion = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCabCodigo      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.btnEnviarSAP      = new DevExpress.XtraEditors.SimpleButton();
     this.colEstCodigo      = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.grcListado)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grvListado)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // grcListado
     //
     this.grcListado.Size = new System.Drawing.Size(941, 599);
     //
     // grvListado
     //
     this.grvListado.Appearance.ColumnFilterButton.BackColor                  = System.Drawing.Color.White;
     this.grvListado.Appearance.ColumnFilterButton.Font                       = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.ColumnFilterButton.Options.UseBackColor       = true;
     this.grvListado.Appearance.ColumnFilterButton.Options.UseFont            = true;
     this.grvListado.Appearance.ColumnFilterButtonActive.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.ColumnFilterButtonActive.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true;
     this.grvListado.Appearance.ColumnFilterButtonActive.Options.UseFont      = true;
     this.grvListado.Appearance.CustomizationFormHint.BackColor               = System.Drawing.Color.White;
     this.grvListado.Appearance.CustomizationFormHint.Font                    = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.CustomizationFormHint.Options.UseBackColor    = true;
     this.grvListado.Appearance.CustomizationFormHint.Options.UseFont         = true;
     this.grvListado.Appearance.DetailTip.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.DetailTip.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.DetailTip.Options.UseBackColor = true;
     this.grvListado.Appearance.DetailTip.Options.UseFont      = true;
     this.grvListado.Appearance.Empty.BackColor                = System.Drawing.Color.White;
     this.grvListado.Appearance.Empty.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.Empty.Options.UseBackColor = true;
     this.grvListado.Appearance.Empty.Options.UseFont      = true;
     this.grvListado.Appearance.EvenRow.BackColor          = System.Drawing.Color.White;
     this.grvListado.Appearance.EvenRow.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.EvenRow.Options.UseBackColor           = true;
     this.grvListado.Appearance.EvenRow.Options.UseFont                = true;
     this.grvListado.Appearance.FilterCloseButton.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.FilterCloseButton.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.grvListado.Appearance.FilterCloseButton.Options.UseFont      = true;
     this.grvListado.Appearance.FilterPanel.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.FilterPanel.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FilterPanel.Options.UseBackColor = true;
     this.grvListado.Appearance.FilterPanel.Options.UseFont      = true;
     this.grvListado.Appearance.FixedLine.BackColor              = System.Drawing.Color.White;
     this.grvListado.Appearance.FixedLine.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FixedLine.Options.UseBackColor = true;
     this.grvListado.Appearance.FixedLine.Options.UseFont      = true;
     this.grvListado.Appearance.FocusedCell.BackColor          = System.Drawing.Color.White;
     this.grvListado.Appearance.FocusedCell.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FocusedCell.Options.UseBackColor = true;
     this.grvListado.Appearance.FocusedCell.Options.UseFont      = true;
     this.grvListado.Appearance.FocusedRow.BackColor             = System.Drawing.Color.White;
     this.grvListado.Appearance.FocusedRow.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FocusedRow.Options.UseBackColor = true;
     this.grvListado.Appearance.FocusedRow.Options.UseFont      = true;
     this.grvListado.Appearance.FooterPanel.BackColor           = System.Drawing.Color.White;
     this.grvListado.Appearance.FooterPanel.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.FooterPanel.Options.UseBackColor = true;
     this.grvListado.Appearance.FooterPanel.Options.UseFont      = true;
     this.grvListado.Appearance.GroupButton.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.GroupButton.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.GroupButton.Options.UseBackColor = true;
     this.grvListado.Appearance.GroupButton.Options.UseFont      = true;
     this.grvListado.Appearance.GroupFooter.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.GroupFooter.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.GroupFooter.Options.UseBackColor = true;
     this.grvListado.Appearance.GroupFooter.Options.UseFont      = true;
     this.grvListado.Appearance.GroupPanel.BackColor             = System.Drawing.Color.White;
     this.grvListado.Appearance.GroupPanel.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.GroupPanel.Options.UseBackColor = true;
     this.grvListado.Appearance.GroupPanel.Options.UseFont      = true;
     this.grvListado.Appearance.GroupRow.BackColor                    = System.Drawing.Color.White;
     this.grvListado.Appearance.GroupRow.Font                         = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.GroupRow.Options.UseBackColor         = true;
     this.grvListado.Appearance.GroupRow.Options.UseFont              = true;
     this.grvListado.Appearance.HeaderPanel.BackColor                 = System.Drawing.Color.White;
     this.grvListado.Appearance.HeaderPanel.Font                      = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.HeaderPanel.Options.UseBackColor      = true;
     this.grvListado.Appearance.HeaderPanel.Options.UseFont           = true;
     this.grvListado.Appearance.HideSelectionRow.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.HideSelectionRow.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.HideSelectionRow.Options.UseBackColor = true;
     this.grvListado.Appearance.HideSelectionRow.Options.UseFont      = true;
     this.grvListado.Appearance.HorzLine.Font                         = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.HorzLine.Options.UseFont              = true;
     this.grvListado.Appearance.OddRow.BackColor                      = System.Drawing.Color.White;
     this.grvListado.Appearance.OddRow.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.OddRow.Options.UseBackColor = true;
     this.grvListado.Appearance.OddRow.Options.UseFont      = true;
     this.grvListado.Appearance.Preview.BackColor           = System.Drawing.Color.White;
     this.grvListado.Appearance.Preview.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.Preview.Options.UseBackColor = true;
     this.grvListado.Appearance.Preview.Options.UseFont      = true;
     this.grvListado.Appearance.Row.BackColor                     = System.Drawing.Color.White;
     this.grvListado.Appearance.Row.Font                          = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.Row.Options.UseBackColor          = true;
     this.grvListado.Appearance.Row.Options.UseFont               = true;
     this.grvListado.Appearance.RowSeparator.BackColor            = System.Drawing.Color.White;
     this.grvListado.Appearance.RowSeparator.Font                 = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.RowSeparator.Options.UseBackColor = true;
     this.grvListado.Appearance.RowSeparator.Options.UseFont      = true;
     this.grvListado.Appearance.SelectedRow.BackColor             = System.Drawing.Color.White;
     this.grvListado.Appearance.SelectedRow.Font                  = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.SelectedRow.Options.UseBackColor  = true;
     this.grvListado.Appearance.SelectedRow.Options.UseFont       = true;
     this.grvListado.Appearance.TopNewRow.BackColor               = System.Drawing.Color.White;
     this.grvListado.Appearance.TopNewRow.Font                    = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.TopNewRow.Options.UseBackColor    = true;
     this.grvListado.Appearance.TopNewRow.Options.UseFont         = true;
     this.grvListado.Appearance.VertLine.Font                     = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.VertLine.Options.UseFont          = true;
     this.grvListado.Appearance.ViewCaption.BackColor             = System.Drawing.Color.White;
     this.grvListado.Appearance.ViewCaption.Font                  = new System.Drawing.Font("Times New Roman", 9F);
     this.grvListado.Appearance.ViewCaption.Options.UseBackColor  = true;
     this.grvListado.Appearance.ViewCaption.Options.UseFont       = true;
     this.grvListado.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colCabFecha,
         this.colDocNombre,
         this.colCabNumero,
         this.colCabDescripcion,
         this.colCabCodigo,
         this.colEstCodigo
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Regla SAP";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     formatConditionRuleExpression1.Appearance.Font                 = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     formatConditionRuleExpression1.Appearance.ForeColor            = System.Drawing.Color.Black;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression1.Appearance.Options.UseForeColor = true;
     formatConditionRuleExpression1.Expression = "[EstCodigo] = \'Sap\'";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.grvListado.FormatRules.Add(gridFormatRule1);
     this.grvListado.OptionsBehavior.Editable                            = false;
     this.grvListado.OptionsDetail.EnableMasterViewMode                  = false;
     this.grvListado.OptionsFind.AlwaysVisible                           = true;
     this.grvListado.OptionsSelection.CheckBoxSelectorColumnWidth        = 30;
     this.grvListado.OptionsSelection.EnableAppearanceFocusedCell        = false;
     this.grvListado.OptionsSelection.EnableAppearanceFocusedRow         = false;
     this.grvListado.OptionsSelection.EnableAppearanceHideSelection      = false;
     this.grvListado.OptionsSelection.MultiSelect                        = true;
     this.grvListado.OptionsSelection.MultiSelectMode                    = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
     this.grvListado.OptionsSelection.ShowCheckBoxSelectorInColumnHeader = DevExpress.Utils.DefaultBoolean.True;
     this.grvListado.OptionsView.ColumnAutoWidth                         = false;
     this.grvListado.OptionsView.ShowAutoFilterRow                       = true;
     //
     // btnNuevo
     //
     this.btnNuevo.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnNuevo.Appearance.Options.UseFont = true;
     //
     // btnEliminar
     //
     this.btnEliminar.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnEliminar.Appearance.Options.UseFont = true;
     //
     // btnModificar
     //
     this.btnModificar.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnModificar.Appearance.Options.UseFont = true;
     //
     // btnCerrar
     //
     this.btnCerrar.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnCerrar.Appearance.Options.UseFont = true;
     this.btnCerrar.Location = new System.Drawing.Point(836, 11);
     //
     // btnConsultar
     //
     this.btnConsultar.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnConsultar.Appearance.Options.UseFont = true;
     this.btnConsultar.Location = new System.Drawing.Point(737, 11);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.btnEnviarSAP);
     this.panel1.Location = new System.Drawing.Point(0, 599);
     this.panel1.Size     = new System.Drawing.Size(941, 46);
     this.panel1.Controls.SetChildIndex(this.btnNuevo, 0);
     this.panel1.Controls.SetChildIndex(this.btnModificar, 0);
     this.panel1.Controls.SetChildIndex(this.btnEliminar, 0);
     this.panel1.Controls.SetChildIndex(this.btnConsultar, 0);
     this.panel1.Controls.SetChildIndex(this.btnCerrar, 0);
     this.panel1.Controls.SetChildIndex(this.btnEnviarSAP, 0);
     //
     // colCabFecha
     //
     this.colCabFecha.Caption = "Fecha";
     this.colCabFecha.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.colCabFecha.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.colCabFecha.FieldName    = "CabFecha";
     this.colCabFecha.Name         = "colCabFecha";
     this.colCabFecha.SortMode     = DevExpress.XtraGrid.ColumnSortMode.DisplayText;
     this.colCabFecha.Visible      = true;
     this.colCabFecha.VisibleIndex = 1;
     this.colCabFecha.Width        = 70;
     //
     // colDocNombre
     //
     this.colDocNombre.Caption      = "Serie";
     this.colDocNombre.FieldName    = "DocNombre";
     this.colDocNombre.Name         = "colDocNombre";
     this.colDocNombre.Visible      = true;
     this.colDocNombre.VisibleIndex = 2;
     this.colDocNombre.Width        = 70;
     //
     // colCabNumero
     //
     this.colCabNumero.Caption      = "Numero";
     this.colCabNumero.FieldName    = "CabNumero";
     this.colCabNumero.Name         = "colCabNumero";
     this.colCabNumero.Visible      = true;
     this.colCabNumero.VisibleIndex = 3;
     this.colCabNumero.Width        = 70;
     //
     // colCabDescripcion
     //
     this.colCabDescripcion.Caption      = "Descripcion";
     this.colCabDescripcion.FieldName    = "CabDescripcion";
     this.colCabDescripcion.Name         = "colCabDescripcion";
     this.colCabDescripcion.Visible      = true;
     this.colCabDescripcion.VisibleIndex = 4;
     this.colCabDescripcion.Width        = 350;
     //
     // colCabCodigo
     //
     this.colCabCodigo.Caption   = "Codigo";
     this.colCabCodigo.FieldName = "CabCodigo";
     this.colCabCodigo.Name      = "colCabCodigo";
     //
     // btnEnviarSAP
     //
     this.btnEnviarSAP.Appearance.Font            = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnEnviarSAP.Appearance.Options.UseFont = true;
     this.btnEnviarSAP.Enabled  = false;
     this.btnEnviarSAP.Image    = global::umbAplicacion.Properties.Resources.imgSAP16;
     this.btnEnviarSAP.Location = new System.Drawing.Point(302, 11);
     this.btnEnviarSAP.Name     = "btnEnviarSAP";
     this.btnEnviarSAP.Size     = new System.Drawing.Size(93, 26);
     this.btnEnviarSAP.TabIndex = 6;
     this.btnEnviarSAP.Text     = "Enviar &SAP";
     this.btnEnviarSAP.Click   += new System.EventHandler(this.btnEnviarSAP_Click);
     //
     // colEstCodigo
     //
     this.colEstCodigo.Caption   = "Estado";
     this.colEstCodigo.FieldName = "EstCodigo";
     this.colEstCodigo.Name      = "colEstCodigo";
     //
     // xfrmGbaLisExtBancario
     //
     this.Appearance.Options.UseFont = true;
     this.AutoScaleDimensions        = new System.Drawing.SizeF(7F, 15F);
     this.ClientSize = new System.Drawing.Size(941, 645);
     this.Name       = "xfrmGbaLisExtBancario";
     this.Controls.SetChildIndex(this.panel1, 0);
     this.Controls.SetChildIndex(this.grcListado, 0);
     ((System.ComponentModel.ISupportInitialize)(this.grcListado)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grvListado)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #20
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCDMKHUON));
     DevExpress.XtraGrid.GridLevelNode  gridLevelNode1        = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule1       = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.groupControl2           = new DevExpress.XtraEditors.GroupControl();
     this.btnXemBV                = new DevExpress.XtraEditors.SimpleButton();
     this.txtPath_MaSP            = new System.Windows.Forms.TextBox();
     this.btnDMkhuon              = new DevExpress.XtraEditors.SimpleButton();
     this.gridControl1            = new DevExpress.XtraGrid.GridControl();
     this.gridView1               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.Masp_grid1              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.sanpham_grid1           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Maspct_grid1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Manhom_khuon_grid1      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Makhuon_grid1           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Tenkhuon_grid1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Dacdiemkhuon_grid1      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.soluongkhuon_grid1      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngaybatdau_grid1        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Ngaykhcat_grid1         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.NgayKH_grid1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Today_grid1             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngayCatDayHT_grid1      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngayghi_grid1           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Nguoiluu_grid1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Vitrikhuon_grid1        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.BPmuon_grid1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Ngaymuon_grid1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Ngaytra_grid1           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Tinhtrangkhuon_grid1    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Ngayluukhuon_grid1      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.nguoilap_grid1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.manv_grid1              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ghichu_grid1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.ngaycatHT_grid          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.NgayrapHT_grid          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.CodeMK_grid1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemCalcEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.repositoryItemCalcEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.repositoryItemCalcEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
     this.repositoryItemFontEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemFontEdit();
     this.dpden_ngay              = new System.Windows.Forms.DateTimePicker();
     this.dptu_ngay               = new System.Windows.Forms.DateTimePicker();
     this.label30 = new System.Windows.Forms.Label();
     this.label29 = new System.Windows.Forms.Label();
     this.txtmasp = new System.Windows.Forms.TextBox();
     this.label1  = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
     this.groupControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemFontEdit1)).BeginInit();
     this.SuspendLayout();
     //
     // groupControl2
     //
     this.groupControl2.Controls.Add(this.txtmasp);
     this.groupControl2.Controls.Add(this.label1);
     this.groupControl2.Controls.Add(this.label29);
     this.groupControl2.Controls.Add(this.dpden_ngay);
     this.groupControl2.Controls.Add(this.dptu_ngay);
     this.groupControl2.Controls.Add(this.label30);
     this.groupControl2.Controls.Add(this.btnXemBV);
     this.groupControl2.Controls.Add(this.txtPath_MaSP);
     this.groupControl2.Controls.Add(this.btnDMkhuon);
     this.groupControl2.Controls.Add(this.gridControl1);
     this.groupControl2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControl2.Location = new System.Drawing.Point(0, 0);
     this.groupControl2.Name     = "groupControl2";
     this.groupControl2.Size     = new System.Drawing.Size(1247, 455);
     this.groupControl2.TabIndex = 8;
     this.groupControl2.Text     = "DANH MỤC KHUÔN";
     //
     // btnXemBV
     //
     this.btnXemBV.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnXemBV.Image    = ((System.Drawing.Image)(resources.GetObject("btnXemBV.Image")));
     this.btnXemBV.Location = new System.Drawing.Point(874, 1);
     this.btnXemBV.Name     = "btnXemBV";
     this.btnXemBV.Size     = new System.Drawing.Size(99, 18);
     this.btnXemBV.TabIndex = 1068;
     this.btnXemBV.Text     = "Gọi bản vẽ";
     this.btnXemBV.Click   += new System.EventHandler(this.SukienGoiMASP_Click);
     //
     // txtPath_MaSP
     //
     this.txtPath_MaSP.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.txtPath_MaSP.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPath_MaSP.Location = new System.Drawing.Point(982, 1);
     this.txtPath_MaSP.Name     = "txtPath_MaSP";
     this.txtPath_MaSP.Size     = new System.Drawing.Size(154, 18);
     this.txtPath_MaSP.TabIndex = 1060;
     this.txtPath_MaSP.Text     = "\\\\Server\\kythuat\\DM_SANPHAM";
     //
     // btnDMkhuon
     //
     this.btnDMkhuon.Appearance.ForeColor            = System.Drawing.Color.Green;
     this.btnDMkhuon.Appearance.Options.UseForeColor = true;
     this.btnDMkhuon.Image         = ((System.Drawing.Image)(resources.GetObject("btnDMkhuon.Image")));
     this.btnDMkhuon.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
     this.btnDMkhuon.Location      = new System.Drawing.Point(1, 20);
     this.btnDMkhuon.Name          = "btnDMkhuon";
     this.btnDMkhuon.Size          = new System.Drawing.Size(19, 19);
     this.btnDMkhuon.TabIndex      = 445;
     this.btnDMkhuon.Click        += new System.EventHandler(this.btnDMkhuon_Click);
     //
     // gridControl1
     //
     this.gridControl1.Dock      = System.Windows.Forms.DockStyle.Fill;
     gridLevelNode1.RelationName = "Level1";
     this.gridControl1.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode1
     });
     this.gridControl1.Location = new System.Drawing.Point(2, 20);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemCalcEdit1,
         this.repositoryItemCalcEdit2,
         this.repositoryItemCalcEdit3,
         this.repositoryItemFontEdit1
     });
     this.gridControl1.Size                 = new System.Drawing.Size(1243, 433);
     this.gridControl1.TabIndex             = 444;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     this.gridControl1.Click += new System.EventHandler(this.gridControl1_Click);
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.Masp_grid1,
         this.sanpham_grid1,
         this.Maspct_grid1,
         this.Manhom_khuon_grid1,
         this.Makhuon_grid1,
         this.Tenkhuon_grid1,
         this.Dacdiemkhuon_grid1,
         this.soluongkhuon_grid1,
         this.ngaybatdau_grid1,
         this.Ngaykhcat_grid1,
         this.NgayKH_grid1,
         this.Today_grid1,
         this.ngayCatDayHT_grid1,
         this.ngayghi_grid1,
         this.Nguoiluu_grid1,
         this.Vitrikhuon_grid1,
         this.BPmuon_grid1,
         this.Ngaymuon_grid1,
         this.Ngaytra_grid1,
         this.Tinhtrangkhuon_grid1,
         this.Ngayluukhuon_grid1,
         this.nguoilap_grid1,
         this.manv_grid1,
         this.ghichu_grid1,
         this.ngaycatHT_grid,
         this.NgayrapHT_grid,
         this.CodeMK_grid1
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Format0";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.Color.GreenYellow;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "[SOLUONGTP] >= [soluongsx]";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.gridView1.FormatRules.Add(gridFormatRule1);
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.GroupCount  = 1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsBehavior.Editable      = false;
     this.gridView1.OptionsSelection.MultiSelect  = true;
     this.gridView1.OptionsView.ColumnAutoWidth   = false;
     this.gridView1.OptionsView.ShowAutoFilterRow = true;
     this.gridView1.OptionsView.ShowGroupPanel    = false;
     this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
         new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.Masp_grid1, DevExpress.Data.ColumnSortOrder.Ascending)
     });
     //
     // Masp_grid1
     //
     this.Masp_grid1.Caption      = "Mã sản phẩm";
     this.Masp_grid1.FieldName    = "Masp";
     this.Masp_grid1.Name         = "Masp_grid1";
     this.Masp_grid1.Visible      = true;
     this.Masp_grid1.VisibleIndex = 0;
     this.Masp_grid1.Width        = 87;
     //
     // sanpham_grid1
     //
     this.sanpham_grid1.Caption      = "Tên QC sản phẩm";
     this.sanpham_grid1.FieldName    = "Tensp";
     this.sanpham_grid1.Name         = "sanpham_grid1";
     this.sanpham_grid1.Visible      = true;
     this.sanpham_grid1.VisibleIndex = 0;
     this.sanpham_grid1.Width        = 157;
     //
     // Maspct_grid1
     //
     this.Maspct_grid1.Caption      = "Mã chi tiết";
     this.Maspct_grid1.FieldName    = "Mact";
     this.Maspct_grid1.Name         = "Maspct_grid1";
     this.Maspct_grid1.Visible      = true;
     this.Maspct_grid1.VisibleIndex = 1;
     this.Maspct_grid1.Width        = 89;
     //
     // Manhom_khuon_grid1
     //
     this.Manhom_khuon_grid1.Caption      = "Mã nhóm khuôn";
     this.Manhom_khuon_grid1.FieldName    = "Manhom_khuon";
     this.Manhom_khuon_grid1.Name         = "Manhom_khuon_grid1";
     this.Manhom_khuon_grid1.Visible      = true;
     this.Manhom_khuon_grid1.VisibleIndex = 2;
     this.Manhom_khuon_grid1.Width        = 86;
     //
     // Makhuon_grid1
     //
     this.Makhuon_grid1.Caption      = "Mã khuôn";
     this.Makhuon_grid1.FieldName    = "Ma_khuon";
     this.Makhuon_grid1.Name         = "Makhuon_grid1";
     this.Makhuon_grid1.Visible      = true;
     this.Makhuon_grid1.VisibleIndex = 3;
     this.Makhuon_grid1.Width        = 104;
     //
     // Tenkhuon_grid1
     //
     this.Tenkhuon_grid1.Caption      = "Tên khuôn";
     this.Tenkhuon_grid1.FieldName    = "Ten_khuon";
     this.Tenkhuon_grid1.Name         = "Tenkhuon_grid1";
     this.Tenkhuon_grid1.Visible      = true;
     this.Tenkhuon_grid1.VisibleIndex = 4;
     this.Tenkhuon_grid1.Width        = 148;
     //
     // Dacdiemkhuon_grid1
     //
     this.Dacdiemkhuon_grid1.Caption      = "Đặc điểm khuôn";
     this.Dacdiemkhuon_grid1.FieldName    = "Dacdiem_khuon";
     this.Dacdiemkhuon_grid1.Name         = "Dacdiemkhuon_grid1";
     this.Dacdiemkhuon_grid1.Visible      = true;
     this.Dacdiemkhuon_grid1.VisibleIndex = 5;
     this.Dacdiemkhuon_grid1.Width        = 88;
     //
     // soluongkhuon_grid1
     //
     this.soluongkhuon_grid1.Caption      = "Số lượng khuôn";
     this.soluongkhuon_grid1.FieldName    = "Soluong_khuon";
     this.soluongkhuon_grid1.Name         = "soluongkhuon_grid1";
     this.soluongkhuon_grid1.Visible      = true;
     this.soluongkhuon_grid1.VisibleIndex = 7;
     this.soluongkhuon_grid1.Width        = 85;
     //
     // ngaybatdau_grid1
     //
     this.ngaybatdau_grid1.Caption      = "Ngày bắt đầu";
     this.ngaybatdau_grid1.FieldName    = "Ngaybatdau";
     this.ngaybatdau_grid1.Name         = "ngaybatdau_grid1";
     this.ngaybatdau_grid1.Visible      = true;
     this.ngaybatdau_grid1.VisibleIndex = 11;
     this.ngaybatdau_grid1.Width        = 86;
     //
     // Ngaykhcat_grid1
     //
     this.Ngaykhcat_grid1.Caption      = "Ngày kế hoạch cắt";
     this.Ngaykhcat_grid1.FieldName    = "Ngaykh_cat";
     this.Ngaykhcat_grid1.Name         = "Ngaykhcat_grid1";
     this.Ngaykhcat_grid1.Visible      = true;
     this.Ngaykhcat_grid1.VisibleIndex = 8;
     //
     // NgayKH_grid1
     //
     this.NgayKH_grid1.Caption      = "Ngày Kế hoạch";
     this.NgayKH_grid1.FieldName    = "Ngayhoanthanh";
     this.NgayKH_grid1.Name         = "NgayKH_grid1";
     this.NgayKH_grid1.Visible      = true;
     this.NgayKH_grid1.VisibleIndex = 12;
     this.NgayKH_grid1.Width        = 93;
     //
     // Today_grid1
     //
     this.Today_grid1.Caption      = "Hôm nay";
     this.Today_grid1.FieldName    = "Today";
     this.Today_grid1.Name         = "Today_grid1";
     this.Today_grid1.Visible      = true;
     this.Today_grid1.VisibleIndex = 13;
     this.Today_grid1.Width        = 102;
     //
     // ngayCatDayHT_grid1
     //
     this.ngayCatDayHT_grid1.Caption      = "Ngày cắt hoàn thành";
     this.ngayCatDayHT_grid1.FieldName    = "Ngaycat_Hoanthanh";
     this.ngayCatDayHT_grid1.Name         = "ngayCatDayHT_grid1";
     this.ngayCatDayHT_grid1.Visible      = true;
     this.ngayCatDayHT_grid1.VisibleIndex = 14;
     this.ngayCatDayHT_grid1.Width        = 118;
     //
     // ngayghi_grid1
     //
     this.ngayghi_grid1.Caption      = "Ngày ghi";
     this.ngayghi_grid1.FieldName    = "Ngaylap";
     this.ngayghi_grid1.Name         = "ngayghi_grid1";
     this.ngayghi_grid1.Visible      = true;
     this.ngayghi_grid1.VisibleIndex = 18;
     this.ngayghi_grid1.Width        = 83;
     //
     // Nguoiluu_grid1
     //
     this.Nguoiluu_grid1.Caption      = "Người lưu khuôn";
     this.Nguoiluu_grid1.FieldName    = "Nguoiluukhuon";
     this.Nguoiluu_grid1.Name         = "Nguoiluu_grid1";
     this.Nguoiluu_grid1.Visible      = true;
     this.Nguoiluu_grid1.VisibleIndex = 19;
     this.Nguoiluu_grid1.Width        = 86;
     //
     // Vitrikhuon_grid1
     //
     this.Vitrikhuon_grid1.Caption      = "Vị trí khuôn";
     this.Vitrikhuon_grid1.FieldName    = "Vitrikhuon";
     this.Vitrikhuon_grid1.Name         = "Vitrikhuon_grid1";
     this.Vitrikhuon_grid1.Visible      = true;
     this.Vitrikhuon_grid1.VisibleIndex = 6;
     //
     // BPmuon_grid1
     //
     this.BPmuon_grid1.Caption      = "Bộ phận mượn";
     this.BPmuon_grid1.FieldName    = "BPsudung";
     this.BPmuon_grid1.Name         = "BPmuon_grid1";
     this.BPmuon_grid1.Visible      = true;
     this.BPmuon_grid1.VisibleIndex = 15;
     //
     // Ngaymuon_grid1
     //
     this.Ngaymuon_grid1.Caption      = "Ngày mượn";
     this.Ngaymuon_grid1.FieldName    = "Ngaymuon";
     this.Ngaymuon_grid1.Name         = "Ngaymuon_grid1";
     this.Ngaymuon_grid1.Visible      = true;
     this.Ngaymuon_grid1.VisibleIndex = 16;
     //
     // Ngaytra_grid1
     //
     this.Ngaytra_grid1.Caption      = "Ngày trả";
     this.Ngaytra_grid1.FieldName    = "Ngaytra";
     this.Ngaytra_grid1.Name         = "Ngaytra_grid1";
     this.Ngaytra_grid1.Visible      = true;
     this.Ngaytra_grid1.VisibleIndex = 17;
     //
     // Tinhtrangkhuon_grid1
     //
     this.Tinhtrangkhuon_grid1.Caption      = "Tình trạng khuôn";
     this.Tinhtrangkhuon_grid1.FieldName    = "Tinhtrang_khuon";
     this.Tinhtrangkhuon_grid1.Name         = "Tinhtrangkhuon_grid1";
     this.Tinhtrangkhuon_grid1.Visible      = true;
     this.Tinhtrangkhuon_grid1.VisibleIndex = 9;
     this.Tinhtrangkhuon_grid1.Width        = 101;
     //
     // Ngayluukhuon_grid1
     //
     this.Ngayluukhuon_grid1.Caption      = "Ngày lưu khuôn";
     this.Ngayluukhuon_grid1.FieldName    = "Ngaylukho";
     this.Ngayluukhuon_grid1.Name         = "Ngayluukhuon_grid1";
     this.Ngayluukhuon_grid1.Visible      = true;
     this.Ngayluukhuon_grid1.VisibleIndex = 10;
     this.Ngayluukhuon_grid1.Width        = 95;
     //
     // nguoilap_grid1
     //
     this.nguoilap_grid1.Caption      = "Người lập";
     this.nguoilap_grid1.FieldName    = "Nguoilap";
     this.nguoilap_grid1.Name         = "nguoilap_grid1";
     this.nguoilap_grid1.Visible      = true;
     this.nguoilap_grid1.VisibleIndex = 20;
     //
     // manv_grid1
     //
     this.manv_grid1.Caption      = "Manv";
     this.manv_grid1.FieldName    = "Manv";
     this.manv_grid1.Name         = "manv_grid1";
     this.manv_grid1.Visible      = true;
     this.manv_grid1.VisibleIndex = 21;
     //
     // ghichu_grid1
     //
     this.ghichu_grid1.Caption      = "Ghi chú";
     this.ghichu_grid1.FieldName    = "Ghichu";
     this.ghichu_grid1.Name         = "ghichu_grid1";
     this.ghichu_grid1.Visible      = true;
     this.ghichu_grid1.VisibleIndex = 22;
     //
     // ngaycatHT_grid
     //
     this.ngaycatHT_grid.Caption      = "Ngày cắt xong";
     this.ngaycatHT_grid.FieldName    = "Ngaycat_Hoanthanh";
     this.ngaycatHT_grid.Name         = "ngaycatHT_grid";
     this.ngaycatHT_grid.Visible      = true;
     this.ngaycatHT_grid.VisibleIndex = 23;
     //
     // NgayrapHT_grid
     //
     this.NgayrapHT_grid.Caption      = "Ngày ráp xong";
     this.NgayrapHT_grid.FieldName    = "Ngayrap_Hoanthanh";
     this.NgayrapHT_grid.Name         = "NgayrapHT_grid";
     this.NgayrapHT_grid.Visible      = true;
     this.NgayrapHT_grid.VisibleIndex = 24;
     //
     // CodeMK_grid1
     //
     this.CodeMK_grid1.Caption      = "Code Khuôn";
     this.CodeMK_grid1.FieldName    = "CodeMK";
     this.CodeMK_grid1.Name         = "CodeMK_grid1";
     this.CodeMK_grid1.Visible      = true;
     this.CodeMK_grid1.VisibleIndex = 25;
     //
     // repositoryItemCalcEdit1
     //
     this.repositoryItemCalcEdit1.AutoHeight = false;
     this.repositoryItemCalcEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCalcEdit1.Name = "repositoryItemCalcEdit1";
     //
     // repositoryItemCalcEdit2
     //
     this.repositoryItemCalcEdit2.AutoHeight = false;
     this.repositoryItemCalcEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCalcEdit2.Name = "repositoryItemCalcEdit2";
     //
     // repositoryItemCalcEdit3
     //
     this.repositoryItemCalcEdit3.AutoHeight = false;
     this.repositoryItemCalcEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemCalcEdit3.Name = "repositoryItemCalcEdit3";
     //
     // repositoryItemFontEdit1
     //
     this.repositoryItemFontEdit1.AutoHeight = false;
     this.repositoryItemFontEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemFontEdit1.Name = "repositoryItemFontEdit1";
     //
     // dpden_ngay
     //
     this.dpden_ngay.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpden_ngay.Format   = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpden_ngay.Location = new System.Drawing.Point(670, 0);
     this.dpden_ngay.Name     = "dpden_ngay";
     this.dpden_ngay.Size     = new System.Drawing.Size(106, 18);
     this.dpden_ngay.TabIndex = 1071;
     this.dpden_ngay.TabStop  = false;
     //
     // dptu_ngay
     //
     this.dptu_ngay.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dptu_ngay.Format   = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dptu_ngay.Location = new System.Drawing.Point(523, 0);
     this.dptu_ngay.Name     = "dptu_ngay";
     this.dptu_ngay.Size     = new System.Drawing.Size(108, 18);
     this.dptu_ngay.TabIndex = 1070;
     this.dptu_ngay.TabStop  = false;
     //
     // label30
     //
     this.label30.AutoSize  = true;
     this.label30.BackColor = System.Drawing.Color.Transparent;
     this.label30.ForeColor = System.Drawing.Color.Green;
     this.label30.Location  = new System.Drawing.Point(471, 3);
     this.label30.Name      = "label30";
     this.label30.Size      = new System.Drawing.Size(47, 13);
     this.label30.TabIndex  = 1069;
     this.label30.Text      = "Từ ngày";
     //
     // label29
     //
     this.label29.AutoSize  = true;
     this.label29.BackColor = System.Drawing.Color.Transparent;
     this.label29.ForeColor = System.Drawing.Color.Green;
     this.label29.Location  = new System.Drawing.Point(637, 3);
     this.label29.Name      = "label29";
     this.label29.Size      = new System.Drawing.Size(27, 13);
     this.label29.TabIndex  = 1072;
     this.label29.Text      = "Đến";
     //
     // txtmasp
     //
     this.txtmasp.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtmasp.Location = new System.Drawing.Point(185, 0);
     this.txtmasp.Name     = "txtmasp";
     this.txtmasp.ReadOnly = true;
     this.txtmasp.Size     = new System.Drawing.Size(197, 18);
     this.txtmasp.TabIndex = 1074;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(109, 3);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(70, 13);
     this.label1.TabIndex = 1073;
     this.label1.Text     = "Mã sản phẩm";
     //
     // UCDMKHUON
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.groupControl2);
     this.Name  = "UCDMKHUON";
     this.Size  = new System.Drawing.Size(1247, 455);
     this.Load += new System.EventHandler(this.UCDMKHUON_Load);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
     this.groupControl2.ResumeLayout(false);
     this.groupControl2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEdit3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemFontEdit1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #21
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(frm_machineRef));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.gridColumn21              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.pan_top                   = new DevExpress.XtraEditors.PanelControl();
     this.btn_close                 = new DevExpress.XtraEditors.SimpleButton();
     this.btn_select                = new DevExpress.XtraEditors.SimpleButton();
     this.btn_search                = new DevExpress.XtraEditors.SimpleButton();
     this.lbl_title                 = new DevExpress.XtraEditors.LabelControl();
     this.pan_sub                   = new DevExpress.XtraEditors.PanelControl();
     this.btn_refresh               = new DevExpress.XtraEditors.SimpleButton();
     this.txt_name                  = new DevExpress.XtraEditors.TextEdit();
     this.lbl_name                  = new DevExpress.XtraEditors.LabelControl();
     this.gridControl1              = new DevExpress.XtraGrid.GridControl();
     this.contextMenuStrip1         = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.현재값검색ToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.검색취소ToolStripMenuItem     = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1       = new System.Windows.Forms.ToolStripSeparator();
     this.조회ToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator3       = new System.Windows.Forms.ToolStripSeparator();
     this.grid셋팅toolStripMenuItem1  = new System.Windows.Forms.ToolStripMenuItem();
     this.grid다중검색ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator7       = new System.Windows.Forms.ToolStripSeparator();
     this.닫기ToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.gridView1                 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn1               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn20              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4               = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.pan_top)).BeginInit();
     this.pan_top.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pan_sub)).BeginInit();
     this.pan_sub.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.txt_name.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.SuspendLayout();
     //
     // gridColumn21
     //
     this.gridColumn21.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn21.AppearanceCell.Options.UseFont        = true;
     this.gridColumn21.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn21.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn21.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn21.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn21.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn21.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn21.Caption      = "사용";
     this.gridColumn21.FieldName    = "use_chk";
     this.gridColumn21.Name         = "gridColumn21";
     this.gridColumn21.Visible      = true;
     this.gridColumn21.VisibleIndex = 4;
     this.gridColumn21.Width        = 125;
     //
     // pan_top
     //
     this.pan_top.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(126)))), ((int)(((byte)(177)))));
     this.pan_top.Appearance.Options.UseBackColor = true;
     this.pan_top.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pan_top.Controls.Add(this.btn_close);
     this.pan_top.Controls.Add(this.btn_select);
     this.pan_top.Controls.Add(this.btn_search);
     this.pan_top.Controls.Add(this.lbl_title);
     this.pan_top.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pan_top.Location = new System.Drawing.Point(0, 0);
     this.pan_top.Name     = "pan_top";
     this.pan_top.Size     = new System.Drawing.Size(650, 85);
     this.pan_top.TabIndex = 13;
     //
     // btn_close
     //
     this.btn_close.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_close.Appearance.BackColor              = System.Drawing.Color.Transparent;
     this.btn_close.Appearance.BorderColor            = System.Drawing.Color.White;
     this.btn_close.Appearance.Font                   = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.btn_close.Appearance.ForeColor              = System.Drawing.Color.White;
     this.btn_close.Appearance.Options.UseBackColor   = true;
     this.btn_close.Appearance.Options.UseBorderColor = true;
     this.btn_close.Appearance.Options.UseFont        = true;
     this.btn_close.Appearance.Options.UseForeColor   = true;
     this.btn_close.ButtonStyle          = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
     this.btn_close.Image                = global::DONGSHIN.Properties.Resources.ico_close;
     this.btn_close.Location             = new System.Drawing.Point(536, 24);
     this.btn_close.LookAndFeel.SkinName = "VS2010";
     this.btn_close.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btn_close.Name     = "btn_close";
     this.btn_close.Size     = new System.Drawing.Size(100, 42);
     this.btn_close.TabIndex = 7;
     this.btn_close.Text     = "닫기";
     this.btn_close.Click   += new System.EventHandler(this.btn_close_Click);
     //
     // btn_select
     //
     this.btn_select.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_select.Appearance.BackColor              = System.Drawing.Color.Transparent;
     this.btn_select.Appearance.BorderColor            = System.Drawing.Color.White;
     this.btn_select.Appearance.Font                   = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.btn_select.Appearance.ForeColor              = System.Drawing.Color.White;
     this.btn_select.Appearance.Options.UseBackColor   = true;
     this.btn_select.Appearance.Options.UseBorderColor = true;
     this.btn_select.Appearance.Options.UseFont        = true;
     this.btn_select.Appearance.Options.UseForeColor   = true;
     this.btn_select.ButtonStyle          = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
     this.btn_select.Image                = global::DONGSHIN.Properties.Resources.ico_apply;
     this.btn_select.Location             = new System.Drawing.Point(433, 24);
     this.btn_select.LookAndFeel.SkinName = "VS2010";
     this.btn_select.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btn_select.Name     = "btn_select";
     this.btn_select.Size     = new System.Drawing.Size(90, 42);
     this.btn_select.TabIndex = 4;
     this.btn_select.Text     = "선택";
     this.btn_select.Click   += new System.EventHandler(this.btn_select_Click);
     //
     // btn_search
     //
     this.btn_search.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_search.Appearance.BackColor              = System.Drawing.Color.Transparent;
     this.btn_search.Appearance.BorderColor            = System.Drawing.Color.White;
     this.btn_search.Appearance.Font                   = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.btn_search.Appearance.ForeColor              = System.Drawing.Color.White;
     this.btn_search.Appearance.Options.UseBackColor   = true;
     this.btn_search.Appearance.Options.UseBorderColor = true;
     this.btn_search.Appearance.Options.UseFont        = true;
     this.btn_search.Appearance.Options.UseForeColor   = true;
     this.btn_search.ButtonStyle          = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
     this.btn_search.Image                = global::DONGSHIN.Properties.Resources.ico_search;
     this.btn_search.Location             = new System.Drawing.Point(330, 24);
     this.btn_search.LookAndFeel.SkinName = "VS2010";
     this.btn_search.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btn_search.Name     = "btn_search";
     this.btn_search.Size     = new System.Drawing.Size(90, 42);
     this.btn_search.TabIndex = 1;
     this.btn_search.Text     = "조회";
     this.btn_search.Click   += new System.EventHandler(this.btn_search_Click);
     //
     // lbl_title
     //
     this.lbl_title.Appearance.Font      = new System.Drawing.Font("나눔고딕 ExtraBold", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbl_title.Appearance.ForeColor = System.Drawing.Color.White;
     this.lbl_title.AutoSizeMode         = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lbl_title.ImageAlignToText     = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
     this.lbl_title.Location             = new System.Drawing.Point(13, 26);
     this.lbl_title.Name     = "lbl_title";
     this.lbl_title.Size     = new System.Drawing.Size(350, 34);
     this.lbl_title.TabIndex = 0;
     this.lbl_title.Text     = "설비코드 참조";
     //
     // pan_sub
     //
     this.pan_sub.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(89)))), ((int)(((byte)(191)))), ((int)(((byte)(186)))));
     this.pan_sub.Appearance.BackColor2           = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(162)))), ((int)(((byte)(198)))));
     this.pan_sub.Appearance.Options.UseBackColor = true;
     this.pan_sub.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pan_sub.Controls.Add(this.btn_refresh);
     this.pan_sub.Controls.Add(this.txt_name);
     this.pan_sub.Controls.Add(this.lbl_name);
     this.pan_sub.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pan_sub.Location = new System.Drawing.Point(0, 85);
     this.pan_sub.Name     = "pan_sub";
     this.pan_sub.Size     = new System.Drawing.Size(650, 51);
     this.pan_sub.TabIndex = 14;
     //
     // btn_refresh
     //
     this.btn_refresh.Appearance.BackColor              = System.Drawing.Color.Transparent;
     this.btn_refresh.Appearance.BorderColor            = System.Drawing.Color.WhiteSmoke;
     this.btn_refresh.Appearance.Font                   = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.btn_refresh.Appearance.ForeColor              = System.Drawing.Color.WhiteSmoke;
     this.btn_refresh.Appearance.Options.UseBackColor   = true;
     this.btn_refresh.Appearance.Options.UseBorderColor = true;
     this.btn_refresh.Appearance.Options.UseFont        = true;
     this.btn_refresh.Appearance.Options.UseForeColor   = true;
     this.btn_refresh.ButtonStyle          = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
     this.btn_refresh.Image                = ((System.Drawing.Image)(resources.GetObject("btn_refresh.Image")));
     this.btn_refresh.Location             = new System.Drawing.Point(409, 6);
     this.btn_refresh.LookAndFeel.SkinName = "VS2010";
     this.btn_refresh.LookAndFeel.UseDefaultLookAndFeel = false;
     this.btn_refresh.Name     = "btn_refresh";
     this.btn_refresh.Size     = new System.Drawing.Size(100, 40);
     this.btn_refresh.TabIndex = 6;
     this.btn_refresh.Text     = "지우기";
     this.btn_refresh.Click   += new System.EventHandler(this.btn_refresh_Click);
     //
     // txt_name
     //
     this.txt_name.Location = new System.Drawing.Point(229, 13);
     this.txt_name.Name     = "txt_name";
     this.txt_name.Properties.Appearance.Font            = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.txt_name.Properties.Appearance.Options.UseFont = true;
     this.txt_name.Size     = new System.Drawing.Size(172, 26);
     this.txt_name.TabIndex = 1;
     this.txt_name.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_name_KeyDown);
     //
     // lbl_name
     //
     this.lbl_name.Appearance.Font      = new System.Drawing.Font("나눔고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
     this.lbl_name.Appearance.ForeColor = System.Drawing.Color.WhiteSmoke;
     this.lbl_name.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.lbl_name.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
     this.lbl_name.Location     = new System.Drawing.Point(133, 16);
     this.lbl_name.Name         = "lbl_name";
     this.lbl_name.Size         = new System.Drawing.Size(90, 17);
     this.lbl_name.TabIndex     = 0;
     this.lbl_name.Text         = "설비이름";
     //
     // gridControl1
     //
     this.gridControl1.ContextMenuStrip  = this.contextMenuStrip1;
     this.gridControl1.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location          = new System.Drawing.Point(0, 136);
     this.gridControl1.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat;
     this.gridControl1.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.Size     = new System.Drawing.Size(650, 364);
     this.gridControl1.TabIndex = 15;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     this.gridControl1.DoubleClick += new System.EventHandler(this.gridControl1_DoubleClick);
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.현재값검색ToolStripMenuItem,
         this.검색취소ToolStripMenuItem,
         this.toolStripSeparator1,
         this.조회ToolStripMenuItem,
         this.toolStripSeparator3,
         this.grid셋팅toolStripMenuItem1,
         this.grid다중검색ToolStripMenuItem,
         this.toolStripSeparator7,
         this.닫기ToolStripMenuItem
     });
     this.contextMenuStrip1.Name            = "contextMenuStrip1";
     this.contextMenuStrip1.ShowImageMargin = false;
     this.contextMenuStrip1.Size            = new System.Drawing.Size(124, 154);
     //
     // 현재값검색ToolStripMenuItem
     //
     this.현재값검색ToolStripMenuItem.Name   = "현재값검색ToolStripMenuItem";
     this.현재값검색ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.현재값검색ToolStripMenuItem.Text   = "현재값 검색";
     this.현재값검색ToolStripMenuItem.Click += new System.EventHandler(this.현재값검색ToolStripMenuItem_Click);
     //
     // 검색취소ToolStripMenuItem
     //
     this.검색취소ToolStripMenuItem.Name   = "검색취소ToolStripMenuItem";
     this.검색취소ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.검색취소ToolStripMenuItem.Text   = "검색 취소";
     this.검색취소ToolStripMenuItem.Click += new System.EventHandler(this.검색취소ToolStripMenuItem_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(120, 6);
     //
     // 조회ToolStripMenuItem
     //
     this.조회ToolStripMenuItem.Name   = "조회ToolStripMenuItem";
     this.조회ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.조회ToolStripMenuItem.Text   = "조회";
     this.조회ToolStripMenuItem.Click += new System.EventHandler(this.btn_search_Click);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(120, 6);
     //
     // grid셋팅toolStripMenuItem1
     //
     this.grid셋팅toolStripMenuItem1.Name   = "grid셋팅toolStripMenuItem1";
     this.grid셋팅toolStripMenuItem1.Size   = new System.Drawing.Size(123, 22);
     this.grid셋팅toolStripMenuItem1.Text   = "Grid 셋팅";
     this.grid셋팅toolStripMenuItem1.Click += new System.EventHandler(this.grid셋팅toolStripMenuItem1_Click);
     //
     // grid다중검색ToolStripMenuItem
     //
     this.grid다중검색ToolStripMenuItem.Name   = "grid다중검색ToolStripMenuItem";
     this.grid다중검색ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.grid다중검색ToolStripMenuItem.Text   = "Grid 다중검색";
     this.grid다중검색ToolStripMenuItem.Click += new System.EventHandler(this.grid다중검색ToolStripMenuItem_Click);
     //
     // toolStripSeparator7
     //
     this.toolStripSeparator7.Name = "toolStripSeparator7";
     this.toolStripSeparator7.Size = new System.Drawing.Size(120, 6);
     //
     // 닫기ToolStripMenuItem
     //
     this.닫기ToolStripMenuItem.Name   = "닫기ToolStripMenuItem";
     this.닫기ToolStripMenuItem.Size   = new System.Drawing.Size(123, 22);
     this.닫기ToolStripMenuItem.Text   = "닫기";
     this.닫기ToolStripMenuItem.Click += new System.EventHandler(this.btn_close_Click);
     //
     // gridView1
     //
     this.gridView1.Appearance.ColumnFilterButtonActive.BackColor              = System.Drawing.Color.DarkGray;
     this.gridView1.Appearance.ColumnFilterButtonActive.BorderColor            = System.Drawing.Color.DarkGray;
     this.gridView1.Appearance.ColumnFilterButtonActive.ForeColor              = System.Drawing.Color.Gainsboro;
     this.gridView1.Appearance.ColumnFilterButtonActive.Options.UseBackColor   = true;
     this.gridView1.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true;
     this.gridView1.Appearance.ColumnFilterButtonActive.Options.UseForeColor   = true;
     this.gridView1.Appearance.Empty.BackColor                          = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
     this.gridView1.Appearance.Empty.GradientMode                       = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal;
     this.gridView1.Appearance.Empty.Options.UseBackColor               = true;
     this.gridView1.Appearance.EvenRow.BackColor                        = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
     this.gridView1.Appearance.EvenRow.ForeColor                        = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.gridView1.Appearance.EvenRow.Options.UseBackColor             = true;
     this.gridView1.Appearance.EvenRow.Options.UseForeColor             = true;
     this.gridView1.Appearance.FilterCloseButton.BackColor              = System.Drawing.Color.Gray;
     this.gridView1.Appearance.FilterCloseButton.BorderColor            = System.Drawing.Color.Gray;
     this.gridView1.Appearance.FilterCloseButton.Options.UseBackColor   = true;
     this.gridView1.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.gridView1.Appearance.FilterPanel.BackColor                    = System.Drawing.Color.Gray;
     this.gridView1.Appearance.FilterPanel.ForeColor                    = System.Drawing.Color.Black;
     this.gridView1.Appearance.FilterPanel.Options.UseBackColor         = true;
     this.gridView1.Appearance.FilterPanel.Options.UseForeColor         = true;
     this.gridView1.Appearance.FocusedCell.BackColor                    = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(160)))), ((int)(((byte)(221)))));
     this.gridView1.Appearance.FocusedCell.BorderColor                  = System.Drawing.Color.FromArgb(((int)(((byte)(79)))), ((int)(((byte)(160)))), ((int)(((byte)(221)))));
     this.gridView1.Appearance.FocusedCell.Options.UseBackColor         = true;
     this.gridView1.Appearance.FocusedCell.Options.UseBorderColor       = true;
     this.gridView1.Appearance.FocusedRow.BackColor                     = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(185)))), ((int)(((byte)(230)))));
     this.gridView1.Appearance.FocusedRow.BorderColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(185)))), ((int)(((byte)(230)))));
     this.gridView1.Appearance.FocusedRow.Options.UseBackColor          = true;
     this.gridView1.Appearance.FocusedRow.Options.UseBorderColor        = true;
     this.gridView1.Appearance.FooterPanel.BackColor                    = System.Drawing.Color.DarkGray;
     this.gridView1.Appearance.FooterPanel.BorderColor                  = System.Drawing.Color.DarkGray;
     this.gridView1.Appearance.FooterPanel.Options.UseBackColor         = true;
     this.gridView1.Appearance.FooterPanel.Options.UseBorderColor       = true;
     this.gridView1.Appearance.GroupButton.BackColor                    = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupButton.BorderColor                  = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupButton.Options.UseBackColor         = true;
     this.gridView1.Appearance.GroupButton.Options.UseBorderColor       = true;
     this.gridView1.Appearance.GroupFooter.BackColor                    = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupFooter.BorderColor                  = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupFooter.Options.UseBackColor         = true;
     this.gridView1.Appearance.GroupFooter.Options.UseBorderColor       = true;
     this.gridView1.Appearance.GroupPanel.BackColor                     = System.Drawing.Color.DimGray;
     this.gridView1.Appearance.GroupPanel.Font                          = new System.Drawing.Font("나눔고딕", 12F);
     this.gridView1.Appearance.GroupPanel.ForeColor                     = System.Drawing.Color.WhiteSmoke;
     this.gridView1.Appearance.GroupPanel.Options.UseBackColor          = true;
     this.gridView1.Appearance.GroupPanel.Options.UseFont               = true;
     this.gridView1.Appearance.GroupPanel.Options.UseForeColor          = true;
     this.gridView1.Appearance.GroupRow.BackColor                       = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupRow.Font                      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
     this.gridView1.Appearance.GroupRow.ForeColor                 = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.gridView1.Appearance.GroupRow.Options.UseBackColor      = true;
     this.gridView1.Appearance.GroupRow.Options.UseFont           = true;
     this.gridView1.Appearance.GroupRow.Options.UseForeColor      = true;
     this.gridView1.Appearance.HeaderPanel.BackColor              = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(138)))), ((int)(((byte)(155)))));
     this.gridView1.Appearance.HeaderPanel.BorderColor            = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(138)))), ((int)(((byte)(155)))));
     this.gridView1.Appearance.HeaderPanel.Font                   = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridView1.Appearance.HeaderPanel.ForeColor              = System.Drawing.Color.WhiteSmoke;
     this.gridView1.Appearance.HeaderPanel.Options.UseBackColor   = true;
     this.gridView1.Appearance.HeaderPanel.Options.UseBorderColor = true;
     this.gridView1.Appearance.HeaderPanel.Options.UseFont        = true;
     this.gridView1.Appearance.HeaderPanel.Options.UseForeColor   = true;
     this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true;
     this.gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridView1.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center;
     this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap   = DevExpress.Utils.WordWrap.Wrap;
     this.gridView1.Appearance.HorzLine.BackColor                 = System.Drawing.Color.LightGray;
     this.gridView1.Appearance.HorzLine.Options.UseBackColor      = true;
     this.gridView1.Appearance.OddRow.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
     this.gridView1.Appearance.OddRow.ForeColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(68)))), ((int)(((byte)(68)))));
     this.gridView1.Appearance.OddRow.Options.UseBackColor        = true;
     this.gridView1.Appearance.OddRow.Options.UseForeColor        = true;
     this.gridView1.Appearance.Preview.BackColor                  = System.Drawing.Color.Gainsboro;
     this.gridView1.Appearance.Preview.ForeColor                  = System.Drawing.Color.DimGray;
     this.gridView1.Appearance.Preview.Options.UseBackColor       = true;
     this.gridView1.Appearance.Preview.Options.UseForeColor       = true;
     this.gridView1.Appearance.Row.BackColor                      = System.Drawing.Color.White;
     this.gridView1.Appearance.Row.Options.UseBackColor           = true;
     this.gridView1.Appearance.RowSeparator.BackColor             = System.Drawing.Color.DimGray;
     this.gridView1.Appearance.RowSeparator.Options.UseBackColor  = true;
     this.gridView1.Appearance.SelectedRow.BackColor              = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(185)))), ((int)(((byte)(230)))));
     this.gridView1.Appearance.SelectedRow.BorderColor            = System.Drawing.Color.FromArgb(((int)(((byte)(124)))), ((int)(((byte)(185)))), ((int)(((byte)(230)))));
     this.gridView1.Appearance.SelectedRow.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridView1.Appearance.SelectedRow.ForeColor              = System.Drawing.Color.WhiteSmoke;
     this.gridView1.Appearance.SelectedRow.Options.UseBackColor   = true;
     this.gridView1.Appearance.SelectedRow.Options.UseBorderColor = true;
     this.gridView1.Appearance.SelectedRow.Options.UseFont        = true;
     this.gridView1.Appearance.SelectedRow.Options.UseForeColor   = true;
     this.gridView1.Appearance.VertLine.BackColor                 = System.Drawing.Color.LightGray;
     this.gridView1.Appearance.VertLine.Options.UseBackColor      = true;
     this.gridView1.BorderStyle          = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gridView1.ColumnPanelRowHeight = 50;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn1,
         this.gridColumn2,
         this.gridColumn20,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn21
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Column     = this.gridColumn21;
     gridFormatRule1.Name       = "YesOrNo";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.Color.Salmon;
     formatConditionRuleExpression1.Appearance.BackColor2           = System.Drawing.Color.SeaShell;
     formatConditionRuleExpression1.Appearance.Font                 = new System.Drawing.Font("나눔고딕", 12F);
     formatConditionRuleExpression1.Appearance.ForeColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression1.Appearance.Options.UseForeColor = true;
     formatConditionRuleExpression1.Expression = "[use_chk] = \'N\'";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.gridView1.FormatRules.Add(gridFormatRule1);
     this.gridView1.GridControl                                    = this.gridControl1;
     this.gridView1.GroupRowHeight                                 = 50;
     this.gridView1.Name                                           = "gridView1";
     this.gridView1.OptionsBehavior.Editable                       = false;
     this.gridView1.OptionsBehavior.ReadOnly                       = true;
     this.gridView1.OptionsPrint.EnableAppearanceEvenRow           = true;
     this.gridView1.OptionsPrint.EnableAppearanceOddRow            = true;
     this.gridView1.OptionsSelection.EnableAppearanceHideSelection = false;
     this.gridView1.OptionsView.EnableAppearanceEvenRow            = true;
     this.gridView1.OptionsView.EnableAppearanceOddRow             = true;
     this.gridView1.OptionsView.ShowGroupPanel                     = false;
     this.gridView1.OptionsView.ShowVerticalLines                  = DevExpress.Utils.DefaultBoolean.False;
     this.gridView1.PaintStyleName                                 = "Web";
     this.gridView1.RowHeight                                      = 50;
     //
     // gridColumn1
     //
     this.gridColumn1.AppearanceCell.Font                     = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn1.AppearanceCell.Options.UseFont          = true;
     this.gridColumn1.AppearanceCell.Options.UseTextOptions   = true;
     this.gridColumn1.AppearanceCell.TextOptions.HAlignment   = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn1.AppearanceHeader.BorderColor            = System.Drawing.Color.Transparent;
     this.gridColumn1.AppearanceHeader.Font                   = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn1.AppearanceHeader.ForeColor              = System.Drawing.Color.WhiteSmoke;
     this.gridColumn1.AppearanceHeader.Options.UseBorderColor = true;
     this.gridColumn1.AppearanceHeader.Options.UseFont        = true;
     this.gridColumn1.AppearanceHeader.Options.UseForeColor   = true;
     this.gridColumn1.Caption      = "설비코드";
     this.gridColumn1.FieldName    = "MACHINE_CODE";
     this.gridColumn1.Name         = "gridColumn1";
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn1.Width        = 147;
     //
     // gridColumn2
     //
     this.gridColumn2.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn2.AppearanceCell.Options.UseFont        = true;
     this.gridColumn2.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn2.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn2.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn2.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn2.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn2.Caption      = "설비이름";
     this.gridColumn2.FieldName    = "MACHINE_NAME";
     this.gridColumn2.Name         = "gridColumn2";
     this.gridColumn2.Visible      = true;
     this.gridColumn2.VisibleIndex = 1;
     this.gridColumn2.Width        = 155;
     //
     // gridColumn20
     //
     this.gridColumn20.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn20.AppearanceCell.Options.UseFont        = true;
     this.gridColumn20.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn20.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn20.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn20.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn20.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn20.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn20.Caption      = "호기";
     this.gridColumn20.FieldName    = "MACHINE_NUMBER";
     this.gridColumn20.Name         = "gridColumn20";
     this.gridColumn20.Visible      = true;
     this.gridColumn20.VisibleIndex = 2;
     this.gridColumn20.Width        = 111;
     //
     // gridColumn3
     //
     this.gridColumn3.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn3.AppearanceCell.Options.UseFont        = true;
     this.gridColumn3.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn3.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn3.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn3.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn3.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn3.Caption      = "기종";
     this.gridColumn3.FieldName    = "MACHINE_TYPE";
     this.gridColumn3.Name         = "gridColumn3";
     this.gridColumn3.Visible      = true;
     this.gridColumn3.VisibleIndex = 3;
     this.gridColumn3.Width        = 140;
     //
     // gridColumn4
     //
     this.gridColumn4.AppearanceCell.Font                   = new System.Drawing.Font("나눔고딕", 12F);
     this.gridColumn4.AppearanceCell.Options.UseFont        = true;
     this.gridColumn4.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn4.AppearanceHeader.Font                 = new System.Drawing.Font("나눔고딕 ExtraBold", 12F, System.Drawing.FontStyle.Bold);
     this.gridColumn4.AppearanceHeader.ForeColor            = System.Drawing.Color.WhiteSmoke;
     this.gridColumn4.AppearanceHeader.Options.UseFont      = true;
     this.gridColumn4.AppearanceHeader.Options.UseForeColor = true;
     this.gridColumn4.Caption   = "IP Address";
     this.gridColumn4.FieldName = "MACHINE_IP";
     this.gridColumn4.Name      = "gridColumn4";
     this.gridColumn4.Width     = 222;
     //
     // frm_machineRef
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(650, 500);
     this.Controls.Add(this.gridControl1);
     this.Controls.Add(this.pan_sub);
     this.Controls.Add(this.pan_top);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name            = "frm_machineRef";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "frm_machineRef";
     this.FormClosing    += new System.Windows.Forms.FormClosingEventHandler(this.frm_machineRef_FormClosing);
     this.Load           += new System.EventHandler(this.frm_machineRef_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pan_top)).EndInit();
     this.pan_top.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.pan_sub)).EndInit();
     this.pan_sub.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.txt_name.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #22
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.SuperToolTip      superToolTip1     = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem  toolTipTitleItem1 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip      superToolTip2     = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem  toolTipTitleItem2 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip      superToolTip3     = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem  toolTipTitleItem3 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip      superToolTip4     = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem  toolTipTitleItem4 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip      superToolTip5     = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem  toolTipTitleItem5 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip      superToolTip6     = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem  toolTipTitleItem6 = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule1   = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     System.ComponentModel.ComponentResourceManager       resources = new System.ComponentModel.ComponentResourceManager(typeof(OrdendeventaFrm));
     this.gcAnulado            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.bmConsulta           = new DevExpress.XtraBars.BarManager();
     this.BarMnt               = new DevExpress.XtraBars.Bar();
     this.btnNuevo             = new DevExpress.XtraBars.BarButtonItem();
     this.btnModificar         = new DevExpress.XtraBars.BarButtonItem();
     this.btnImprimir          = new DevExpress.XtraBars.BarButtonItem();
     this.btnEliminar          = new DevExpress.XtraBars.BarButtonItem();
     this.btnActualizar        = new DevExpress.XtraBars.BarButtonItem();
     this.bsiExportar          = new DevExpress.XtraBars.BarSubItem();
     this.btnExportCsv         = new DevExpress.XtraBars.BarButtonItem();
     this.btnExportHtml        = new DevExpress.XtraBars.BarButtonItem();
     this.btnExportMht         = new DevExpress.XtraBars.BarButtonItem();
     this.btnExportImg         = new DevExpress.XtraBars.BarButtonItem();
     this.btnExportPdf         = new DevExpress.XtraBars.BarButtonItem();
     this.btnExportRtf         = new DevExpress.XtraBars.BarButtonItem();
     this.btnExportTxt         = new DevExpress.XtraBars.BarButtonItem();
     this.btnExportXls         = new DevExpress.XtraBars.BarButtonItem();
     this.btnExportXlsx        = new DevExpress.XtraBars.BarButtonItem();
     this.btnCerrar            = 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.btnListado1          = new DevExpress.XtraBars.BarButtonItem();
     this.gcConsulta           = new DevExpress.XtraGrid.GridControl();
     this.gvConsulta           = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.riNumerocotiza       = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumn2          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn9          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.riTotaln2            = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumn12         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn11         = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.bmConsulta)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcConsulta)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvConsulta)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.riNumerocotiza)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.riTotaln2)).BeginInit();
     this.SuspendLayout();
     //
     // gcAnulado
     //
     this.gcAnulado.Caption      = "Anulado";
     this.gcAnulado.FieldName    = "Anulado";
     this.gcAnulado.Name         = "gcAnulado";
     this.gcAnulado.Visible      = true;
     this.gcAnulado.VisibleIndex = 10;
     //
     // bmConsulta
     //
     this.bmConsulta.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.BarMnt
     });
     this.bmConsulta.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] {
         new DevExpress.XtraBars.BarManagerCategory("Mantenimiento", new System.Guid("bf24888c-c336-4331-92ed-90df15ac84f5")),
         new DevExpress.XtraBars.BarManagerCategory("Navegación", new System.Guid("914e515b-0bf8-4995-97b2-cce8dc1d7479")),
         new DevExpress.XtraBars.BarManagerCategory("Exportar", new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97"))
     });
     this.bmConsulta.DockControls.Add(this.barDockControlTop);
     this.bmConsulta.DockControls.Add(this.barDockControlBottom);
     this.bmConsulta.DockControls.Add(this.barDockControlLeft);
     this.bmConsulta.DockControls.Add(this.barDockControlRight);
     this.bmConsulta.Form = this;
     this.bmConsulta.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.btnNuevo,
         this.btnModificar,
         this.btnEliminar,
         this.bsiExportar,
         this.btnListado1,
         this.btnExportCsv,
         this.btnExportHtml,
         this.btnExportImg,
         this.btnExportMht,
         this.btnExportPdf,
         this.btnExportRtf,
         this.btnExportTxt,
         this.btnExportXls,
         this.btnExportXlsx,
         this.btnCerrar,
         this.btnActualizar,
         this.btnImprimir
     });
     this.bmConsulta.MaxItemId  = 79;
     this.bmConsulta.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bmConsulta_ItemClick);
     //
     // BarMnt
     //
     this.BarMnt.BarName      = "Tools Mantenimiento";
     this.BarMnt.CanDockStyle = ((DevExpress.XtraBars.BarCanDockStyle)(((((DevExpress.XtraBars.BarCanDockStyle.Left | DevExpress.XtraBars.BarCanDockStyle.Top)
                                                                          | DevExpress.XtraBars.BarCanDockStyle.Right)
                                                                         | DevExpress.XtraBars.BarCanDockStyle.Bottom)
                                                                        | DevExpress.XtraBars.BarCanDockStyle.Standalone)));
     this.BarMnt.DockCol       = 0;
     this.BarMnt.DockRow       = 0;
     this.BarMnt.DockStyle     = DevExpress.XtraBars.BarDockStyle.Top;
     this.BarMnt.FloatLocation = new System.Drawing.Point(376, 165);
     this.BarMnt.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnNuevo, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnModificar, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnImprimir, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnEliminar, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnActualizar, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.bsiExportar, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnCerrar, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)
     });
     this.BarMnt.OptionsBar.UseWholeRow = true;
     this.BarMnt.Text = "Barra de herramientas";
     //
     // btnNuevo
     //
     this.btnNuevo.Caption                  = "Nuevo";
     this.btnNuevo.CategoryGuid             = new System.Guid("bf24888c-c336-4331-92ed-90df15ac84f5");
     this.btnNuevo.Glyph                    = global::WinFormsApp.Properties.Resources.Action_New;
     this.btnNuevo.Id                       = 55;
     this.btnNuevo.ItemShortcut             = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N));
     this.btnNuevo.LargeGlyph               = global::WinFormsApp.Properties.Resources.Action_New_32x32;
     this.btnNuevo.Name                     = "btnNuevo";
     this.btnNuevo.ShortcutKeyDisplayString = "Ctrl +N";
     toolTipTitleItem1.Text                 = "Nuevo (Ctrl + N)";
     superToolTip1.Items.Add(toolTipTitleItem1);
     this.btnNuevo.SuperTip = superToolTip1;
     //
     // btnModificar
     //
     this.btnModificar.Caption                  = "Modificar";
     this.btnModificar.CategoryGuid             = new System.Guid("bf24888c-c336-4331-92ed-90df15ac84f5");
     this.btnModificar.Glyph                    = global::WinFormsApp.Properties.Resources.Action_Edit;
     this.btnModificar.Id                       = 56;
     this.btnModificar.ItemShortcut             = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M));
     this.btnModificar.LargeGlyph               = global::WinFormsApp.Properties.Resources.Action_Edit_32x32;
     this.btnModificar.Name                     = "btnModificar";
     this.btnModificar.ShortcutKeyDisplayString = "Ctrl + M";
     toolTipTitleItem2.Text                     = "Modificar (Ctrl + M)";
     superToolTip2.Items.Add(toolTipTitleItem2);
     this.btnModificar.SuperTip = superToolTip2;
     //
     // btnImprimir
     //
     this.btnImprimir.Caption = "Imprimir";
     this.btnImprimir.Glyph   = global::WinFormsApp.Properties.Resources.Action_Printing_Print;
     this.btnImprimir.Id      = 78;
     this.btnImprimir.Name    = "btnImprimir";
     //
     // btnEliminar
     //
     this.btnEliminar.Caption                  = "Eliminar";
     this.btnEliminar.CategoryGuid             = new System.Guid("bf24888c-c336-4331-92ed-90df15ac84f5");
     this.btnEliminar.Glyph                    = global::WinFormsApp.Properties.Resources.Action_Delete;
     this.btnEliminar.Id                       = 57;
     this.btnEliminar.ItemShortcut             = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E));
     this.btnEliminar.LargeGlyph               = global::WinFormsApp.Properties.Resources.Action_Delete_32x32;
     this.btnEliminar.Name                     = "btnEliminar";
     this.btnEliminar.ShortcutKeyDisplayString = "Ctrl + E";
     toolTipTitleItem3.Text                    = "Eliminar (Ctrl + E)\r\n";
     superToolTip3.Items.Add(toolTipTitleItem3);
     this.btnEliminar.SuperTip = superToolTip3;
     //
     // btnActualizar
     //
     this.btnActualizar.Caption      = "Actualizar";
     this.btnActualizar.CategoryGuid = new System.Guid("bf24888c-c336-4331-92ed-90df15ac84f5");
     this.btnActualizar.Glyph        = global::WinFormsApp.Properties.Resources.Action_Refresh;
     this.btnActualizar.Id           = 77;
     this.btnActualizar.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F5);
     this.btnActualizar.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Refresh_32x32;
     this.btnActualizar.Name         = "btnActualizar";
     toolTipTitleItem4.Text          = "Actualizar (F5)";
     superToolTip4.Items.Add(toolTipTitleItem4);
     this.btnActualizar.SuperTip = superToolTip4;
     //
     // bsiExportar
     //
     this.bsiExportar.Caption      = "Exportar";
     this.bsiExportar.CategoryGuid = new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97");
     this.bsiExportar.Glyph        = global::WinFormsApp.Properties.Resources.Action_Export;
     this.bsiExportar.Id           = 62;
     this.bsiExportar.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Export_32x32;
     this.bsiExportar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.btnExportCsv),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnExportHtml),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnExportMht),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnExportImg),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnExportPdf),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnExportRtf),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnExportTxt),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnExportXls),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnExportXlsx)
     });
     this.bsiExportar.Name = "bsiExportar";
     this.bsiExportar.ShortcutKeyDisplayString = "Exportar a...";
     toolTipTitleItem5.Text = "Exportar a ...";
     superToolTip5.Items.Add(toolTipTitleItem5);
     this.bsiExportar.SuperTip = superToolTip5;
     //
     // btnExportCsv
     //
     this.btnExportCsv.Caption      = "Archivo CSV";
     this.btnExportCsv.CategoryGuid = new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97");
     this.btnExportCsv.Description  = "CSV";
     this.btnExportCsv.Glyph        = global::WinFormsApp.Properties.Resources.Action_Export_ToCSV;
     this.btnExportCsv.Id           = 66;
     this.btnExportCsv.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Export_ToCSV_32x32;
     this.btnExportCsv.Name         = "btnExportCsv";
     //
     // btnExportHtml
     //
     this.btnExportHtml.Caption      = "Archivo Html";
     this.btnExportHtml.CategoryGuid = new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97");
     this.btnExportHtml.Glyph        = global::WinFormsApp.Properties.Resources.Action_Export_ToHTML;
     this.btnExportHtml.Id           = 67;
     this.btnExportHtml.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Export_ToHTML_32x32;
     this.btnExportHtml.Name         = "btnExportHtml";
     //
     // btnExportMht
     //
     this.btnExportMht.Caption      = "Archivo MHT";
     this.btnExportMht.CategoryGuid = new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97");
     this.btnExportMht.Glyph        = global::WinFormsApp.Properties.Resources.Action_Export_ToMHT;
     this.btnExportMht.Id           = 69;
     this.btnExportMht.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Export_ToMHT_32x32;
     this.btnExportMht.Name         = "btnExportMht";
     //
     // btnExportImg
     //
     this.btnExportImg.Caption      = "Archivo Imagen";
     this.btnExportImg.CategoryGuid = new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97");
     this.btnExportImg.Glyph        = global::WinFormsApp.Properties.Resources.Action_Export_ToImage;
     this.btnExportImg.Id           = 68;
     this.btnExportImg.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Export_ToImage_32x32;
     this.btnExportImg.Name         = "btnExportImg";
     //
     // btnExportPdf
     //
     this.btnExportPdf.Caption      = "Archivo PDF";
     this.btnExportPdf.CategoryGuid = new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97");
     this.btnExportPdf.Glyph        = global::WinFormsApp.Properties.Resources.Action_Export_ToPDF;
     this.btnExportPdf.Id           = 70;
     this.btnExportPdf.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Export_ToPDF_32x32;
     this.btnExportPdf.Name         = "btnExportPdf";
     //
     // btnExportRtf
     //
     this.btnExportRtf.Caption      = "Archivo RTF";
     this.btnExportRtf.CategoryGuid = new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97");
     this.btnExportRtf.Glyph        = global::WinFormsApp.Properties.Resources.Action_Export_ToRTF;
     this.btnExportRtf.Id           = 71;
     this.btnExportRtf.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Export_ToRTF_32x32;
     this.btnExportRtf.Name         = "btnExportRtf";
     //
     // btnExportTxt
     //
     this.btnExportTxt.Caption      = "Archivo de Texto";
     this.btnExportTxt.CategoryGuid = new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97");
     this.btnExportTxt.Glyph        = global::WinFormsApp.Properties.Resources.Action_Export_ToText;
     this.btnExportTxt.Id           = 72;
     this.btnExportTxt.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Export_ToText_32x32;
     this.btnExportTxt.Name         = "btnExportTxt";
     //
     // btnExportXls
     //
     this.btnExportXls.Caption      = "Archivo XLS";
     this.btnExportXls.CategoryGuid = new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97");
     this.btnExportXls.Glyph        = global::WinFormsApp.Properties.Resources.Action_Export_ToXls;
     this.btnExportXls.Id           = 73;
     this.btnExportXls.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Export_ToXls_32x32;
     this.btnExportXls.Name         = "btnExportXls";
     //
     // btnExportXlsx
     //
     this.btnExportXlsx.Caption      = "Archivo XLSX";
     this.btnExportXlsx.CategoryGuid = new System.Guid("a9f1f2eb-11e3-4541-aa36-34a8926e4a97");
     this.btnExportXlsx.Glyph        = global::WinFormsApp.Properties.Resources.Action_Export_ToXLSX;
     this.btnExportXlsx.Id           = 74;
     this.btnExportXlsx.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Export_ToXLSX_32x32;
     this.btnExportXlsx.Name         = "btnExportXlsx";
     //
     // btnCerrar
     //
     this.btnCerrar.Caption      = "Salir";
     this.btnCerrar.CategoryGuid = new System.Guid("914e515b-0bf8-4995-97b2-cce8dc1d7479");
     this.btnCerrar.Glyph        = global::WinFormsApp.Properties.Resources.Action_Close;
     this.btnCerrar.Id           = 75;
     this.btnCerrar.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S));
     this.btnCerrar.LargeGlyph   = global::WinFormsApp.Properties.Resources.Action_Close_32x32;
     this.btnCerrar.Name         = "btnCerrar";
     toolTipTitleItem6.Text      = "Salir de ventana (Ctrl + S)";
     superToolTip6.Items.Add(toolTipTitleItem6);
     this.btnCerrar.SuperTip = superToolTip6;
     //
     // 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(863, 31);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 305);
     this.barDockControlBottom.Size             = new System.Drawing.Size(863, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(0, 31);
     this.barDockControlLeft.Size             = new System.Drawing.Size(0, 274);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(863, 31);
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 274);
     //
     // btnListado1
     //
     this.btnListado1.Caption = "Listado";
     this.btnListado1.Id      = 65;
     this.btnListado1.Name    = "btnListado1";
     //
     // gcConsulta
     //
     this.gcConsulta.Cursor      = System.Windows.Forms.Cursors.Default;
     this.gcConsulta.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.gcConsulta.Location    = new System.Drawing.Point(0, 31);
     this.gcConsulta.MainView    = this.gvConsulta;
     this.gcConsulta.MenuManager = this.bmConsulta;
     this.gcConsulta.Name        = "gcConsulta";
     this.gcConsulta.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.riNumerocotiza,
         this.riTotaln2
     });
     this.gcConsulta.Size     = new System.Drawing.Size(863, 274);
     this.gcConsulta.TabIndex = 0;
     this.gcConsulta.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gvConsulta
     });
     this.gcConsulta.ProcessGridKey += new System.Windows.Forms.KeyEventHandler(this.gcConsulta_ProcessGridKey);
     //
     // gvConsulta
     //
     this.gvConsulta.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn1,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.gridColumn2,
         this.gridColumn6,
         this.gridColumn8,
         this.gridColumn11,
         this.gridColumn9,
         this.gridColumn12,
         this.gcAnulado,
         this.gridColumn7
     });
     this.gvConsulta.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFullFocus;
     gridFormatRule1.ApplyToRow     = true;
     gridFormatRule1.Column         = this.gcAnulado;
     gridFormatRule1.ColumnApplyTo  = this.gcAnulado;
     gridFormatRule1.Name           = "FormatAnulado";
     formatConditionRuleExpression1.Appearance.ForeColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression1.Appearance.Options.UseForeColor = true;
     formatConditionRuleExpression1.Expression = "[Anulado]";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.gvConsulta.FormatRules.Add(gridFormatRule1);
     this.gvConsulta.GridControl = this.gcConsulta;
     this.gvConsulta.Name        = "gvConsulta";
     this.gvConsulta.OptionsBehavior.AllowAddRows    = DevExpress.Utils.DefaultBoolean.True;
     this.gvConsulta.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.True;
     this.gvConsulta.OptionsBehavior.ReadOnly        = true;
     this.gvConsulta.OptionsView.ColumnAutoWidth     = false;
     this.gvConsulta.OptionsView.ShowFooter          = true;
     this.gvConsulta.ShownEditor += new System.EventHandler(this.gvConsulta_ShownEditor);
     this.gvConsulta.KeyDown     += new System.Windows.Forms.KeyEventHandler(this.gvConsulta_KeyDown);
     this.gvConsulta.MouseWheel  += new System.Windows.Forms.MouseEventHandler(this.gvConsulta_MouseWheel);
     //
     // gridColumn1
     //
     this.gridColumn1.Caption   = "Id.";
     this.gridColumn1.FieldName = "Idordendeventa";
     this.gridColumn1.Name      = "gridColumn1";
     this.gridColumn1.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
     this.gridColumn1.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count, "idordendeventa", "Nº {0}")
     });
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn1.Width        = 67;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption      = "Tipo";
     this.gridColumn3.FieldName    = "Nombretipoformato";
     this.gridColumn3.Name         = "gridColumn3";
     this.gridColumn3.Visible      = true;
     this.gridColumn3.VisibleIndex = 1;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption      = "Serie";
     this.gridColumn4.FieldName    = "Serieordenventa";
     this.gridColumn4.Name         = "gridColumn4";
     this.gridColumn4.Visible      = true;
     this.gridColumn4.VisibleIndex = 2;
     //
     // gridColumn5
     //
     this.gridColumn5.Caption      = "N° Cotizacion";
     this.gridColumn5.ColumnEdit   = this.riNumerocotiza;
     this.gridColumn5.FieldName    = "Numeroordenventa";
     this.gridColumn5.Name         = "gridColumn5";
     this.gridColumn5.Visible      = true;
     this.gridColumn5.VisibleIndex = 3;
     //
     // riNumerocotiza
     //
     this.riNumerocotiza.AutoHeight    = false;
     this.riNumerocotiza.Mask.EditMask = "d8";
     this.riNumerocotiza.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.riNumerocotiza.Mask.UseMaskAsDisplayFormat = true;
     this.riNumerocotiza.Name = "riNumerocotiza";
     //
     // gridColumn2
     //
     this.gridColumn2.Caption      = "Fecha";
     this.gridColumn2.FieldName    = "Fechaordenventa";
     this.gridColumn2.Name         = "gridColumn2";
     this.gridColumn2.Visible      = true;
     this.gridColumn2.VisibleIndex = 4;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption      = "Ruc";
     this.gridColumn6.FieldName    = "Nrodocentidadprincipal";
     this.gridColumn6.Name         = "gridColumn6";
     this.gridColumn6.Visible      = true;
     this.gridColumn6.VisibleIndex = 5;
     //
     // gridColumn8
     //
     this.gridColumn8.Caption      = "Cliente";
     this.gridColumn8.FieldName    = "Razonsocial";
     this.gridColumn8.Name         = "gridColumn8";
     this.gridColumn8.Visible      = true;
     this.gridColumn8.VisibleIndex = 6;
     //
     // gridColumn9
     //
     this.gridColumn9.Caption      = "Total";
     this.gridColumn9.ColumnEdit   = this.riTotaln2;
     this.gridColumn9.FieldName    = "Totaldocumento";
     this.gridColumn9.Name         = "gridColumn9";
     this.gridColumn9.Visible      = true;
     this.gridColumn9.VisibleIndex = 8;
     //
     // riTotaln2
     //
     this.riTotaln2.AutoHeight    = false;
     this.riTotaln2.Mask.EditMask = "n2";
     this.riTotaln2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.riTotaln2.Mask.UseMaskAsDisplayFormat = true;
     this.riTotaln2.Name = "riTotaln2";
     //
     // gridColumn12
     //
     this.gridColumn12.Caption      = "Condicion";
     this.gridColumn12.FieldName    = "Nombrecondicion";
     this.gridColumn12.Name         = "gridColumn12";
     this.gridColumn12.Visible      = true;
     this.gridColumn12.VisibleIndex = 9;
     //
     // gridColumn7
     //
     this.gridColumn7.Caption      = "Estado Facturación";
     this.gridColumn7.FieldName    = "Estadofacturacion";
     this.gridColumn7.Name         = "gridColumn7";
     this.gridColumn7.Visible      = true;
     this.gridColumn7.VisibleIndex = 11;
     //
     // gridColumn11
     //
     this.gridColumn11.Caption      = "Moneda";
     this.gridColumn11.FieldName    = "Simbolomoneda";
     this.gridColumn11.Name         = "gridColumn11";
     this.gridColumn11.Visible      = true;
     this.gridColumn11.VisibleIndex = 7;
     //
     // OrdendeventaFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(863, 305);
     this.Controls.Add(this.gcConsulta);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview    = true;
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "OrdendeventaFrm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Orden de Venta";
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.OrdendeventaFrm_FormClosing);
     this.Load         += new System.EventHandler(this.OrdendeventaFrm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.bmConsulta)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcConsulta)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvConsulta)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.riNumerocotiza)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.riTotaln2)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #23
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.panelControl2      = new DevExpress.XtraEditors.PanelControl();
     this.btncapnhat         = new DevExpress.XtraEditors.SimpleButton();
     this.btnxem             = new DevExpress.XtraEditors.SimpleButton();
     this.lblChon            = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1      = new DevExpress.XtraEditors.LabelControl();
     this.gribang            = new DevExpress.XtraGrid.GridControl();
     this.grichon            = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.id                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.course             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.name               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.intro              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.introformat        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.timeopen           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Color              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.timelimit          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.overduehandling    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.graceperiod        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.preferredbehaviour = new DevExpress.XtraGrid.Columns.GridColumn();
     this.canredoquestions   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.attempts           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.attemptonlast      = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
     this.panelControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gribang)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grichon)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl2
     //
     this.panelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.panelControl2.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0)))));
     this.panelControl2.Appearance.Options.UseBackColor = true;
     this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.panelControl2.Controls.Add(this.btncapnhat);
     this.panelControl2.Controls.Add(this.btnxem);
     this.panelControl2.Controls.Add(this.lblChon);
     this.panelControl2.Controls.Add(this.labelControl1);
     this.panelControl2.Location = new System.Drawing.Point(12, 12);
     this.panelControl2.Name     = "panelControl2";
     this.panelControl2.Size     = new System.Drawing.Size(790, 95);
     this.panelControl2.TabIndex = 30;
     //
     // btncapnhat
     //
     this.btncapnhat.ImageOptions.ImageIndex = 0;
     this.btncapnhat.Location = new System.Drawing.Point(556, 35);
     this.btncapnhat.Name     = "btncapnhat";
     this.btncapnhat.Size     = new System.Drawing.Size(100, 37);
     this.btncapnhat.TabIndex = 7;
     this.btncapnhat.Text     = "Cập nhật";
     this.btncapnhat.Click   += new System.EventHandler(this.btncapnhat_Click);
     //
     // btnxem
     //
     this.btnxem.ImageOptions.ImageIndex = 0;
     this.btnxem.Location = new System.Drawing.Point(450, 35);
     this.btnxem.Name     = "btnxem";
     this.btnxem.Size     = new System.Drawing.Size(100, 37);
     this.btnxem.TabIndex = 6;
     this.btnxem.Text     = "Xem";
     this.btnxem.Click   += new System.EventHandler(this.btnxem_Click);
     //
     // lblChon
     //
     this.lblChon.AllowHtmlString                 = true;
     this.lblChon.Appearance.Font                 = new System.Drawing.Font("Tahoma", 9F);
     this.lblChon.Appearance.ForeColor            = System.Drawing.Color.White;
     this.lblChon.Appearance.Options.UseFont      = true;
     this.lblChon.Appearance.Options.UseForeColor = true;
     this.lblChon.Location = new System.Drawing.Point(71, 47);
     this.lblChon.Name     = "lblChon";
     this.lblChon.Size     = new System.Drawing.Size(73, 14);
     this.lblChon.TabIndex = 0;
     this.lblChon.Text     = "Đang chọn:[]";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.Font                 = new System.Drawing.Font("Tahoma", 10F);
     this.labelControl1.Appearance.ForeColor            = System.Drawing.Color.White;
     this.labelControl1.Appearance.Options.UseFont      = true;
     this.labelControl1.Appearance.Options.UseForeColor = true;
     this.labelControl1.Location = new System.Drawing.Point(4, 8);
     this.labelControl1.Name     = "labelControl1";
     this.labelControl1.Size     = new System.Drawing.Size(59, 16);
     this.labelControl1.TabIndex = 0;
     this.labelControl1.Text     = "Danh sách";
     //
     // gribang
     //
     this.gribang.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                  | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.gribang.Location = new System.Drawing.Point(12, 113);
     this.gribang.MainView = this.grichon;
     this.gribang.Name     = "gribang";
     this.gribang.Size     = new System.Drawing.Size(790, 280);
     this.gribang.TabIndex = 31;
     this.gribang.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.grichon
     });
     //
     // grichon
     //
     this.grichon.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.id,
         this.course,
         this.name,
         this.intro,
         this.introformat,
         this.timeopen,
         this.Color,
         this.timelimit,
         this.overduehandling,
         this.graceperiod,
         this.preferredbehaviour,
         this.canredoquestions,
         this.attempts,
         this.attemptonlast
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Color";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.SystemColors.GradientActiveCaption;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "[Color] = 1";
     gridFormatRule1.Rule       = formatConditionRuleExpression1;
     gridFormatRule2.ApplyToRow = true;
     gridFormatRule2.Name       = "trungthongtin";
     formatConditionRuleExpression2.Appearance.BackColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression2.Appearance.BackColor2           = System.Drawing.Color.Red;
     formatConditionRuleExpression2.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression2.Expression = "[Repeat] > 1";
     gridFormatRule2.Rule = formatConditionRuleExpression2;
     this.grichon.FormatRules.Add(gridFormatRule1);
     this.grichon.FormatRules.Add(gridFormatRule2);
     this.grichon.GridControl = this.gribang;
     this.grichon.Name        = "grichon";
     this.grichon.OptionsBehavior.Editable         = false;
     this.grichon.OptionsSelection.MultiSelect     = true;
     this.grichon.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
     this.grichon.OptionsSelection.ShowCheckBoxSelectorInGroupRow = DevExpress.Utils.DefaultBoolean.False;
     this.grichon.OptionsView.ColumnAutoWidth = false;
     this.grichon.OptionsView.RowAutoHeight   = true;
     this.grichon.OptionsView.ShowFooter      = true;
     this.grichon.OptionsView.ShowGroupPanel  = false;
     //
     // id
     //
     this.id.AppearanceCell.Options.UseTextOptions = true;
     this.id.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.id.Caption   = "id";
     this.id.FieldName = "id";
     this.id.Name      = "id";
     this.id.OptionsColumn.ReadOnly = true;
     this.id.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count, "id", "Tổng: ")
     });
     this.id.Visible      = true;
     this.id.VisibleIndex = 0;
     this.id.Width        = 54;
     //
     // course
     //
     this.course.Caption   = "course";
     this.course.FieldName = "course";
     this.course.Name      = "course";
     this.course.OptionsColumn.ReadOnly = true;
     this.course.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Count, "MaKH", "{0}")
     });
     this.course.Visible      = true;
     this.course.VisibleIndex = 1;
     this.course.Width        = 95;
     //
     // name
     //
     this.name.Caption   = "name";
     this.name.FieldName = "name";
     this.name.MinWidth  = 40;
     this.name.Name      = "name";
     this.name.OptionsColumn.ReadOnly = true;
     this.name.Visible      = true;
     this.name.VisibleIndex = 2;
     this.name.Width        = 92;
     //
     // intro
     //
     this.intro.Caption   = "intro";
     this.intro.FieldName = "intro";
     this.intro.MinWidth  = 40;
     this.intro.Name      = "intro";
     this.intro.OptionsColumn.ReadOnly = true;
     this.intro.Visible      = true;
     this.intro.VisibleIndex = 3;
     this.intro.Width        = 100;
     //
     // introformat
     //
     this.introformat.Caption      = "introformat";
     this.introformat.FieldName    = "introformat";
     this.introformat.Name         = "introformat";
     this.introformat.Visible      = true;
     this.introformat.VisibleIndex = 4;
     this.introformat.Width        = 120;
     //
     // timeopen
     //
     this.timeopen.Caption      = "timeopen";
     this.timeopen.FieldName    = "timeopen";
     this.timeopen.Name         = "timeopen";
     this.timeopen.Visible      = true;
     this.timeopen.VisibleIndex = 5;
     this.timeopen.Width        = 153;
     //
     // Color
     //
     this.Color.Caption   = "Color";
     this.Color.FieldName = "Color";
     this.Color.Name      = "Color";
     //
     // timelimit
     //
     this.timelimit.Caption      = "timelimit";
     this.timelimit.FieldName    = "timelimit";
     this.timelimit.Name         = "timelimit";
     this.timelimit.Visible      = true;
     this.timelimit.VisibleIndex = 6;
     //
     // overduehandling
     //
     this.overduehandling.Caption      = "overduehandling";
     this.overduehandling.FieldName    = "overduehandling";
     this.overduehandling.Name         = "overduehandling";
     this.overduehandling.Visible      = true;
     this.overduehandling.VisibleIndex = 7;
     //
     // graceperiod
     //
     this.graceperiod.Caption      = "graceperiod";
     this.graceperiod.FieldName    = "graceperiod";
     this.graceperiod.Name         = "graceperiod";
     this.graceperiod.Visible      = true;
     this.graceperiod.VisibleIndex = 8;
     //
     // preferredbehaviour
     //
     this.preferredbehaviour.Caption      = "preferredbehaviour";
     this.preferredbehaviour.FieldName    = "preferredbehaviour";
     this.preferredbehaviour.Name         = "preferredbehaviour";
     this.preferredbehaviour.Visible      = true;
     this.preferredbehaviour.VisibleIndex = 9;
     //
     // canredoquestions
     //
     this.canredoquestions.Caption      = "canredoquestions";
     this.canredoquestions.FieldName    = "canredoquestions";
     this.canredoquestions.Name         = "canredoquestions";
     this.canredoquestions.Visible      = true;
     this.canredoquestions.VisibleIndex = 10;
     //
     // attempts
     //
     this.attempts.Caption      = "attempts";
     this.attempts.FieldName    = "attempts";
     this.attempts.Name         = "attempts";
     this.attempts.Visible      = true;
     this.attempts.VisibleIndex = 11;
     //
     // attemptonlast
     //
     this.attemptonlast.Caption      = "attemptonlast";
     this.attemptonlast.FieldName    = "attemptonlast";
     this.attemptonlast.Name         = "attemptonlast";
     this.attemptonlast.Visible      = true;
     this.attemptonlast.VisibleIndex = 12;
     //
     // XtraForm_quiz
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(814, 405);
     this.Controls.Add(this.gribang);
     this.Controls.Add(this.panelControl2);
     this.Name        = "XtraForm_quiz";
     this.Text        = "XtraForm_quiz";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load       += new System.EventHandler(this.XtraForm_quiz_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
     this.panelControl2.ResumeLayout(false);
     this.panelControl2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gribang)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grichon)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #24
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.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     System.ComponentModel.ComponentResourceManager       resources = new System.ComponentModel.ComponentResourceManager(typeof(XfCuentasXCobrar));
     this.colSaldoActual           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSaldo                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gCCuentasCobrar          = new DevExpress.XtraGrid.GridControl();
     this.creditoBLLBindingSource  = new System.Windows.Forms.BindingSource(this.components);
     this.gVCuentasCobrar          = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colIdCliente             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colIDCredito             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colIDUsuario             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colIDFactura             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNumFactura            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEstado                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colNombre                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCedula                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colFechaVence            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colTelefono              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAbona                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colState                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colFecha                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.dockManager1             = new DevExpress.XtraBars.Docking.DockManager(this.components);
     this.dockPanel1               = new DevExpress.XtraBars.Docking.DockPanel();
     this.dockPanel1_Container     = new DevExpress.XtraBars.Docking.ControlContainer();
     this.btnEditarAbono           = new DevExpress.XtraEditors.SimpleButton();
     this.btnEliminarAbono         = new DevExpress.XtraEditors.SimpleButton();
     this.gCCuentasCobrarHistorial = new DevExpress.XtraGrid.GridControl();
     this.gVCuentasCobrarHistorial = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn1              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colIDFactura1            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn4              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn5              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colFactura1              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colUsuarios              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.dockPanel2               = new DevExpress.XtraBars.Docking.DockPanel();
     this.dockPanel2_Container     = new DevExpress.XtraBars.Docking.ControlContainer();
     this.gCDetalle                = new DevExpress.XtraGrid.GridControl();
     this.gVDetalle                = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colIDFacturaDetalle      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colIDProducto            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn6              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colFactura               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colProducto              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCosto                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colUnidades              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colFechaSistema          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.xtraSaveFileDialog1      = new DevExpress.XtraEditors.XtraSaveFileDialog(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.gCCuentasCobrar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.creditoBLLBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVCuentasCobrar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit();
     this.dockPanel1.SuspendLayout();
     this.dockPanel1_Container.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gCCuentasCobrarHistorial)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVCuentasCobrarHistorial)).BeginInit();
     this.dockPanel2.SuspendLayout();
     this.dockPanel2_Container.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gCDetalle)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVDetalle)).BeginInit();
     this.SuspendLayout();
     //
     // colSaldoActual
     //
     this.colSaldoActual.Caption = "SALDO ACTUAL";
     this.colSaldoActual.DisplayFormat.FormatString = "c";
     this.colSaldoActual.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.colSaldoActual.FieldName = "SaldoActual";
     this.colSaldoActual.Name      = "colSaldoActual";
     this.colSaldoActual.OptionsColumn.AllowEdit = false;
     this.colSaldoActual.Visible      = true;
     this.colSaldoActual.VisibleIndex = 6;
     this.colSaldoActual.Width        = 114;
     //
     // colSaldo
     //
     this.colSaldo.Caption = "SALDO INICIAL";
     this.colSaldo.DisplayFormat.FormatString = "c";
     this.colSaldo.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.colSaldo.FieldName = "Saldo";
     this.colSaldo.Name      = "colSaldo";
     this.colSaldo.OptionsColumn.AllowEdit = false;
     this.colSaldo.OptionsColumn.ReadOnly  = true;
     this.colSaldo.Visible      = true;
     this.colSaldo.VisibleIndex = 5;
     this.colSaldo.Width        = 104;
     //
     // gCCuentasCobrar
     //
     this.gCCuentasCobrar.DataSource = this.creditoBLLBindingSource;
     this.gCCuentasCobrar.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.gCCuentasCobrar.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.gCCuentasCobrar.Location = new System.Drawing.Point(0, 0);
     this.gCCuentasCobrar.MainView = this.gVCuentasCobrar;
     this.gCCuentasCobrar.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.gCCuentasCobrar.Name     = "gCCuentasCobrar";
     this.gCCuentasCobrar.Size     = new System.Drawing.Size(885, 644);
     this.gCCuentasCobrar.TabIndex = 1;
     this.gCCuentasCobrar.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gVCuentasCobrar
     });
     //
     // creditoBLLBindingSource
     //
     this.creditoBLLBindingSource.DataSource = typeof(Gm.Core.CreditoBLL);
     //
     // gVCuentasCobrar
     //
     this.gVCuentasCobrar.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colIdCliente,
         this.colIDCredito,
         this.colIDUsuario,
         this.colIDFactura,
         this.colNumFactura,
         this.colEstado,
         this.colNombre,
         this.colCedula,
         this.colFechaVence,
         this.colTelefono,
         this.colSaldo,
         this.colAbona,
         this.colSaldoActual,
         this.colState,
         this.colFecha
     });
     gridFormatRule1.Column                        = this.colSaldoActual;
     gridFormatRule1.ColumnApplyTo                 = this.colSaldoActual;
     gridFormatRule1.Name                          = "Format0";
     formatConditionRuleExpression1.Expression     = "[State] = True";
     formatConditionRuleExpression1.PredefinedName = "Green Bold Text";
     gridFormatRule1.Rule                          = formatConditionRuleExpression1;
     gridFormatRule2.Column                        = this.colSaldo;
     gridFormatRule2.ColumnApplyTo                 = this.colSaldo;
     gridFormatRule2.Name                          = "Format1";
     formatConditionRuleExpression2.Expression     = "[State] = True";
     formatConditionRuleExpression2.PredefinedName = "Red Bold Text";
     gridFormatRule2.Rule                          = formatConditionRuleExpression2;
     this.gVCuentasCobrar.FormatRules.Add(gridFormatRule1);
     this.gVCuentasCobrar.FormatRules.Add(gridFormatRule2);
     this.gVCuentasCobrar.GridControl = this.gCCuentasCobrar;
     this.gVCuentasCobrar.Name        = "gVCuentasCobrar";
     this.gVCuentasCobrar.OptionsView.ShowAutoFilterRow = true;
     this.gVCuentasCobrar.OptionsView.ShowViewCaption   = true;
     this.gVCuentasCobrar.ViewCaption        = "CUENTAS POR COBRAR";
     this.gVCuentasCobrar.RowStyle          += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gVCuentasCobrar_RowStyle);
     this.gVCuentasCobrar.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gridView1_FocusedRowChanged);
     //
     // colIdCliente
     //
     this.colIdCliente.FieldName = "IdCliente";
     this.colIdCliente.Name      = "colIdCliente";
     //
     // colIDCredito
     //
     this.colIDCredito.FieldName = "IDCredito";
     this.colIDCredito.Name      = "colIDCredito";
     //
     // colIDUsuario
     //
     this.colIDUsuario.FieldName = "IDUsuario";
     this.colIDUsuario.Name      = "colIDUsuario";
     //
     // colIDFactura
     //
     this.colIDFactura.FieldName = "IDFactura";
     this.colIDFactura.Name      = "colIDFactura";
     //
     // colNumFactura
     //
     this.colNumFactura.Caption   = "FACTURA";
     this.colNumFactura.FieldName = "NumFactura";
     this.colNumFactura.Name      = "colNumFactura";
     this.colNumFactura.OptionsColumn.AllowEdit = false;
     this.colNumFactura.Visible      = true;
     this.colNumFactura.VisibleIndex = 0;
     this.colNumFactura.Width        = 107;
     //
     // colEstado
     //
     this.colEstado.FieldName = "Estado";
     this.colEstado.MinWidth  = 25;
     this.colEstado.Name      = "colEstado";
     this.colEstado.Width     = 94;
     //
     // colNombre
     //
     this.colNombre.Caption   = "CLIENTE";
     this.colNombre.FieldName = "Nombre";
     this.colNombre.Name      = "colNombre";
     this.colNombre.OptionsColumn.AllowEdit = false;
     this.colNombre.Visible      = true;
     this.colNombre.VisibleIndex = 1;
     this.colNombre.Width        = 397;
     //
     // colCedula
     //
     this.colCedula.Caption   = "CEDULA";
     this.colCedula.FieldName = "Cedula";
     this.colCedula.Name      = "colCedula";
     this.colCedula.OptionsColumn.AllowEdit = false;
     this.colCedula.Visible      = true;
     this.colCedula.VisibleIndex = 2;
     this.colCedula.Width        = 137;
     //
     // colFechaVence
     //
     this.colFechaVence.Caption      = "VENCE";
     this.colFechaVence.FieldName    = "FechaVence";
     this.colFechaVence.MinWidth     = 25;
     this.colFechaVence.Name         = "colFechaVence";
     this.colFechaVence.Visible      = true;
     this.colFechaVence.VisibleIndex = 9;
     this.colFechaVence.Width        = 94;
     //
     // colTelefono
     //
     this.colTelefono.Caption   = "TELEFONO";
     this.colTelefono.FieldName = "Telefono";
     this.colTelefono.Name      = "colTelefono";
     this.colTelefono.OptionsColumn.AllowEdit = false;
     this.colTelefono.Visible      = true;
     this.colTelefono.VisibleIndex = 3;
     this.colTelefono.Width        = 98;
     //
     // colAbona
     //
     this.colAbona.Caption = "ABONO";
     this.colAbona.DisplayFormat.FormatString = "c";
     this.colAbona.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.colAbona.FieldName = "Abona";
     this.colAbona.Name      = "colAbona";
     this.colAbona.OptionsColumn.AllowEdit = false;
     this.colAbona.Visible      = true;
     this.colAbona.VisibleIndex = 4;
     this.colAbona.Width        = 83;
     //
     // colState
     //
     this.colState.Caption   = "ESTADO";
     this.colState.FieldName = "State";
     this.colState.Name      = "colState";
     this.colState.OptionsColumn.AllowEdit = false;
     this.colState.Visible      = true;
     this.colState.VisibleIndex = 7;
     this.colState.Width        = 77;
     //
     // colFecha
     //
     this.colFecha.Caption   = "FECHA";
     this.colFecha.FieldName = "Fecha";
     this.colFecha.Name      = "colFecha";
     this.colFecha.OptionsColumn.AllowEdit = false;
     this.colFecha.Visible      = true;
     this.colFecha.VisibleIndex = 8;
     this.colFecha.Width        = 156;
     //
     // dockManager1
     //
     this.dockManager1.Form = this;
     this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] {
         this.dockPanel1,
         this.dockPanel2
     });
     this.dockManager1.TopZIndexControls.AddRange(new string[] {
         "DevExpress.XtraBars.BarDockControl",
         "DevExpress.XtraBars.StandaloneBarDockControl",
         "System.Windows.Forms.StatusBar",
         "System.Windows.Forms.MenuStrip",
         "System.Windows.Forms.StatusStrip",
         "DevExpress.XtraBars.Ribbon.RibbonStatusBar",
         "DevExpress.XtraBars.Ribbon.RibbonControl",
         "DevExpress.XtraBars.Navigation.OfficeNavigationBar",
         "DevExpress.XtraBars.Navigation.TileNavPane",
         "DevExpress.XtraBars.TabFormControl",
         "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl"
     });
     //
     // dockPanel1
     //
     this.dockPanel1.Controls.Add(this.dockPanel1_Container);
     this.dockPanel1.Dock            = DevExpress.XtraBars.Docking.DockingStyle.Right;
     this.dockPanel1.ID              = new System.Guid("972ef58f-5330-48a1-af77-b056d4a6646a");
     this.dockPanel1.Location        = new System.Drawing.Point(1389, 0);
     this.dockPanel1.Name            = "dockPanel1";
     this.dockPanel1.OriginalSize    = new System.Drawing.Size(318, 200);
     this.dockPanel1.SavedSizeFactor = 0D;
     this.dockPanel1.Size            = new System.Drawing.Size(318, 644);
     this.dockPanel1.Text            = "Lista de Pagos";
     //
     // dockPanel1_Container
     //
     this.dockPanel1_Container.Controls.Add(this.btnEditarAbono);
     this.dockPanel1_Container.Controls.Add(this.btnEliminarAbono);
     this.dockPanel1_Container.Controls.Add(this.gCCuentasCobrarHistorial);
     this.dockPanel1_Container.Location = new System.Drawing.Point(7, 45);
     this.dockPanel1_Container.Name     = "dockPanel1_Container";
     this.dockPanel1_Container.Size     = new System.Drawing.Size(306, 594);
     this.dockPanel1_Container.TabIndex = 0;
     //
     // btnEditarAbono
     //
     this.btnEditarAbono.Location = new System.Drawing.Point(103, 8);
     this.btnEditarAbono.Name     = "btnEditarAbono";
     this.btnEditarAbono.Size     = new System.Drawing.Size(94, 29);
     this.btnEditarAbono.TabIndex = 5;
     this.btnEditarAbono.Text     = "Editar Abono";
     this.btnEditarAbono.Click   += new System.EventHandler(this.btnEditarAbono_Click);
     //
     // btnEliminarAbono
     //
     this.btnEliminarAbono.Location = new System.Drawing.Point(3, 8);
     this.btnEliminarAbono.Name     = "btnEliminarAbono";
     this.btnEliminarAbono.Size     = new System.Drawing.Size(94, 29);
     this.btnEliminarAbono.TabIndex = 4;
     this.btnEliminarAbono.Text     = "Eliminar Abono";
     this.btnEliminarAbono.Click   += new System.EventHandler(this.btnEliminarAbono_Click);
     //
     // gCCuentasCobrarHistorial
     //
     this.gCCuentasCobrarHistorial.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                   | System.Windows.Forms.AnchorStyles.Left)
                                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.gCCuentasCobrarHistorial.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.gCCuentasCobrarHistorial.Location = new System.Drawing.Point(3, 43);
     this.gCCuentasCobrarHistorial.MainView = this.gVCuentasCobrarHistorial;
     this.gCCuentasCobrarHistorial.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.gCCuentasCobrarHistorial.Name     = "gCCuentasCobrarHistorial";
     this.gCCuentasCobrarHistorial.Size     = new System.Drawing.Size(300, 543);
     this.gCCuentasCobrarHistorial.TabIndex = 3;
     this.gCCuentasCobrarHistorial.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gVCuentasCobrarHistorial
     });
     //
     // gVCuentasCobrarHistorial
     //
     this.gVCuentasCobrarHistorial.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn1,
         this.colIDFactura1,
         this.gridColumn2,
         this.gridColumn3,
         this.gridColumn4,
         this.gridColumn5,
         this.colFactura1,
         this.colUsuarios
     });
     this.gVCuentasCobrarHistorial.GridControl                = this.gCCuentasCobrarHistorial;
     this.gVCuentasCobrarHistorial.Name                       = "gVCuentasCobrarHistorial";
     this.gVCuentasCobrarHistorial.OptionsView.ShowFooter     = true;
     this.gVCuentasCobrarHistorial.OptionsView.ShowGroupPanel = false;
     this.gVCuentasCobrarHistorial.ViewCaption                = "HISTORIAL ABONOS";
     //
     // gridColumn1
     //
     this.gridColumn1.FieldName = "IDCredito";
     this.gridColumn1.Name      = "gridColumn1";
     //
     // colIDFactura1
     //
     this.colIDFactura1.FieldName = "IDFactura";
     this.colIDFactura1.Name      = "colIDFactura1";
     //
     // gridColumn2
     //
     this.gridColumn2.FieldName = "IDUsuario";
     this.gridColumn2.Name      = "gridColumn2";
     //
     // gridColumn3
     //
     this.gridColumn3.Caption   = "FECHA";
     this.gridColumn3.FieldName = "Fecha";
     this.gridColumn3.Name      = "gridColumn3";
     this.gridColumn3.OptionsColumn.AllowEdit = false;
     this.gridColumn3.Visible      = true;
     this.gridColumn3.VisibleIndex = 0;
     this.gridColumn3.Width        = 130;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption = "ABONA";
     this.gridColumn4.DisplayFormat.FormatString = "c";
     this.gridColumn4.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.gridColumn4.FieldName = "Abona";
     this.gridColumn4.Name      = "gridColumn4";
     this.gridColumn4.OptionsColumn.AllowEdit = false;
     this.gridColumn4.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Abona", "{0:#.##}")
     });
     this.gridColumn4.Visible      = true;
     this.gridColumn4.VisibleIndex = 1;
     this.gridColumn4.Width        = 74;
     //
     // gridColumn5
     //
     this.gridColumn5.FieldName = "State";
     this.gridColumn5.Name      = "gridColumn5";
     //
     // colFactura1
     //
     this.colFactura1.FieldName = "Factura";
     this.colFactura1.Name      = "colFactura1";
     //
     // colUsuarios
     //
     this.colUsuarios.FieldName = "Usuarios";
     this.colUsuarios.Name      = "colUsuarios";
     //
     // dockPanel2
     //
     this.dockPanel2.Controls.Add(this.dockPanel2_Container);
     this.dockPanel2.Dock            = DevExpress.XtraBars.Docking.DockingStyle.Right;
     this.dockPanel2.ID              = new System.Guid("0838d2e2-4dc0-48e7-ad58-4daf7238b43b");
     this.dockPanel2.Location        = new System.Drawing.Point(885, 0);
     this.dockPanel2.Name            = "dockPanel2";
     this.dockPanel2.OriginalSize    = new System.Drawing.Size(504, 200);
     this.dockPanel2.SavedSizeFactor = 0D;
     this.dockPanel2.Size            = new System.Drawing.Size(504, 644);
     this.dockPanel2.Text            = "Detalle";
     //
     // dockPanel2_Container
     //
     this.dockPanel2_Container.Controls.Add(this.gCDetalle);
     this.dockPanel2_Container.Location = new System.Drawing.Point(7, 45);
     this.dockPanel2_Container.Name     = "dockPanel2_Container";
     this.dockPanel2_Container.Size     = new System.Drawing.Size(492, 594);
     this.dockPanel2_Container.TabIndex = 0;
     //
     // gCDetalle
     //
     this.gCDetalle.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.gCDetalle.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.gCDetalle.Location = new System.Drawing.Point(7, 0);
     this.gCDetalle.MainView = this.gVDetalle;
     this.gCDetalle.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.gCDetalle.Name     = "gCDetalle";
     this.gCDetalle.Size     = new System.Drawing.Size(480, 586);
     this.gCDetalle.TabIndex = 4;
     this.gCDetalle.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gVDetalle
     });
     //
     // gVDetalle
     //
     this.gVDetalle.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colIDFacturaDetalle,
         this.colIDProducto,
         this.gridColumn6,
         this.colFactura,
         this.colProducto,
         this.colCosto,
         this.colUnidades,
         this.colFechaSistema,
         this.gridColumn7
     });
     this.gVDetalle.GridControl                = this.gCDetalle;
     this.gVDetalle.Name                       = "gVDetalle";
     this.gVDetalle.OptionsView.ShowFooter     = true;
     this.gVDetalle.OptionsView.ShowGroupPanel = false;
     this.gVDetalle.ViewCaption                = "VENTA DETALLE";
     //
     // colIDFacturaDetalle
     //
     this.colIDFacturaDetalle.FieldName = "IDFacturaDetalle";
     this.colIDFacturaDetalle.Name      = "colIDFacturaDetalle";
     //
     // colIDProducto
     //
     this.colIDProducto.FieldName = "IDProducto";
     this.colIDProducto.Name      = "colIDProducto";
     //
     // gridColumn6
     //
     this.gridColumn6.FieldName = "IDFactura";
     this.gridColumn6.Name      = "gridColumn6";
     //
     // colFactura
     //
     this.colFactura.FieldName = "Factura";
     this.colFactura.Name      = "colFactura";
     //
     // colProducto
     //
     this.colProducto.Caption   = "DETALLE";
     this.colProducto.FieldName = "Producto.Nombre";
     this.colProducto.Name      = "colProducto";
     this.colProducto.OptionsColumn.AllowEdit = false;
     this.colProducto.Visible      = true;
     this.colProducto.VisibleIndex = 0;
     this.colProducto.Width        = 211;
     //
     // colCosto
     //
     this.colCosto.Caption = "COSTO";
     this.colCosto.DisplayFormat.FormatString = "c";
     this.colCosto.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.colCosto.FieldName = "Costo";
     this.colCosto.Name      = "colCosto";
     this.colCosto.OptionsColumn.AllowEdit = false;
     this.colCosto.Visible      = true;
     this.colCosto.VisibleIndex = 1;
     this.colCosto.Width        = 77;
     //
     // colUnidades
     //
     this.colUnidades.Caption   = "CANTIDAD";
     this.colUnidades.FieldName = "Unidades";
     this.colUnidades.Name      = "colUnidades";
     this.colUnidades.OptionsColumn.AllowEdit = false;
     this.colUnidades.Visible      = true;
     this.colUnidades.VisibleIndex = 2;
     this.colUnidades.Width        = 78;
     //
     // colFechaSistema
     //
     this.colFechaSistema.FieldName = "FechaSistema";
     this.colFechaSistema.Name      = "colFechaSistema";
     //
     // gridColumn7
     //
     this.gridColumn7.Caption = "SUB.TOTAL";
     this.gridColumn7.DisplayFormat.FormatString = "c";
     this.gridColumn7.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.gridColumn7.FieldName = "gridColumn1";
     this.gridColumn7.Name      = "gridColumn7";
     this.gridColumn7.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "gridColumn1", "{0:#.##}")
     });
     this.gridColumn7.UnboundExpression = "[Unidades] * [Costo]";
     this.gridColumn7.UnboundType       = DevExpress.Data.UnboundColumnType.Decimal;
     this.gridColumn7.Visible           = true;
     this.gridColumn7.VisibleIndex      = 3;
     this.gridColumn7.Width             = 91;
     //
     // xtraSaveFileDialog1
     //
     this.xtraSaveFileDialog1.FileName = "Documento";
     //
     // XfCuentasXCobrar
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1707, 644);
     this.Controls.Add(this.gCCuentasCobrar);
     this.Controls.Add(this.dockPanel2);
     this.Controls.Add(this.dockPanel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin        = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.Name          = "XfCuentasXCobrar";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Cuentas por Cobrar";
     this.Load         += new System.EventHandler(this.xfAbonoAdmin_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gCCuentasCobrar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.creditoBLLBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVCuentasCobrar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit();
     this.dockPanel1.ResumeLayout(false);
     this.dockPanel1_Container.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gCCuentasCobrarHistorial)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVCuentasCobrarHistorial)).EndInit();
     this.dockPanel2.ResumeLayout(false);
     this.dockPanel2_Container.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gCDetalle)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVDetalle)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #25
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.Utils.SuperToolTip     superToolTip1          = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem1      = new DevExpress.Utils.ToolTipTitleItem();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GuiaRemisionMntImpEntradaAlmacenFrm));
     DevExpress.Utils.SuperToolTip      superToolTip2         = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem  toolTipTitleItem2     = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip      superToolTip3         = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem  toolTipTitleItem3     = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.SuperToolTip      superToolTip4         = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem  toolTipTitleItem4     = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule1       = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.gcCalcularItem       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.riCalcularItem       = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.bmMntItems           = new DevExpress.XtraBars.BarManager(this.components);
     this.barMntItems          = new DevExpress.XtraBars.Bar();
     this.btnImportar          = new DevExpress.XtraBars.BarButtonItem();
     this.btnCancelarItem      = new DevExpress.XtraBars.BarButtonItem();
     this.btnConsultar         = new DevExpress.XtraBars.BarButtonItem();
     this.btnCerrar            = 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.gcDetalleImp         = new DevExpress.XtraGrid.GridControl();
     this.gvDetalleImp         = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn23         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn3          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn20         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn21         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn9          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn24         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.riCantidadrequerida  = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumn4          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.riCantidadimportada  = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumn5          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.riSaldoaimportar     = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumn6          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.riCantidadaimportar  = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumn10         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.riItemseleccionado   = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.chkSeleccionarTodo   = new DevExpress.XtraEditors.CheckEdit();
     this.gcConsulta           = new DevExpress.XtraGrid.GridControl();
     this.gvConsulta           = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn11         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn26         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn12         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn13         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn14         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn15         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn16         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn17         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn22         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.riNumerico2          = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumn18         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.iIdsucursal          = new DevExpress.XtraEditors.SearchLookUpEdit();
     this.gridView8            = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn39         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn40         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn41         = new DevExpress.XtraGrid.Columns.GridColumn();
     this.labelControl26       = new DevExpress.XtraEditors.LabelControl();
     this.beSocioNegocio       = new DevExpress.XtraEditors.ButtonEdit();
     this.labelControl17       = new DevExpress.XtraEditors.LabelControl();
     ((System.ComponentModel.ISupportInitialize)(this.riCalcularItem)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bmMntItems)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcDetalleImp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDetalleImp)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.riCantidadrequerida)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.riCantidadimportada)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.riSaldoaimportar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.riCantidadaimportar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.riItemseleccionado)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkSeleccionarTodo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcConsulta)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvConsulta)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.riNumerico2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.iIdsucursal.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.beSocioNegocio.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // gcCalcularItem
     //
     this.gcCalcularItem.Caption                = "Calcular";
     this.gcCalcularItem.ColumnEdit             = this.riCalcularItem;
     this.gcCalcularItem.FieldName              = "Calcularitem";
     this.gcCalcularItem.Name                   = "gcCalcularItem";
     this.gcCalcularItem.OptionsColumn.ReadOnly = true;
     this.gcCalcularItem.Visible                = true;
     this.gcCalcularItem.VisibleIndex           = 5;
     this.gcCalcularItem.Width                  = 59;
     //
     // riCalcularItem
     //
     this.riCalcularItem.AutoHeight = false;
     this.riCalcularItem.EditValueChangedFiringMode = DevExpress.XtraEditors.Controls.EditValueChangedFiringMode.Buffered;
     this.riCalcularItem.Name = "riCalcularItem";
     //
     // bmMntItems
     //
     this.bmMntItems.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.barMntItems
     });
     this.bmMntItems.DockControls.Add(this.barDockControlTop);
     this.bmMntItems.DockControls.Add(this.barDockControlBottom);
     this.bmMntItems.DockControls.Add(this.barDockControlLeft);
     this.bmMntItems.DockControls.Add(this.barDockControlRight);
     this.bmMntItems.Form = this;
     this.bmMntItems.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.btnImportar,
         this.btnCancelarItem,
         this.btnConsultar,
         this.btnCerrar
     });
     this.bmMntItems.MaxItemId  = 5;
     this.bmMntItems.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bmMntItems_ItemClick);
     //
     // barMntItems
     //
     this.barMntItems.BarName      = "Tools";
     this.barMntItems.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Top;
     this.barMntItems.DockCol      = 0;
     this.barMntItems.DockRow      = 0;
     this.barMntItems.DockStyle    = DevExpress.XtraBars.BarDockStyle.Top;
     this.barMntItems.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnImportar, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnCancelarItem, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnConsultar, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
         new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnCerrar, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)
     });
     this.barMntItems.OptionsBar.UseWholeRow = true;
     this.barMntItems.Text = "Tools";
     //
     // btnImportar
     //
     this.btnImportar.Caption      = "Importar";
     this.btnImportar.Glyph        = global::WinFormsApp.Properties.Resources.Action_Save_New;
     this.btnImportar.Id           = 0;
     this.btnImportar.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Enter));
     this.btnImportar.Name         = "btnImportar";
     toolTipTitleItem1.Text        = "Importar y cerrar (Ctrl + Enter)";
     superToolTip1.Items.Add(toolTipTitleItem1);
     this.btnImportar.SuperTip = superToolTip1;
     //
     // btnCancelarItem
     //
     this.btnCancelarItem.Caption      = "Cancelar";
     this.btnCancelarItem.Glyph        = ((System.Drawing.Image)(resources.GetObject("btnCancelarItem.Glyph")));
     this.btnCancelarItem.Id           = 1;
     this.btnCancelarItem.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S));
     this.btnCancelarItem.Name         = "btnCancelarItem";
     toolTipTitleItem2.Text            = "Cancelar y cerrar ventana (Ctrl + S)";
     superToolTip2.Items.Add(toolTipTitleItem2);
     this.btnCancelarItem.SuperTip = superToolTip2;
     //
     // btnConsultar
     //
     this.btnConsultar.Caption      = "Consultar";
     this.btnConsultar.Glyph        = global::WinFormsApp.Properties.Resources.Action_Search;
     this.btnConsultar.Id           = 3;
     this.btnConsultar.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F3);
     this.btnConsultar.Name         = "btnConsultar";
     toolTipTitleItem3.Text         = "Consultar (F3)";
     superToolTip3.Items.Add(toolTipTitleItem3);
     this.btnConsultar.SuperTip = superToolTip3;
     //
     // btnCerrar
     //
     this.btnCerrar.Alignment    = DevExpress.XtraBars.BarItemLinkAlignment.Right;
     this.btnCerrar.Caption      = "Salir";
     this.btnCerrar.Glyph        = global::WinFormsApp.Properties.Resources.Action_Close;
     this.btnCerrar.Id           = 4;
     this.btnCerrar.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S));
     this.btnCerrar.Name         = "btnCerrar";
     toolTipTitleItem4.Text      = "Salir de la venta";
     superToolTip4.Items.Add(toolTipTitleItem4);
     this.btnCerrar.SuperTip = superToolTip4;
     //
     // 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(1075, 31);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 477);
     this.barDockControlBottom.Size             = new System.Drawing.Size(1075, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(0, 31);
     this.barDockControlLeft.Size             = new System.Drawing.Size(0, 446);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(1075, 31);
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 446);
     //
     // gcDetalleImp
     //
     this.gcDetalleImp.Cursor   = System.Windows.Forms.Cursors.Default;
     this.gcDetalleImp.Location = new System.Drawing.Point(13, 253);
     this.gcDetalleImp.MainView = this.gvDetalleImp;
     this.gcDetalleImp.Name     = "gcDetalleImp";
     this.gcDetalleImp.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.riCantidadaimportar,
         this.riCantidadrequerida,
         this.riCantidadimportada,
         this.riSaldoaimportar,
         this.riItemseleccionado,
         this.riCalcularItem
     });
     this.gcDetalleImp.Size     = new System.Drawing.Size(1051, 217);
     this.gcDetalleImp.TabIndex = 12;
     this.gcDetalleImp.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gvDetalleImp
     });
     //
     // gvDetalleImp
     //
     this.gvDetalleImp.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn23,
         this.gridColumn1,
         this.gridColumn3,
         this.gridColumn20,
         this.gridColumn21,
         this.gridColumn9,
         this.gridColumn24,
         this.gridColumn4,
         this.gridColumn2,
         this.gridColumn5,
         this.gridColumn6,
         this.gcCalcularItem,
         this.gridColumn10
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Column     = this.gcCalcularItem;
     gridFormatRule1.Name       = "FormatCalcularItem";
     formatConditionRuleExpression1.Appearance.Font                 = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Italic);
     formatConditionRuleExpression1.Appearance.ForeColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression1.Appearance.Options.UseFont      = true;
     formatConditionRuleExpression1.Appearance.Options.UseForeColor = true;
     formatConditionRuleExpression1.Expression = "[Calcularitem] == false";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.gvDetalleImp.FormatRules.Add(gridFormatRule1);
     this.gvDetalleImp.GridControl = this.gcDetalleImp;
     this.gvDetalleImp.Name        = "gvDetalleImp";
     this.gvDetalleImp.OptionsBehavior.AllowAddRows     = DevExpress.Utils.DefaultBoolean.False;
     this.gvDetalleImp.OptionsBehavior.AllowDeleteRows  = DevExpress.Utils.DefaultBoolean.False;
     this.gvDetalleImp.OptionsCustomization.AllowFilter = false;
     this.gvDetalleImp.OptionsCustomization.AllowGroup  = false;
     this.gvDetalleImp.OptionsCustomization.AllowSort   = false;
     this.gvDetalleImp.OptionsMenu.EnableColumnMenu     = false;
     this.gvDetalleImp.OptionsSelection.ShowCheckBoxSelectorInColumnHeader = DevExpress.Utils.DefaultBoolean.True;
     this.gvDetalleImp.OptionsView.ColumnAutoWidth     = false;
     this.gvDetalleImp.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
     this.gvDetalleImp.OptionsView.ShowGroupPanel      = false;
     this.gvDetalleImp.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gvDetalleImp_CellValueChanged);
     //
     // gridColumn23
     //
     this.gridColumn23.Caption   = "Id.";
     this.gridColumn23.FieldName = "Identradaalmacendet";
     this.gridColumn23.Name      = "gridColumn23";
     this.gridColumn23.Width     = 43;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption   = "N°";
     this.gridColumn1.FieldName = "Numeroitem";
     this.gridColumn1.Name      = "gridColumn1";
     this.gridColumn1.OptionsColumn.ReadOnly = true;
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn1.Width        = 35;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption   = "Código";
     this.gridColumn3.FieldName = "Codigoarticulo";
     this.gridColumn3.Name      = "gridColumn3";
     this.gridColumn3.OptionsColumn.ReadOnly = true;
     this.gridColumn3.Visible      = true;
     this.gridColumn3.VisibleIndex = 1;
     this.gridColumn3.Width        = 52;
     //
     // gridColumn20
     //
     this.gridColumn20.Caption      = "Cod. Proveedor";
     this.gridColumn20.FieldName    = "Codigoproveedor";
     this.gridColumn20.Name         = "gridColumn20";
     this.gridColumn20.Visible      = true;
     this.gridColumn20.VisibleIndex = 2;
     this.gridColumn20.Width        = 87;
     //
     // gridColumn21
     //
     this.gridColumn21.Caption   = "Artículo";
     this.gridColumn21.FieldName = "Nombrearticulo";
     this.gridColumn21.Name      = "gridColumn21";
     this.gridColumn21.OptionsColumn.ReadOnly = true;
     this.gridColumn21.Visible      = true;
     this.gridColumn21.VisibleIndex = 3;
     this.gridColumn21.Width        = 52;
     //
     // gridColumn9
     //
     this.gridColumn9.Caption      = "Marca";
     this.gridColumn9.FieldName    = "Nombremarca";
     this.gridColumn9.Name         = "gridColumn9";
     this.gridColumn9.Visible      = true;
     this.gridColumn9.VisibleIndex = 4;
     //
     // gridColumn24
     //
     this.gridColumn24.Caption                = "Cant. Req.";
     this.gridColumn24.ColumnEdit             = this.riCantidadrequerida;
     this.gridColumn24.FieldName              = "Cantidad";
     this.gridColumn24.Name                   = "gridColumn24";
     this.gridColumn24.OptionsColumn.ReadOnly = true;
     this.gridColumn24.Visible                = true;
     this.gridColumn24.VisibleIndex           = 6;
     this.gridColumn24.Width                  = 73;
     //
     // riCantidadrequerida
     //
     this.riCantidadrequerida.AutoHeight    = false;
     this.riCantidadrequerida.Mask.EditMask = "n4";
     this.riCantidadrequerida.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.riCantidadrequerida.Mask.UseMaskAsDisplayFormat = true;
     this.riCantidadrequerida.Name = "riCantidadrequerida";
     //
     // gridColumn4
     //
     this.gridColumn4.Caption   = "Unidad.";
     this.gridColumn4.FieldName = "Abrunidadmedida";
     this.gridColumn4.Name      = "gridColumn4";
     this.gridColumn4.OptionsColumn.ReadOnly = true;
     this.gridColumn4.Visible      = true;
     this.gridColumn4.VisibleIndex = 7;
     this.gridColumn4.Width        = 51;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption                = "Cant. Importada";
     this.gridColumn2.ColumnEdit             = this.riCantidadimportada;
     this.gridColumn2.FieldName              = "Cantidadimportada";
     this.gridColumn2.Name                   = "gridColumn2";
     this.gridColumn2.OptionsColumn.ReadOnly = true;
     this.gridColumn2.Visible                = true;
     this.gridColumn2.VisibleIndex           = 8;
     this.gridColumn2.Width                  = 89;
     //
     // riCantidadimportada
     //
     this.riCantidadimportada.AutoHeight    = false;
     this.riCantidadimportada.Mask.EditMask = "n4";
     this.riCantidadimportada.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.riCantidadimportada.Mask.UseMaskAsDisplayFormat = true;
     this.riCantidadimportada.Name = "riCantidadimportada";
     //
     // gridColumn5
     //
     this.gridColumn5.Caption                = "Saldo x Importar";
     this.gridColumn5.ColumnEdit             = this.riSaldoaimportar;
     this.gridColumn5.FieldName              = "Saldoaimportar";
     this.gridColumn5.Name                   = "gridColumn5";
     this.gridColumn5.OptionsColumn.ReadOnly = true;
     this.gridColumn5.Visible                = true;
     this.gridColumn5.VisibleIndex           = 9;
     this.gridColumn5.Width                  = 92;
     //
     // riSaldoaimportar
     //
     this.riSaldoaimportar.AutoHeight    = false;
     this.riSaldoaimportar.Mask.EditMask = "n4";
     this.riSaldoaimportar.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.riSaldoaimportar.Mask.UseMaskAsDisplayFormat = true;
     this.riSaldoaimportar.Name = "riSaldoaimportar";
     //
     // gridColumn6
     //
     this.gridColumn6.Caption      = "Cant. a Importar";
     this.gridColumn6.ColumnEdit   = this.riCantidadaimportar;
     this.gridColumn6.FieldName    = "Cantidadaimportar";
     this.gridColumn6.Name         = "gridColumn6";
     this.gridColumn6.Visible      = true;
     this.gridColumn6.VisibleIndex = 10;
     this.gridColumn6.Width        = 90;
     //
     // riCantidadaimportar
     //
     this.riCantidadaimportar.AutoHeight    = false;
     this.riCantidadaimportar.Mask.EditMask = "n4";
     this.riCantidadaimportar.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.riCantidadaimportar.Mask.UseMaskAsDisplayFormat = true;
     this.riCantidadaimportar.Name = "riCantidadaimportar";
     //
     // gridColumn10
     //
     this.gridColumn10.Caption      = "Seleccionar";
     this.gridColumn10.ColumnEdit   = this.riItemseleccionado;
     this.gridColumn10.FieldName    = "Itemseleccionado";
     this.gridColumn10.Name         = "gridColumn10";
     this.gridColumn10.Visible      = true;
     this.gridColumn10.VisibleIndex = 11;
     this.gridColumn10.Width        = 132;
     //
     // riItemseleccionado
     //
     this.riItemseleccionado.AutoHeight        = false;
     this.riItemseleccionado.Name              = "riItemseleccionado";
     this.riItemseleccionado.EditValueChanged += new System.EventHandler(this.riItemseleccionado_EditValueChanged);
     //
     // chkSeleccionarTodo
     //
     this.chkSeleccionarTodo.Location           = new System.Drawing.Point(962, 231);
     this.chkSeleccionarTodo.MenuManager        = this.bmMntItems;
     this.chkSeleccionarTodo.Name               = "chkSeleccionarTodo";
     this.chkSeleccionarTodo.Properties.Caption = "Seleccionar todo";
     this.chkSeleccionarTodo.Size               = new System.Drawing.Size(101, 19);
     this.chkSeleccionarTodo.TabIndex           = 13;
     this.chkSeleccionarTodo.CheckedChanged    += new System.EventHandler(this.checkEdit1_CheckedChanged);
     //
     // gcConsulta
     //
     this.gcConsulta.Cursor   = System.Windows.Forms.Cursors.Default;
     this.gcConsulta.Location = new System.Drawing.Point(12, 62);
     this.gcConsulta.MainView = this.gvConsulta;
     this.gcConsulta.Name     = "gcConsulta";
     this.gcConsulta.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.riNumerico2
     });
     this.gcConsulta.Size     = new System.Drawing.Size(1051, 166);
     this.gcConsulta.TabIndex = 18;
     this.gcConsulta.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gvConsulta
     });
     //
     // gvConsulta
     //
     this.gvConsulta.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn11,
         this.gridColumn26,
         this.gridColumn12,
         this.gridColumn13,
         this.gridColumn14,
         this.gridColumn15,
         this.gridColumn16,
         this.gridColumn17,
         this.gridColumn22,
         this.gridColumn18
     });
     this.gvConsulta.FocusRectStyle       = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gvConsulta.GridControl          = this.gcConsulta;
     this.gvConsulta.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gvConsulta.Name = "gvConsulta";
     this.gvConsulta.OptionsBehavior.AllowAddRows    = DevExpress.Utils.DefaultBoolean.True;
     this.gvConsulta.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.True;
     this.gvConsulta.OptionsBehavior.ReadOnly        = true;
     this.gvConsulta.OptionsCustomization.AllowGroup = false;
     this.gvConsulta.OptionsView.ColumnAutoWidth     = false;
     this.gvConsulta.OptionsView.ShowGroupPanel      = false;
     this.gvConsulta.OptionsView.ShowViewCaption     = true;
     this.gvConsulta.VertScrollVisibility            = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gvConsulta.ViewCaption        = "Entradas de almacén de proveedor para devolución";
     this.gvConsulta.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gvConsulta_FocusedRowChanged);
     //
     // gridColumn11
     //
     this.gridColumn11.Caption   = "Id.";
     this.gridColumn11.FieldName = "Idcpcompra";
     this.gridColumn11.Name      = "gridColumn11";
     this.gridColumn11.Width     = 67;
     //
     // gridColumn26
     //
     this.gridColumn26.Caption      = "Operación";
     this.gridColumn26.FieldName    = "Nombrecptooperacion";
     this.gridColumn26.Name         = "gridColumn26";
     this.gridColumn26.Visible      = true;
     this.gridColumn26.VisibleIndex = 0;
     this.gridColumn26.Width        = 146;
     //
     // gridColumn12
     //
     this.gridColumn12.Caption      = "Tipo";
     this.gridColumn12.FieldName    = "Nombretipoformato";
     this.gridColumn12.Name         = "gridColumn12";
     this.gridColumn12.Visible      = true;
     this.gridColumn12.VisibleIndex = 1;
     this.gridColumn12.Width        = 113;
     //
     // gridColumn13
     //
     this.gridColumn13.Caption      = "Serie";
     this.gridColumn13.FieldName    = "Serieentradaalmacen";
     this.gridColumn13.Name         = "gridColumn13";
     this.gridColumn13.Visible      = true;
     this.gridColumn13.VisibleIndex = 2;
     this.gridColumn13.Width        = 41;
     //
     // gridColumn14
     //
     this.gridColumn14.Caption      = "N° Documento";
     this.gridColumn14.FieldName    = "Numeroentradaalmacen";
     this.gridColumn14.Name         = "gridColumn14";
     this.gridColumn14.Visible      = true;
     this.gridColumn14.VisibleIndex = 3;
     this.gridColumn14.Width        = 94;
     //
     // gridColumn15
     //
     this.gridColumn15.Caption      = "Fecha";
     this.gridColumn15.FieldName    = "Fechaentrada";
     this.gridColumn15.Name         = "gridColumn15";
     this.gridColumn15.Visible      = true;
     this.gridColumn15.VisibleIndex = 4;
     //
     // gridColumn16
     //
     this.gridColumn16.Caption      = "Proveedor";
     this.gridColumn16.FieldName    = "Razonsocial";
     this.gridColumn16.Name         = "gridColumn16";
     this.gridColumn16.Visible      = true;
     this.gridColumn16.VisibleIndex = 5;
     this.gridColumn16.Width        = 283;
     //
     // gridColumn17
     //
     this.gridColumn17.Caption      = "Moneda";
     this.gridColumn17.FieldName    = "Simbolomoneda";
     this.gridColumn17.Name         = "gridColumn17";
     this.gridColumn17.Visible      = true;
     this.gridColumn17.VisibleIndex = 6;
     this.gridColumn17.Width        = 46;
     //
     // gridColumn22
     //
     this.gridColumn22.Caption      = "Total";
     this.gridColumn22.ColumnEdit   = this.riNumerico2;
     this.gridColumn22.FieldName    = "Totaldocumento";
     this.gridColumn22.Name         = "gridColumn22";
     this.gridColumn22.Visible      = true;
     this.gridColumn22.VisibleIndex = 7;
     this.gridColumn22.Width        = 79;
     //
     // riNumerico2
     //
     this.riNumerico2.AutoHeight = false;
     this.riNumerico2.DisplayFormat.FormatString = "n2";
     this.riNumerico2.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.riNumerico2.EditFormat.FormatString    = "n2";
     this.riNumerico2.EditFormat.FormatType      = DevExpress.Utils.FormatType.Numeric;
     this.riNumerico2.Mask.EditMask = "n2";
     this.riNumerico2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.riNumerico2.Mask.UseMaskAsDisplayFormat = true;
     this.riNumerico2.Name = "riNumerico2";
     //
     // gridColumn18
     //
     this.gridColumn18.Caption      = "Impuesto Items";
     this.gridColumn18.FieldName    = "Incluyeimpuestoitems";
     this.gridColumn18.Name         = "gridColumn18";
     this.gridColumn18.Visible      = true;
     this.gridColumn18.VisibleIndex = 8;
     this.gridColumn18.Width        = 83;
     //
     // iIdsucursal
     //
     this.iIdsucursal.Location = new System.Drawing.Point(108, 37);
     this.iIdsucursal.Name     = "iIdsucursal";
     this.iIdsucursal.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.iIdsucursal.Properties.PopupFormSize = new System.Drawing.Size(500, 0);
     this.iIdsucursal.Properties.View          = this.gridView8;
     this.iIdsucursal.Size     = new System.Drawing.Size(187, 20);
     this.iIdsucursal.TabIndex = 61;
     this.iIdsucursal.TabStop  = false;
     //
     // gridView8
     //
     this.gridView8.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn39,
         this.gridColumn40,
         this.gridColumn41
     });
     this.gridView8.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView8.Name           = "gridView8";
     this.gridView8.OptionsSelection.EnableAppearanceFocusedCell = false;
     this.gridView8.OptionsView.ShowGroupPanel = false;
     //
     // gridColumn39
     //
     this.gridColumn39.Caption   = "Id.";
     this.gridColumn39.FieldName = "Idsucursal";
     this.gridColumn39.Name      = "gridColumn39";
     //
     // gridColumn40
     //
     this.gridColumn40.Caption      = "Código";
     this.gridColumn40.FieldName    = "Codigosucursal";
     this.gridColumn40.Name         = "gridColumn40";
     this.gridColumn40.Visible      = true;
     this.gridColumn40.VisibleIndex = 0;
     //
     // gridColumn41
     //
     this.gridColumn41.Caption      = "Sucursal";
     this.gridColumn41.FieldName    = "Nombresucursal";
     this.gridColumn41.Name         = "gridColumn41";
     this.gridColumn41.Visible      = true;
     this.gridColumn41.VisibleIndex = 1;
     //
     // labelControl26
     //
     this.labelControl26.Location = new System.Drawing.Point(12, 40);
     this.labelControl26.Name     = "labelControl26";
     this.labelControl26.Size     = new System.Drawing.Size(90, 13);
     this.labelControl26.TabIndex = 62;
     this.labelControl26.Text     = "Filtrar por Sucursal";
     //
     // beSocioNegocio
     //
     this.beSocioNegocio.EditValue           = "";
     this.beSocioNegocio.Location            = new System.Drawing.Point(385, 36);
     this.beSocioNegocio.Name                = "beSocioNegocio";
     this.beSocioNegocio.Properties.ReadOnly = true;
     this.beSocioNegocio.Size                = new System.Drawing.Size(474, 20);
     this.beSocioNegocio.TabIndex            = 68;
     this.beSocioNegocio.TabStop             = false;
     this.beSocioNegocio.Tag = "";
     //
     // labelControl17
     //
     this.labelControl17.Location = new System.Drawing.Point(299, 40);
     this.labelControl17.Name     = "labelControl17";
     this.labelControl17.Size     = new System.Drawing.Size(80, 13);
     this.labelControl17.TabIndex = 67;
     this.labelControl17.Text     = "Socio de negocio";
     //
     // GuiaRemisionMntImpEntradaAlmacenFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1075, 477);
     this.Controls.Add(this.beSocioNegocio);
     this.Controls.Add(this.labelControl17);
     this.Controls.Add(this.iIdsucursal);
     this.Controls.Add(this.labelControl26);
     this.Controls.Add(this.gcConsulta);
     this.Controls.Add(this.chkSeleccionarTodo);
     this.Controls.Add(this.gcDetalleImp);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "GuiaRemisionMntImpEntradaAlmacenFrm";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Importar entrada de almacen";
     this.Load           += new System.EventHandler(this.GuiaRemisionMntImpEntradaAlmacenFrm_Load);
     this.KeyPress       += new System.Windows.Forms.KeyPressEventHandler(this.GuiaRemisionMntImpEntradaAlmacenFrm_KeyPress);
     ((System.ComponentModel.ISupportInitialize)(this.riCalcularItem)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bmMntItems)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcDetalleImp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvDetalleImp)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.riCantidadrequerida)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.riCantidadimportada)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.riSaldoaimportar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.riCantidadaimportar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.riItemseleccionado)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chkSeleccionarTodo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcConsulta)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gvConsulta)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.riNumerico2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.iIdsucursal.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.beSocioNegocio.Properties)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #26
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.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.gridControl1        = new DevExpress.XtraGrid.GridControl();
     this.gridView1           = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnName      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnPlatform  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnActive    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.Size     = new System.Drawing.Size(706, 675);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumnName,
         this.gridColumnPlatform,
         this.gridColumnActive
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Format0";
     formatConditionRuleExpression1.Appearance.Font            = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     formatConditionRuleExpression1.Appearance.Options.UseFont = true;
     formatConditionRuleExpression1.Expression     = "[Active] = True";
     formatConditionRuleExpression1.PredefinedName = "Bold Text";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.gridView1.FormatRules.Add(gridFormatRule1);
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsBehavior.Editable = false;
     this.gridView1.OptionsCustomization.AllowColumnMoving   = false;
     this.gridView1.OptionsCustomization.AllowColumnResizing = false;
     this.gridView1.OptionsCustomization.AllowGroup          = false;
     this.gridView1.OptionsFilter.AllowFilterEditor          = false;
     this.gridView1.OptionsMenu.EnableColumnMenu             = false;
     this.gridView1.OptionsMenu.EnableFooterMenu             = false;
     this.gridView1.OptionsMenu.EnableGroupPanelMenu         = false;
     this.gridView1.OptionsView.ShowAutoFilterRow            = true;
     this.gridView1.OptionsView.ShowGroupPanel = false;
     //
     // gridColumnName
     //
     this.gridColumnName.Caption   = "Name";
     this.gridColumnName.FieldName = "Name";
     this.gridColumnName.MinWidth  = 30;
     this.gridColumnName.Name      = "gridColumnName";
     this.gridColumnName.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.gridColumnName.Visible      = true;
     this.gridColumnName.VisibleIndex = 0;
     this.gridColumnName.Width        = 112;
     //
     // gridColumnPlatform
     //
     this.gridColumnPlatform.Caption      = "Platform Name";
     this.gridColumnPlatform.FieldName    = "PlatformName";
     this.gridColumnPlatform.MinWidth     = 30;
     this.gridColumnPlatform.Name         = "gridColumnPlatform";
     this.gridColumnPlatform.Visible      = true;
     this.gridColumnPlatform.VisibleIndex = 1;
     this.gridColumnPlatform.Width        = 112;
     //
     // gridColumnActive
     //
     this.gridColumnActive.Caption   = "Active";
     this.gridColumnActive.FieldName = "Active";
     this.gridColumnActive.MinWidth  = 30;
     this.gridColumnActive.Name      = "gridColumnActive";
     this.gridColumnActive.Width     = 112;
     //
     // defaultLookAndFeel1
     //
     this.defaultLookAndFeel1.LookAndFeel.SkinName = "Visual Studio 2013 Dark";
     //
     // SolutionConfigurationToolWindowControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.gridControl1);
     this.Name = "SolutionConfigurationToolWindowControl";
     this.Size = new System.Drawing.Size(706, 675);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #27
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(XFrmMovimentoCompetencia));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule3 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression3 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.colTipo                     = new DevExpress.XtraGrid.Columns.GridColumn();
     this.barManager1                 = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1                        = new DevExpress.XtraBars.Bar();
     this.barBtnLancarEvento          = new DevExpress.XtraBars.BarButtonItem();
     this.barBtnRemoveEvento          = new DevExpress.XtraBars.BarButtonItem();
     this.btnSalvar                   = new DevExpress.XtraBars.BarButtonItem();
     this.barBtnRecalculoFolha        = new DevExpress.XtraBars.BarButtonItem();
     this.barBtnCancelar              = new DevExpress.XtraBars.BarButtonItem();
     this.bar3                        = new DevExpress.XtraBars.Bar();
     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.groupControlComp            = new DevExpress.XtraEditors.GroupControl();
     this.lblTotalFolha               = new DevExpress.XtraEditors.LabelControl();
     this.labelControl5               = new DevExpress.XtraEditors.LabelControl();
     this.lbCompSelect                = new DevExpress.XtraEditors.LabelControl();
     this.labelControl1               = new DevExpress.XtraEditors.LabelControl();
     this.splitContainerControl2      = new DevExpress.XtraEditors.SplitContainerControl();
     this.splitContainerControl1      = new DevExpress.XtraEditors.SplitContainerControl();
     this.groupControlFuncs           = new DevExpress.XtraEditors.GroupControl();
     this.lstFuncionarios             = new DevExpress.XtraEditors.ListBoxControl();
     this.tableLayoutPanel1           = new System.Windows.Forms.TableLayoutPanel();
     this.groupControl1               = new DevExpress.XtraEditors.GroupControl();
     this.lbTotalLiquido              = new DevExpress.XtraEditors.LabelControl();
     this.lbTotalDescontos            = new DevExpress.XtraEditors.LabelControl();
     this.lbTotalBruto                = new DevExpress.XtraEditors.LabelControl();
     this.labelControl4               = new DevExpress.XtraEditors.LabelControl();
     this.labelControl3               = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2               = new DevExpress.XtraEditors.LabelControl();
     this.groupControlFicFin          = new DevExpress.XtraEditors.GroupControl();
     this.gridControlFichaFinanceira  = new DevExpress.XtraGrid.GridControl();
     this.gridViewFichaFinanceira     = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colIdEvento                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEvento                   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colQuantidade               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colValorMovimento           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.bsFichaFinaceiraFuncionario = new System.Windows.Forms.BindingSource(this.components);
     this.bsFuncionarioCompetencia    = new System.Windows.Forms.BindingSource(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlComp)).BeginInit();
     this.groupControlComp.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
     this.splitContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlFuncs)).BeginInit();
     this.groupControlFuncs.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.lstFuncionarios)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlFicFin)).BeginInit();
     this.groupControlFicFin.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlFichaFinanceira)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewFichaFinanceira)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bsFichaFinaceiraFuncionario)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bsFuncionarioCompetencia)).BeginInit();
     this.SuspendLayout();
     //
     // colTipo
     //
     this.colTipo.Caption   = "Tipo";
     this.colTipo.FieldName = "Evento.TipoEvento";
     this.colTipo.Name      = "colTipo";
     this.colTipo.OptionsColumn.AllowEdit = false;
     this.colTipo.Visible      = true;
     this.colTipo.VisibleIndex = 4;
     this.colTipo.Width        = 115;
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.bar1,
         this.bar3
     });
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.barBtnLancarEvento,
         this.barBtnRemoveEvento,
         this.barBtnRecalculoFolha,
         this.btnSalvar,
         this.barBtnCancelar
     });
     this.barManager1.MaxItemId = 8;
     this.barManager1.StatusBar = this.bar3;
     //
     // bar1
     //
     this.bar1.BarName   = "Tools";
     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.barBtnLancarEvento),
         new DevExpress.XtraBars.LinkPersistInfo(this.barBtnRemoveEvento),
         new DevExpress.XtraBars.LinkPersistInfo(this.btnSalvar),
         new DevExpress.XtraBars.LinkPersistInfo(this.barBtnRecalculoFolha),
         new DevExpress.XtraBars.LinkPersistInfo(this.barBtnCancelar)
     });
     this.bar1.OptionsBar.DisableCustomization = true;
     this.bar1.OptionsBar.DrawBorder           = false;
     this.bar1.OptionsBar.DrawDragBorder       = false;
     this.bar1.Text = "Tools";
     //
     // barBtnLancarEvento
     //
     this.barBtnLancarEvento.Caption    = "Lançar evento";
     this.barBtnLancarEvento.Glyph      = ((System.Drawing.Image)(resources.GetObject("barBtnLancarEvento.Glyph")));
     this.barBtnLancarEvento.Id         = 0;
     this.barBtnLancarEvento.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barBtnLancarEvento.LargeGlyph")));
     this.barBtnLancarEvento.Name       = "barBtnLancarEvento";
     this.barBtnLancarEvento.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.barBtnLancarEvento.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnLancarEvento_ItemClick);
     //
     // barBtnRemoveEvento
     //
     this.barBtnRemoveEvento.Caption    = "Remover Evento";
     this.barBtnRemoveEvento.Glyph      = ((System.Drawing.Image)(resources.GetObject("barBtnRemoveEvento.Glyph")));
     this.barBtnRemoveEvento.Id         = 1;
     this.barBtnRemoveEvento.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barBtnRemoveEvento.LargeGlyph")));
     this.barBtnRemoveEvento.Name       = "barBtnRemoveEvento";
     this.barBtnRemoveEvento.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.barBtnRemoveEvento.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnRemoveEvento_ItemClick);
     //
     // btnSalvar
     //
     this.btnSalvar.Caption    = "Salvar alterações";
     this.btnSalvar.Glyph      = ((System.Drawing.Image)(resources.GetObject("btnSalvar.Glyph")));
     this.btnSalvar.Id         = 5;
     this.btnSalvar.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnSalvar.LargeGlyph")));
     this.btnSalvar.Name       = "btnSalvar";
     this.btnSalvar.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.btnSalvar.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnSalvar_ItemClick);
     //
     // barBtnRecalculoFolha
     //
     this.barBtnRecalculoFolha.Caption    = "Recálculo da folha";
     this.barBtnRecalculoFolha.Glyph      = ((System.Drawing.Image)(resources.GetObject("barBtnRecalculoFolha.Glyph")));
     this.barBtnRecalculoFolha.Id         = 4;
     this.barBtnRecalculoFolha.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barBtnRecalculoFolha.LargeGlyph")));
     this.barBtnRecalculoFolha.Name       = "barBtnRecalculoFolha";
     this.barBtnRecalculoFolha.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.barBtnRecalculoFolha.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     //
     // barBtnCancelar
     //
     this.barBtnCancelar.Caption    = "Cancelar";
     this.barBtnCancelar.Glyph      = ((System.Drawing.Image)(resources.GetObject("barBtnCancelar.Glyph")));
     this.barBtnCancelar.Id         = 7;
     this.barBtnCancelar.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barBtnCancelar.LargeGlyph")));
     this.barBtnCancelar.Name       = "barBtnCancelar";
     this.barBtnCancelar.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.barBtnCancelar.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBtnCancelar_ItemClick);
     //
     // bar3
     //
     this.bar3.BarName      = "Status bar";
     this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
     this.bar3.DockCol      = 0;
     this.bar3.DockRow      = 0;
     this.bar3.DockStyle    = DevExpress.XtraBars.BarDockStyle.Bottom;
     this.bar3.OptionsBar.AllowQuickCustomization = false;
     this.bar3.OptionsBar.DrawDragBorder          = false;
     this.bar3.OptionsBar.UseWholeRow             = true;
     this.bar3.Text = "Status bar";
     //
     // 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(994, 31);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 438);
     this.barDockControlBottom.Size             = new System.Drawing.Size(994, 23);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(0, 31);
     this.barDockControlLeft.Size             = new System.Drawing.Size(0, 407);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(994, 31);
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 407);
     //
     // groupControlComp
     //
     this.groupControlComp.AppearanceCaption.Font            = new System.Drawing.Font("Tahoma", 9F);
     this.groupControlComp.AppearanceCaption.Options.UseFont = true;
     this.groupControlComp.Controls.Add(this.lblTotalFolha);
     this.groupControlComp.Controls.Add(this.labelControl5);
     this.groupControlComp.Controls.Add(this.lbCompSelect);
     this.groupControlComp.Controls.Add(this.labelControl1);
     this.groupControlComp.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControlComp.Location = new System.Drawing.Point(0, 0);
     this.groupControlComp.Name     = "groupControlComp";
     this.groupControlComp.Size     = new System.Drawing.Size(994, 59);
     this.groupControlComp.TabIndex = 5;
     this.groupControlComp.Text     = "Competência:";
     //
     // lblTotalFolha
     //
     this.lblTotalFolha.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.lblTotalFolha.Location        = new System.Drawing.Point(633, 32);
     this.lblTotalFolha.Name            = "lblTotalFolha";
     this.lblTotalFolha.Size            = new System.Drawing.Size(20, 14);
     this.lblTotalFolha.TabIndex        = 3;
     this.lblTotalFolha.Text            = "0,0";
     //
     // labelControl5
     //
     this.labelControl5.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.labelControl5.Location        = new System.Drawing.Point(509, 32);
     this.labelControl5.Name            = "labelControl5";
     this.labelControl5.Size            = new System.Drawing.Size(118, 14);
     this.labelControl5.TabIndex        = 2;
     this.labelControl5.Text            = "Total Salarial Folha:";
     //
     // lbCompSelect
     //
     this.lbCompSelect.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbCompSelect.Location        = new System.Drawing.Point(183, 32);
     this.lbCompSelect.Name            = "lbCompSelect";
     this.lbCompSelect.Size            = new System.Drawing.Size(14, 14);
     this.lbCompSelect.TabIndex        = 1;
     this.lbCompSelect.Text            = "%";
     //
     // labelControl1
     //
     this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.labelControl1.Location        = new System.Drawing.Point(11, 32);
     this.labelControl1.Name            = "labelControl1";
     this.labelControl1.Size            = new System.Drawing.Size(159, 14);
     this.labelControl1.TabIndex        = 0;
     this.labelControl1.Text            = "Competência Selecionada:";
     //
     // splitContainerControl2
     //
     this.splitContainerControl2.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl2.Horizontal = false;
     this.splitContainerControl2.Location   = new System.Drawing.Point(0, 31);
     this.splitContainerControl2.Name       = "splitContainerControl2";
     this.splitContainerControl2.Panel1.Controls.Add(this.groupControlComp);
     this.splitContainerControl2.Panel1.Text = "Panel1";
     this.splitContainerControl2.Panel2.Controls.Add(this.splitContainerControl1);
     this.splitContainerControl2.Panel2.Text      = "Panel2";
     this.splitContainerControl2.Size             = new System.Drawing.Size(994, 407);
     this.splitContainerControl2.SplitterPosition = 59;
     this.splitContainerControl2.TabIndex         = 7;
     this.splitContainerControl2.Text             = "splitContainerControl2";
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 0);
     this.splitContainerControl1.Name     = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.groupControlFuncs);
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Controls.Add(this.tableLayoutPanel1);
     this.splitContainerControl1.Panel2.Text      = "Panel2";
     this.splitContainerControl1.Size             = new System.Drawing.Size(994, 343);
     this.splitContainerControl1.SplitterPosition = 415;
     this.splitContainerControl1.TabIndex         = 7;
     this.splitContainerControl1.Text             = "splitContainerControl1";
     //
     // groupControlFuncs
     //
     this.groupControlFuncs.AppearanceCaption.Font            = new System.Drawing.Font("Tahoma", 9F);
     this.groupControlFuncs.AppearanceCaption.Options.UseFont = true;
     this.groupControlFuncs.Controls.Add(this.lstFuncionarios);
     this.groupControlFuncs.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupControlFuncs.Location = new System.Drawing.Point(0, 0);
     this.groupControlFuncs.Name     = "groupControlFuncs";
     this.groupControlFuncs.Size     = new System.Drawing.Size(415, 343);
     this.groupControlFuncs.TabIndex = 0;
     this.groupControlFuncs.Text     = "Funcionários";
     //
     // lstFuncionarios
     //
     this.lstFuncionarios.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.lstFuncionarios.Location              = new System.Drawing.Point(2, 21);
     this.lstFuncionarios.Name                  = "lstFuncionarios";
     this.lstFuncionarios.Size                  = new System.Drawing.Size(411, 320);
     this.lstFuncionarios.TabIndex              = 0;
     this.lstFuncionarios.SelectedIndexChanged += new System.EventHandler(this.lstFuncionarios_SelectedIndexChanged);
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 1;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.Controls.Add(this.groupControl1, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.groupControlFicFin, 0, 0);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Margin   = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 2;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 76.69617F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 23.30383F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(574, 343);
     this.tableLayoutPanel1.TabIndex = 3;
     //
     // groupControl1
     //
     this.groupControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                        | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.groupControl1.AppearanceCaption.Font            = new System.Drawing.Font("Tahoma", 9F);
     this.groupControl1.AppearanceCaption.Options.UseFont = true;
     this.groupControl1.Controls.Add(this.lbTotalLiquido);
     this.groupControl1.Controls.Add(this.lbTotalDescontos);
     this.groupControl1.Controls.Add(this.lbTotalBruto);
     this.groupControl1.Controls.Add(this.labelControl4);
     this.groupControl1.Controls.Add(this.labelControl3);
     this.groupControl1.Controls.Add(this.labelControl2);
     this.groupControl1.Location = new System.Drawing.Point(3, 266);
     this.groupControl1.Name     = "groupControl1";
     this.groupControl1.Size     = new System.Drawing.Size(568, 74);
     this.groupControl1.TabIndex = 2;
     this.groupControl1.Text     = "Totailizadores:";
     //
     // lbTotalLiquido
     //
     this.lbTotalLiquido.Appearance.Font = new System.Drawing.Font("Tahoma", 9F);
     this.lbTotalLiquido.Location        = new System.Drawing.Point(494, 37);
     this.lbTotalLiquido.Name            = "lbTotalLiquido";
     this.lbTotalLiquido.Size            = new System.Drawing.Size(70, 14);
     this.lbTotalLiquido.TabIndex        = 5;
     this.lbTotalLiquido.Text            = "%tot_liquido";
     //
     // lbTotalDescontos
     //
     this.lbTotalDescontos.Appearance.Font = new System.Drawing.Font("Tahoma", 9F);
     this.lbTotalDescontos.Location        = new System.Drawing.Point(286, 37);
     this.lbTotalDescontos.Name            = "lbTotalDescontos";
     this.lbTotalDescontos.Size            = new System.Drawing.Size(92, 14);
     this.lbTotalDescontos.TabIndex        = 4;
     this.lbTotalDescontos.Text            = "%tot_descontos";
     //
     // lbTotalBruto
     //
     this.lbTotalBruto.Appearance.Font = new System.Drawing.Font("Tahoma", 9F);
     this.lbTotalBruto.Location        = new System.Drawing.Point(87, 37);
     this.lbTotalBruto.Name            = "lbTotalBruto";
     this.lbTotalBruto.Size            = new System.Drawing.Size(66, 14);
     this.lbTotalBruto.TabIndex        = 3;
     this.lbTotalBruto.Text            = "%tot_bruto";
     //
     // labelControl4
     //
     this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.labelControl4.Location        = new System.Drawing.Point(402, 37);
     this.labelControl4.Name            = "labelControl4";
     this.labelControl4.Size            = new System.Drawing.Size(84, 14);
     this.labelControl4.TabIndex        = 2;
     this.labelControl4.Text            = "Total Líquido:";
     //
     // labelControl3
     //
     this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.labelControl3.Location        = new System.Drawing.Point(175, 37);
     this.labelControl3.Name            = "labelControl3";
     this.labelControl3.Size            = new System.Drawing.Size(103, 14);
     this.labelControl3.TabIndex        = 1;
     this.labelControl3.Text            = "Total Descontos:";
     //
     // labelControl2
     //
     this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
     this.labelControl2.Location        = new System.Drawing.Point(6, 37);
     this.labelControl2.Name            = "labelControl2";
     this.labelControl2.Size            = new System.Drawing.Size(74, 14);
     this.labelControl2.TabIndex        = 0;
     this.labelControl2.Text            = "Total Bruto:";
     //
     // groupControlFicFin
     //
     this.groupControlFicFin.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                             | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
     this.groupControlFicFin.AppearanceCaption.Font            = new System.Drawing.Font("Tahoma", 9F);
     this.groupControlFicFin.AppearanceCaption.Options.UseFont = true;
     this.groupControlFicFin.Controls.Add(this.gridControlFichaFinanceira);
     this.groupControlFicFin.Location = new System.Drawing.Point(3, 3);
     this.groupControlFicFin.Name     = "groupControlFicFin";
     this.groupControlFicFin.Size     = new System.Drawing.Size(568, 257);
     this.groupControlFicFin.TabIndex = 1;
     this.groupControlFicFin.Text     = "Ficha financeira";
     //
     // gridControlFichaFinanceira
     //
     this.gridControlFichaFinanceira.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.gridControlFichaFinanceira.Location    = new System.Drawing.Point(2, 21);
     this.gridControlFichaFinanceira.MainView    = this.gridViewFichaFinanceira;
     this.gridControlFichaFinanceira.MenuManager = this.barManager1;
     this.gridControlFichaFinanceira.Name        = "gridControlFichaFinanceira";
     this.gridControlFichaFinanceira.Size        = new System.Drawing.Size(564, 234);
     this.gridControlFichaFinanceira.TabIndex    = 1;
     this.gridControlFichaFinanceira.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridViewFichaFinanceira
     });
     //
     // gridViewFichaFinanceira
     //
     this.gridViewFichaFinanceira.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colIdEvento,
         this.colEvento,
         this.colQuantidade,
         this.colValorMovimento,
         this.colTipo
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Column     = this.colTipo;
     gridFormatRule1.Name       = "Proventos";
     formatConditionRuleExpression1.Appearance.ForeColor            = System.Drawing.Color.Blue;
     formatConditionRuleExpression1.Appearance.Options.UseForeColor = true;
     formatConditionRuleExpression1.Expression = "[Evento.TipoEvento] = \'Provento\'";
     gridFormatRule1.Rule       = formatConditionRuleExpression1;
     gridFormatRule2.ApplyToRow = true;
     gridFormatRule2.Name       = "Descontos";
     formatConditionRuleExpression2.Appearance.ForeColor            = System.Drawing.Color.Red;
     formatConditionRuleExpression2.Appearance.Options.UseForeColor = true;
     formatConditionRuleExpression2.Expression = "[Evento.TipoEvento] = \'Desconto\'";
     gridFormatRule2.Rule       = formatConditionRuleExpression2;
     gridFormatRule3.ApplyToRow = true;
     gridFormatRule3.Name       = "BaseCalculo";
     formatConditionRuleExpression3.Appearance.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
     formatConditionRuleExpression3.Appearance.Options.UseForeColor = true;
     formatConditionRuleExpression3.Expression = "[Evento.TipoEvento] = \'BaseCalculo\'";
     gridFormatRule3.Rule = formatConditionRuleExpression3;
     this.gridViewFichaFinanceira.FormatRules.Add(gridFormatRule1);
     this.gridViewFichaFinanceira.FormatRules.Add(gridFormatRule2);
     this.gridViewFichaFinanceira.FormatRules.Add(gridFormatRule3);
     this.gridViewFichaFinanceira.GridControl = this.gridControlFichaFinanceira;
     this.gridViewFichaFinanceira.Name        = "gridViewFichaFinanceira";
     this.gridViewFichaFinanceira.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.Click;
     this.gridViewFichaFinanceira.OptionsSelection.EnableAppearanceFocusedRow = false;
     this.gridViewFichaFinanceira.OptionsView.ShowGroupPanel = false;
     this.gridViewFichaFinanceira.KeyDown += new System.Windows.Forms.KeyEventHandler(this.gridViewFichaFinanceira_KeyDown);
     //
     // colIdEvento
     //
     this.colIdEvento.Caption   = "Código Evento";
     this.colIdEvento.FieldName = "Evento.CodigoEvento";
     this.colIdEvento.Name      = "colIdEvento";
     this.colIdEvento.OptionsColumn.AllowEdit = false;
     this.colIdEvento.Visible      = true;
     this.colIdEvento.VisibleIndex = 0;
     this.colIdEvento.Width        = 86;
     //
     // colEvento
     //
     this.colEvento.Caption   = "Descrição Evento";
     this.colEvento.FieldName = "Evento.DescricaoEvento";
     this.colEvento.Name      = "colEvento";
     this.colEvento.OptionsColumn.AllowEdit = false;
     this.colEvento.Visible      = true;
     this.colEvento.VisibleIndex = 1;
     this.colEvento.Width        = 200;
     //
     // colQuantidade
     //
     this.colQuantidade.Caption   = "Quantidade";
     this.colQuantidade.FieldName = "Quantidade";
     this.colQuantidade.Name      = "colQuantidade";
     this.colQuantidade.OptionsColumn.AllowEdit = false;
     this.colQuantidade.Visible      = true;
     this.colQuantidade.VisibleIndex = 2;
     this.colQuantidade.Width        = 85;
     //
     // colValorMovimento
     //
     this.colValorMovimento.DisplayFormat.FormatString = "N2";
     this.colValorMovimento.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.colValorMovimento.FieldName    = "ValorMovimento";
     this.colValorMovimento.Name         = "colValorMovimento";
     this.colValorMovimento.Visible      = true;
     this.colValorMovimento.VisibleIndex = 3;
     this.colValorMovimento.Width        = 98;
     //
     // bsFichaFinaceiraFuncionario
     //
     this.bsFichaFinaceiraFuncionario.DataSource = typeof(ITE.Entidades.POCO.RH.Folha.FichaFinanceiraFuncionario);
     //
     // bsFuncionarioCompetencia
     //
     this.bsFuncionarioCompetencia.DataSource = typeof(ITE.Entidades.POCO.RH.Folha.FuncionarioCompetencia);
     //
     // XFrmMovimentoCompetencia
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(994, 461);
     this.Controls.Add(this.splitContainerControl2);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.KeyPreview    = true;
     this.Name          = "XFrmMovimentoCompetencia";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Competências";
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlComp)).EndInit();
     this.groupControlComp.ResumeLayout(false);
     this.groupControlComp.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit();
     this.splitContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControlFuncs)).EndInit();
     this.groupControlFuncs.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.lstFuncionarios)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     this.groupControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControlFicFin)).EndInit();
     this.groupControlFicFin.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlFichaFinanceira)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewFichaFinanceira)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bsFichaFinaceiraFuncionario)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bsFuncionarioCompetencia)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #28
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.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     System.ComponentModel.ComponentResourceManager       resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     this.gridControl1             = new DevExpress.XtraGrid.GridControl();
     this.sqlInstanceBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.gridView1                    = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colHost                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colServerStatus              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colInstanceName              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colServiceName               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colServiceStatus             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colServerMemoryRunning       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colServerMemoryMax           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDatabasesSize             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colInfo                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colDescription               = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colAbleToConnect             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.buttonExit                   = new System.Windows.Forms.Button();
     this.buttonRefresh                = new System.Windows.Forms.Button();
     this.contextMenuStrip1            = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.toolStripMenuItemStart       = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItemStop        = new System.Windows.Forms.ToolStripMenuItem();
     this.connectSMSSToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.buttonSave                   = new System.Windows.Forms.Button();
     this.buttonLoad                   = new System.Windows.Forms.Button();
     this.buttonGetNetwork             = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.sqlInstanceBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.gridControl1.DataSource = this.sqlInstanceBindingSource;
     this.gridControl1.EmbeddedNavigator.TextLocation = DevExpress.XtraEditors.NavigatorButtonsTextLocation.End;
     this.gridControl1.Location             = new System.Drawing.Point(0, 0);
     this.gridControl1.MainView             = this.gridView1;
     this.gridControl1.Name                 = "gridControl1";
     this.gridControl1.Size                 = new System.Drawing.Size(890, 362);
     this.gridControl1.TabIndex             = 0;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     //
     // sqlInstanceBindingSource
     //
     this.sqlInstanceBindingSource.DataSource = typeof(SQLMaster.SqlInstance);
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colHost,
         this.colServerStatus,
         this.colInstanceName,
         this.colServiceName,
         this.colServiceStatus,
         this.colServerMemoryRunning,
         this.colServerMemoryMax,
         this.colDatabasesSize,
         this.colInfo,
         this.colDescription,
         this.colAbleToConnect
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Format0";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
     formatConditionRuleExpression1.Appearance.BackColor2           = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "Not [AbleToConnect]";
     gridFormatRule1.Rule       = formatConditionRuleExpression1;
     gridFormatRule2.ApplyToRow = true;
     gridFormatRule2.Name       = "Format1";
     formatConditionRuleExpression2.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
     formatConditionRuleExpression2.Appearance.BackColor2           = System.Drawing.Color.White;
     formatConditionRuleExpression2.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression2.Expression = "[AbleToConnect]";
     gridFormatRule2.Rule = formatConditionRuleExpression2;
     this.gridView1.FormatRules.Add(gridFormatRule1);
     this.gridView1.FormatRules.Add(gridFormatRule2);
     this.gridView1.GridControl          = this.gridControl1;
     this.gridView1.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsBehavior.EditorShowMode     = DevExpress.Utils.EditorShowMode.MouseDownFocused;
     this.gridView1.OptionsDetail.EnableMasterViewMode = false;
     this.gridView1.OptionsSelection.MultiSelectMode   = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
     this.gridView1.OptionsView.ColumnAutoWidth        = false;
     this.gridView1.OptionsView.ShowAutoFilterRow      = true;
     this.gridView1.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridView1.RowCellClick        += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gridView1_RowCellClick);
     this.gridView1.DoubleClick         += new System.EventHandler(this.gridView1_DoubleClick);
     //
     // colHost
     //
     this.colHost.FieldName = "Host.FQDN";
     this.colHost.Name      = "colHost";
     this.colHost.OptionsColumn.AllowEdit = false;
     this.colHost.OptionsColumn.TabStop   = false;
     this.colHost.Visible      = true;
     this.colHost.VisibleIndex = 0;
     this.colHost.Width        = 102;
     //
     // colServerStatus
     //
     this.colServerStatus.FieldName = "ServerStatus";
     this.colServerStatus.Name      = "colServerStatus";
     this.colServerStatus.OptionsColumn.AllowEdit = false;
     this.colServerStatus.OptionsColumn.TabStop   = false;
     this.colServerStatus.Visible      = true;
     this.colServerStatus.VisibleIndex = 1;
     //
     // colInstanceName
     //
     this.colInstanceName.FieldName = "InstanceName";
     this.colInstanceName.Name      = "colInstanceName";
     this.colInstanceName.OptionsColumn.AllowEdit = false;
     this.colInstanceName.OptionsColumn.TabStop   = false;
     this.colInstanceName.Visible      = true;
     this.colInstanceName.VisibleIndex = 2;
     //
     // colServiceName
     //
     this.colServiceName.FieldName = "ServiceName";
     this.colServiceName.Name      = "colServiceName";
     this.colServiceName.OptionsColumn.AllowEdit = false;
     this.colServiceName.OptionsColumn.TabStop   = false;
     this.colServiceName.Visible      = true;
     this.colServiceName.VisibleIndex = 3;
     //
     // colServiceStatus
     //
     this.colServiceStatus.FieldName = "ServiceStatus";
     this.colServiceStatus.Name      = "colServiceStatus";
     this.colServiceStatus.OptionsColumn.AllowEdit = false;
     this.colServiceStatus.OptionsColumn.TabStop   = false;
     this.colServiceStatus.Visible      = true;
     this.colServiceStatus.VisibleIndex = 8;
     this.colServiceStatus.Width        = 82;
     //
     // colServerMemoryRunning
     //
     this.colServerMemoryRunning.FieldName = "ServerMemoryRunning";
     this.colServerMemoryRunning.Name      = "colServerMemoryRunning";
     this.colServerMemoryRunning.OptionsColumn.AllowEdit = false;
     this.colServerMemoryRunning.OptionsColumn.TabStop   = false;
     this.colServerMemoryRunning.Visible      = true;
     this.colServerMemoryRunning.VisibleIndex = 4;
     //
     // colServerMemoryMax
     //
     this.colServerMemoryMax.FieldName = "ServerMemoryMax";
     this.colServerMemoryMax.Name      = "colServerMemoryMax";
     this.colServerMemoryMax.OptionsColumn.AllowEdit = false;
     this.colServerMemoryMax.OptionsColumn.TabStop   = false;
     //
     // colDatabasesSize
     //
     this.colDatabasesSize.FieldName = "DatabasesSize";
     this.colDatabasesSize.Name      = "colDatabasesSize";
     this.colDatabasesSize.OptionsColumn.AllowEdit = false;
     this.colDatabasesSize.OptionsColumn.TabStop   = false;
     this.colDatabasesSize.Visible      = true;
     this.colDatabasesSize.VisibleIndex = 5;
     //
     // colInfo
     //
     this.colInfo.FieldName = "Info";
     this.colInfo.Name      = "colInfo";
     this.colInfo.OptionsColumn.AllowEdit = false;
     this.colInfo.OptionsColumn.TabStop   = false;
     this.colInfo.Visible      = true;
     this.colInfo.VisibleIndex = 6;
     this.colInfo.Width        = 107;
     //
     // colDescription
     //
     this.colDescription.FieldName    = "Description";
     this.colDescription.Name         = "colDescription";
     this.colDescription.Visible      = true;
     this.colDescription.VisibleIndex = 7;
     this.colDescription.Width        = 117;
     //
     // colAbleToConnect
     //
     this.colAbleToConnect.FieldName = "AbleToConnect";
     this.colAbleToConnect.Name      = "colAbleToConnect";
     this.colAbleToConnect.OptionsColumn.AllowEdit = false;
     this.colAbleToConnect.OptionsColumn.TabStop   = false;
     this.colAbleToConnect.Visible      = true;
     this.colAbleToConnect.VisibleIndex = 9;
     //
     // buttonExit
     //
     this.buttonExit.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonExit.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.buttonExit.Location                = new System.Drawing.Point(803, 368);
     this.buttonExit.Name                    = "buttonExit";
     this.buttonExit.Size                    = new System.Drawing.Size(75, 23);
     this.buttonExit.TabIndex                = 1;
     this.buttonExit.Text                    = "E&xit";
     this.buttonExit.UseVisualStyleBackColor = true;
     this.buttonExit.Click                  += new System.EventHandler(this.buttonExit_Click);
     //
     // buttonRefresh
     //
     this.buttonRefresh.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonRefresh.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.buttonRefresh.Location                = new System.Drawing.Point(12, 368);
     this.buttonRefresh.Name                    = "buttonRefresh";
     this.buttonRefresh.Size                    = new System.Drawing.Size(75, 23);
     this.buttonRefresh.TabIndex                = 2;
     this.buttonRefresh.Text                    = "&Refresh";
     this.buttonRefresh.UseVisualStyleBackColor = true;
     this.buttonRefresh.Click                  += new System.EventHandler(this.buttonRefresh_Click);
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripMenuItemStart,
         this.toolStripMenuItemStop,
         this.connectSMSSToolStripMenuItem
     });
     this.contextMenuStrip1.Name       = "contextMenuStrip1";
     this.contextMenuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
     this.contextMenuStrip1.Size       = new System.Drawing.Size(152, 70);
     this.contextMenuStrip1.Opening   += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening);
     //
     // toolStripMenuItemStart
     //
     this.toolStripMenuItemStart.Name   = "toolStripMenuItemStart";
     this.toolStripMenuItemStart.Size   = new System.Drawing.Size(151, 22);
     this.toolStripMenuItemStart.Text   = "Start";
     this.toolStripMenuItemStart.Click += new System.EventHandler(this.toolStripMenuItemStart_Click);
     //
     // toolStripMenuItemStop
     //
     this.toolStripMenuItemStop.Name   = "toolStripMenuItemStop";
     this.toolStripMenuItemStop.Size   = new System.Drawing.Size(151, 22);
     this.toolStripMenuItemStop.Text   = "Stop";
     this.toolStripMenuItemStop.Click += new System.EventHandler(this.toolStripMenuItemStop_Click);
     //
     // connectSMSSToolStripMenuItem
     //
     this.connectSMSSToolStripMenuItem.Name   = "connectSMSSToolStripMenuItem";
     this.connectSMSSToolStripMenuItem.Size   = new System.Drawing.Size(151, 22);
     this.connectSMSSToolStripMenuItem.Text   = "Connect SMSS";
     this.connectSMSSToolStripMenuItem.Click += new System.EventHandler(this.connectSMSSToolStripMenuItem_Click);
     //
     // buttonSave
     //
     this.buttonSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonSave.Location = new System.Drawing.Point(722, 368);
     this.buttonSave.Name     = "buttonSave";
     this.buttonSave.Size     = new System.Drawing.Size(75, 23);
     this.buttonSave.TabIndex = 3;
     this.buttonSave.Text     = "&Save";
     this.buttonSave.UseVisualStyleBackColor = true;
     this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
     //
     // buttonLoad
     //
     this.buttonLoad.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonLoad.Location = new System.Drawing.Point(641, 368);
     this.buttonLoad.Name     = "buttonLoad";
     this.buttonLoad.Size     = new System.Drawing.Size(75, 23);
     this.buttonLoad.TabIndex = 4;
     this.buttonLoad.Text     = "&Load";
     this.buttonLoad.UseVisualStyleBackColor = true;
     this.buttonLoad.Click += new System.EventHandler(this.buttonLoad_Click);
     //
     // buttonGetNetwork
     //
     this.buttonGetNetwork.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonGetNetwork.Location = new System.Drawing.Point(93, 368);
     this.buttonGetNetwork.Name     = "buttonGetNetwork";
     this.buttonGetNetwork.Size     = new System.Drawing.Size(133, 23);
     this.buttonGetNetwork.TabIndex = 5;
     this.buttonGetNetwork.Text     = "GetServersFrom&Network";
     this.buttonGetNetwork.UseVisualStyleBackColor = true;
     this.buttonGetNetwork.Click += new System.EventHandler(this.buttonGetNetwork_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton        = this.buttonExit;
     this.ClientSize          = new System.Drawing.Size(890, 403);
     this.Controls.Add(this.buttonGetNetwork);
     this.Controls.Add(this.buttonLoad);
     this.Controls.Add(this.buttonSave);
     this.Controls.Add(this.buttonRefresh);
     this.Controls.Add(this.buttonExit);
     this.Controls.Add(this.gridControl1);
     this.Icon   = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name   = "Form1";
     this.Text   = "FbiSqlServers";
     this.Load  += new System.EventHandler(this.Form1_Load);
     this.Shown += new System.EventHandler(this.Form1_Shown);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.sqlInstanceBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #29
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.GridFormatRule gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule2 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule3 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression3 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule4 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression4 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     DevExpress.XtraGrid.GridFormatRule gridFormatRule5 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression5 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     System.ComponentModel.ComponentResourceManager       resources = new System.ComponentModel.ComponentResourceManager(typeof(XtraFormKardex));
     this.colProductoEntra       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colProductoEntraPrecio = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colProductoSale        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colProductoSalePrecio  = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colIVA   = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gCKardex = new DevExpress.XtraGrid.GridControl();
     this.vistaKardexBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.gVKardex             = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colIDKardex          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colIDProducto        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colProducto          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colFecha             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEstado            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMedida            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.barManager1          = new DevExpress.XtraBars.BarManager(this.components);
     this.bar2                 = new DevExpress.XtraBars.Bar();
     this.barSubItem1          = new DevExpress.XtraBars.BarSubItem();
     this.barButtonItem1       = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem3       = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem4       = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2       = 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.barSubItem2          = new DevExpress.XtraBars.BarSubItem();
     this.colSiclo             = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.gCKardex)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.vistaKardexBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVKardex)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     this.SuspendLayout();
     //
     // colProductoEntra
     //
     this.colProductoEntra.Caption      = "ENTRA";
     this.colProductoEntra.FieldName    = "ProductoEntra";
     this.colProductoEntra.Name         = "colProductoEntra";
     this.colProductoEntra.Visible      = true;
     this.colProductoEntra.VisibleIndex = 2;
     this.colProductoEntra.Width        = 108;
     //
     // colProductoEntraPrecio
     //
     this.colProductoEntraPrecio.Caption = "PRECIO ENTRADA";
     this.colProductoEntraPrecio.DisplayFormat.FormatString = "c";
     this.colProductoEntraPrecio.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.colProductoEntraPrecio.FieldName    = "ProductoEntraPrecio";
     this.colProductoEntraPrecio.Name         = "colProductoEntraPrecio";
     this.colProductoEntraPrecio.Visible      = true;
     this.colProductoEntraPrecio.VisibleIndex = 3;
     this.colProductoEntraPrecio.Width        = 128;
     //
     // colProductoSale
     //
     this.colProductoSale.Caption      = "SALE";
     this.colProductoSale.FieldName    = "ProductoSale";
     this.colProductoSale.Name         = "colProductoSale";
     this.colProductoSale.Visible      = true;
     this.colProductoSale.VisibleIndex = 4;
     this.colProductoSale.Width        = 90;
     //
     // colProductoSalePrecio
     //
     this.colProductoSalePrecio.Caption = "PRECIO SALIDA";
     this.colProductoSalePrecio.DisplayFormat.FormatString = "c";
     this.colProductoSalePrecio.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.colProductoSalePrecio.FieldName    = "ProductoSalePrecio";
     this.colProductoSalePrecio.Name         = "colProductoSalePrecio";
     this.colProductoSalePrecio.Visible      = true;
     this.colProductoSalePrecio.VisibleIndex = 5;
     this.colProductoSalePrecio.Width        = 118;
     //
     // colIVA
     //
     this.colIVA.Caption = "IVA";
     this.colIVA.DisplayFormat.FormatString = "{0}%";
     this.colIVA.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.colIVA.FieldName    = "IVA";
     this.colIVA.Name         = "colIVA";
     this.colIVA.Visible      = true;
     this.colIVA.VisibleIndex = 7;
     this.colIVA.Width        = 47;
     //
     // gCKardex
     //
     this.gCKardex.DataSource = this.vistaKardexBindingSource;
     this.gCKardex.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.gCKardex.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.gCKardex.Location = new System.Drawing.Point(0, 31);
     this.gCKardex.MainView = this.gVKardex;
     this.gCKardex.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.gCKardex.Name     = "gCKardex";
     this.gCKardex.Size     = new System.Drawing.Size(1508, 620);
     this.gCKardex.TabIndex = 0;
     this.gCKardex.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gVKardex
     });
     //
     // vistaKardexBindingSource
     //
     this.vistaKardexBindingSource.DataSource = typeof(Gm.Entities.VistaKardex);
     //
     // gVKardex
     //
     this.gVKardex.Appearance.FocusedRow.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gVKardex.Appearance.FocusedRow.Options.UseFont = true;
     this.gVKardex.Appearance.GroupRow.Font               = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gVKardex.Appearance.GroupRow.Options.UseFont    = true;
     this.gVKardex.Appearance.HeaderPanel.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gVKardex.Appearance.HeaderPanel.Options.UseFont = true;
     this.gVKardex.Appearance.Row.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gVKardex.Appearance.Row.Options.UseFont = true;
     this.gVKardex.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colIDKardex,
         this.colIDProducto,
         this.colProducto,
         this.colProductoEntra,
         this.colProductoEntraPrecio,
         this.colProductoSale,
         this.colProductoSalePrecio,
         this.colIVA,
         this.colFecha,
         this.colEstado,
         this.colMedida,
         this.colSiclo
     });
     gridFormatRule1.Name = "Entra";
     formatConditionRuleExpression1.Expression     = "[ProductoEntra] <> 0";
     formatConditionRuleExpression1.PredefinedName = "Red Text";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     gridFormatRule2.Name = "PEntra";
     formatConditionRuleExpression2.Expression     = "[ProductoEntraPrecio] <> 0";
     formatConditionRuleExpression2.PredefinedName = "Red Text";
     gridFormatRule2.Rule = formatConditionRuleExpression2;
     gridFormatRule3.Name = "Sale";
     formatConditionRuleExpression3.Expression     = "[ProductoSale] <> 0";
     formatConditionRuleExpression3.PredefinedName = "Green Text";
     gridFormatRule3.Rule = formatConditionRuleExpression3;
     gridFormatRule4.Name = "PSale";
     formatConditionRuleExpression4.Expression     = "[ProductoSalePrecio] <> 0";
     formatConditionRuleExpression4.PredefinedName = "Green Text";
     gridFormatRule4.Rule = formatConditionRuleExpression4;
     gridFormatRule5.Name = "Iva";
     formatConditionRuleExpression5.Expression     = "[IVA] == 0";
     formatConditionRuleExpression5.PredefinedName = "Red Fill";
     gridFormatRule5.Rule = formatConditionRuleExpression5;
     this.gVKardex.FormatRules.Add(gridFormatRule1);
     this.gVKardex.FormatRules.Add(gridFormatRule2);
     this.gVKardex.FormatRules.Add(gridFormatRule3);
     this.gVKardex.FormatRules.Add(gridFormatRule4);
     this.gVKardex.FormatRules.Add(gridFormatRule5);
     this.gVKardex.GridControl = this.gCKardex;
     this.gVKardex.Name        = "gVKardex";
     this.gVKardex.OptionsBehavior.Editable      = false;
     this.gVKardex.OptionsView.ShowAutoFilterRow = true;
     this.gVKardex.ViewCaption = "KARDEX";
     this.gVKardex.RowStyle   += new DevExpress.XtraGrid.Views.Grid.RowStyleEventHandler(this.gVKardex_RowStyle);
     //
     // colIDKardex
     //
     this.colIDKardex.Caption = "REGISTRO";
     this.colIDKardex.DisplayFormat.FormatString = "COD{0}";
     this.colIDKardex.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.colIDKardex.FieldName    = "IDKardex";
     this.colIDKardex.Name         = "colIDKardex";
     this.colIDKardex.Visible      = true;
     this.colIDKardex.VisibleIndex = 0;
     this.colIDKardex.Width        = 79;
     //
     // colIDProducto
     //
     this.colIDProducto.FieldName = "IDProducto";
     this.colIDProducto.Name      = "colIDProducto";
     //
     // colProducto
     //
     this.colProducto.Caption      = "DETALLE";
     this.colProducto.FieldName    = "Producto";
     this.colProducto.Name         = "colProducto";
     this.colProducto.Visible      = true;
     this.colProducto.VisibleIndex = 1;
     this.colProducto.Width        = 565;
     //
     // colFecha
     //
     this.colFecha.Caption = "FECHA";
     this.colFecha.DisplayFormat.FormatString = "dddd, dd MMMM yyyy";
     this.colFecha.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Custom;
     this.colFecha.FieldName    = "Fecha";
     this.colFecha.Name         = "colFecha";
     this.colFecha.Visible      = true;
     this.colFecha.VisibleIndex = 8;
     this.colFecha.Width        = 102;
     //
     // colEstado
     //
     this.colEstado.Caption      = "ESTADO";
     this.colEstado.FieldName    = "Estado";
     this.colEstado.Name         = "colEstado";
     this.colEstado.Visible      = true;
     this.colEstado.VisibleIndex = 9;
     this.colEstado.Width        = 81;
     //
     // colMedida
     //
     this.colMedida.Caption      = "MEDIDA";
     this.colMedida.FieldName    = "Medida";
     this.colMedida.MinWidth     = 25;
     this.colMedida.Name         = "colMedida";
     this.colMedida.Visible      = true;
     this.colMedida.VisibleIndex = 6;
     this.colMedida.Width        = 112;
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.bar2
     });
     this.barManager1.DockControls.Add(this.barDockControlTop);
     this.barManager1.DockControls.Add(this.barDockControlBottom);
     this.barManager1.DockControls.Add(this.barDockControlLeft);
     this.barManager1.DockControls.Add(this.barDockControlRight);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.barSubItem1,
         this.barButtonItem1,
         this.barButtonItem2,
         this.barSubItem2,
         this.barButtonItem3,
         this.barButtonItem4
     });
     this.barManager1.MainMenu  = this.bar2;
     this.barManager1.MaxItemId = 6;
     //
     // 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.barSubItem1)
     });
     this.bar2.OptionsBar.MultiLine   = true;
     this.bar2.OptionsBar.UseWholeRow = true;
     this.bar2.Text = "Main menu";
     //
     // barSubItem1
     //
     this.barSubItem1.Caption = "Archivo";
     this.barSubItem1.Id      = 0;
     this.barSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4),
         new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2)
     });
     this.barSubItem1.Name = "barSubItem1";
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption    = "Actualizar";
     this.barButtonItem1.Id         = 1;
     this.barButtonItem1.Name       = "barButtonItem1";
     this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick);
     //
     // barButtonItem3
     //
     this.barButtonItem3.Caption    = "Imprimir";
     this.barButtonItem3.Id         = 4;
     this.barButtonItem3.Name       = "barButtonItem3";
     this.barButtonItem3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem3_ItemClick);
     //
     // barButtonItem4
     //
     this.barButtonItem4.Caption    = "Exportar";
     this.barButtonItem4.Id         = 5;
     this.barButtonItem4.Name       = "barButtonItem4";
     this.barButtonItem4.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem4_ItemClick);
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption    = "Salir";
     this.barButtonItem2.Id         = 2;
     this.barButtonItem2.Name       = "barButtonItem2";
     this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_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.Manager          = this.barManager1;
     this.barDockControlTop.Size             = new System.Drawing.Size(1508, 31);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 651);
     this.barDockControlBottom.Manager          = this.barManager1;
     this.barDockControlBottom.Size             = new System.Drawing.Size(1508, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(0, 31);
     this.barDockControlLeft.Manager          = this.barManager1;
     this.barDockControlLeft.Size             = new System.Drawing.Size(0, 620);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(1508, 31);
     this.barDockControlRight.Manager          = this.barManager1;
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 620);
     //
     // barSubItem2
     //
     this.barSubItem2.Caption = "Herramientas";
     this.barSubItem2.Id      = 3;
     this.barSubItem2.Name    = "barSubItem2";
     //
     // colSiclo
     //
     this.colSiclo.FieldName = "Siclo";
     this.colSiclo.MinWidth  = 25;
     this.colSiclo.Name      = "colSiclo";
     this.colSiclo.Width     = 94;
     //
     // XtraFormKardex
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1508, 651);
     this.Controls.Add(this.gCKardex);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Margin        = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.Name          = "XtraFormKardex";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Auditoria Inventario";
     this.Load         += new System.EventHandler(this.XtraFormKardex_Load);
     this.SizeChanged  += new System.EventHandler(this.XtraFormKardex_SizeChanged);
     ((System.ComponentModel.ISupportInitialize)(this.gCKardex)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.vistaKardexBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gVKardex)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #30
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager       resources       = new System.ComponentModel.ComponentResourceManager(typeof(frmXacNhanVatTu));
     DevExpress.XtraGrid.GridFormatRule                   gridFormatRule1 = new DevExpress.XtraGrid.GridFormatRule();
     DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression();
     this.panelControl1           = new DevExpress.XtraEditors.PanelControl();
     this.btnChuaXacNhan          = new DevExpress.XtraEditors.SimpleButton();
     this.dpNgaydukien            = new DevExpress.XtraEditors.DateEdit();
     this.label2                  = new System.Windows.Forms.Label();
     this.label1                  = new System.Windows.Forms.Label();
     this.label39                 = new System.Windows.Forms.Label();
     this.dptu_ngay               = new System.Windows.Forms.DateTimePicker();
     this.dpden_ngay              = new System.Windows.Forms.DateTimePicker();
     this.label40                 = new System.Windows.Forms.Label();
     this.btnXacThuc              = new DevExpress.XtraEditors.SimpleButton();
     this.txtidvattu              = new System.Windows.Forms.TextBox();
     this.txtMadh                 = new System.Windows.Forms.TextBox();
     this.splitContainerControl1  = new DevExpress.XtraEditors.SplitContainerControl();
     this.simpleButton1           = new DevExpress.XtraEditors.SimpleButton();
     this.gridControl2            = new DevExpress.XtraGrid.GridControl();
     this.gridView2               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.id_grid2                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.madh_grid2              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Tenvattu_grid2          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Dinhmuc_grid2           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.SLmua_grid2             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Donvi_grid2             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Tensanpham_grid2        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Ngayxacnhan_grid2       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.NgayDk_grid2            = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Ngaylap_grid2           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Nguoilap_grid2          = new DevExpress.XtraGrid.Columns.GridColumn();
     this.simpleButton3           = new DevExpress.XtraEditors.SimpleButton();
     this.gridControl1            = new DevExpress.XtraGrid.GridControl();
     this.gridView1               = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.Madh_grid1              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.vattu_grid1             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Slvattu_grid1           = new DevExpress.XtraGrid.Columns.GridColumn();
     this.SlMua_grid1             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Donvi_grid1             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Tensanpham_grid1        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Ngayxacnhan_grid1       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Ngaydukien_grid1        = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Ngaylapdinhmuc_grid1    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn1             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn2             = new DevExpress.XtraGrid.Columns.GridColumn();
     this.id_grid1                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemMemoEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dpNgaydukien.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dpNgaydukien.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit();
     this.SuspendLayout();
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.btnChuaXacNhan);
     this.panelControl1.Controls.Add(this.dpNgaydukien);
     this.panelControl1.Controls.Add(this.label2);
     this.panelControl1.Controls.Add(this.label1);
     this.panelControl1.Controls.Add(this.label39);
     this.panelControl1.Controls.Add(this.dptu_ngay);
     this.panelControl1.Controls.Add(this.dpden_ngay);
     this.panelControl1.Controls.Add(this.label40);
     this.panelControl1.Controls.Add(this.btnXacThuc);
     this.panelControl1.Controls.Add(this.txtidvattu);
     this.panelControl1.Controls.Add(this.txtMadh);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(1185, 27);
     this.panelControl1.TabIndex = 15;
     //
     // btnChuaXacNhan
     //
     this.btnChuaXacNhan.Location = new System.Drawing.Point(156, 1);
     this.btnChuaXacNhan.Name     = "btnChuaXacNhan";
     this.btnChuaXacNhan.Size     = new System.Drawing.Size(75, 19);
     this.btnChuaXacNhan.TabIndex = 1106;
     this.btnChuaXacNhan.Text     = "Chưa XN";
     this.btnChuaXacNhan.Click   += new System.EventHandler(this.ListChuaXacNhan);
     //
     // dpNgaydukien
     //
     this.dpNgaydukien.EditValue = null;
     this.dpNgaydukien.Location  = new System.Drawing.Point(281, 1);
     this.dpNgaydukien.Name      = "dpNgaydukien";
     this.dpNgaydukien.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.dpNgaydukien.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.dpNgaydukien.Size     = new System.Drawing.Size(137, 20);
     this.dpNgaydukien.TabIndex = 1105;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.ForeColor = System.Drawing.Color.Indigo;
     this.label2.Location  = new System.Drawing.Point(1218, 5);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(15, 13);
     this.label2.TabIndex  = 1100;
     this.label2.Text      = "id";
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.ForeColor = System.Drawing.Color.Indigo;
     this.label1.Location  = new System.Drawing.Point(231, 5);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(47, 13);
     this.label1.TabIndex  = 1100;
     this.label1.Text      = "Ngày về";
     //
     // label39
     //
     this.label39.AutoSize  = true;
     this.label39.BackColor = System.Drawing.Color.Transparent;
     this.label39.ForeColor = System.Drawing.Color.Indigo;
     this.label39.Location  = new System.Drawing.Point(527, 5);
     this.label39.Name      = "label39";
     this.label39.Size      = new System.Drawing.Size(47, 13);
     this.label39.TabIndex  = 1100;
     this.label39.Text      = "Từ ngày";
     //
     // dptu_ngay
     //
     this.dptu_ngay.CalendarFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dptu_ngay.Font         = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dptu_ngay.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dptu_ngay.Location     = new System.Drawing.Point(578, 2);
     this.dptu_ngay.Name         = "dptu_ngay";
     this.dptu_ngay.Size         = new System.Drawing.Size(83, 18);
     this.dptu_ngay.TabIndex     = 1101;
     this.dptu_ngay.TabStop      = false;
     //
     // dpden_ngay
     //
     this.dpden_ngay.CalendarFont = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpden_ngay.Font         = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dpden_ngay.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dpden_ngay.Location     = new System.Drawing.Point(723, 2);
     this.dpden_ngay.Name         = "dpden_ngay";
     this.dpden_ngay.Size         = new System.Drawing.Size(84, 18);
     this.dpden_ngay.TabIndex     = 1102;
     this.dpden_ngay.TabStop      = false;
     //
     // label40
     //
     this.label40.AutoSize  = true;
     this.label40.BackColor = System.Drawing.Color.Transparent;
     this.label40.ForeColor = System.Drawing.Color.Indigo;
     this.label40.Location  = new System.Drawing.Point(665, 5);
     this.label40.Name      = "label40";
     this.label40.Size      = new System.Drawing.Size(54, 13);
     this.label40.TabIndex  = 1099;
     this.label40.Text      = "Đến ngày";
     //
     // btnXacThuc
     //
     this.btnXacThuc.Appearance.Font            = new System.Drawing.Font("Segoe UI Semilight", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnXacThuc.Appearance.Options.UseFont = true;
     this.btnXacThuc.ImageOptions.Image         = ((System.Drawing.Image)(resources.GetObject("btnXacThuc.ImageOptions.Image")));
     this.btnXacThuc.Location = new System.Drawing.Point(420, 0);
     this.btnXacThuc.Name     = "btnXacThuc";
     this.btnXacThuc.Size     = new System.Drawing.Size(71, 21);
     this.btnXacThuc.TabIndex = 1095;
     this.btnXacThuc.Text     = "Xác thực";
     this.btnXacThuc.Click   += new System.EventHandler(this.XacNhanNgayVatTu);
     //
     // txtidvattu
     //
     this.txtidvattu.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtidvattu.Location = new System.Drawing.Point(1239, 2);
     this.txtidvattu.Name     = "txtidvattu";
     this.txtidvattu.ReadOnly = true;
     this.txtidvattu.Size     = new System.Drawing.Size(83, 18);
     this.txtidvattu.TabIndex = 1094;
     //
     // txtMadh
     //
     this.txtMadh.Font     = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMadh.Location = new System.Drawing.Point(12, 2);
     this.txtMadh.Name     = "txtMadh";
     this.txtMadh.Size     = new System.Drawing.Size(142, 18);
     this.txtMadh.TabIndex = 1094;
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.Location = new System.Drawing.Point(0, 27);
     this.splitContainerControl1.Name     = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.simpleButton1);
     this.splitContainerControl1.Panel1.Controls.Add(this.gridControl2);
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Controls.Add(this.simpleButton3);
     this.splitContainerControl1.Panel2.Controls.Add(this.gridControl1);
     this.splitContainerControl1.Panel2.Text      = "Panel2";
     this.splitContainerControl1.Size             = new System.Drawing.Size(1185, 434);
     this.splitContainerControl1.SplitterPosition = 577;
     this.splitContainerControl1.TabIndex         = 16;
     this.splitContainerControl1.Text             = "splitContainerControl1";
     //
     // simpleButton1
     //
     this.simpleButton1.Appearance.ForeColor            = System.Drawing.Color.Green;
     this.simpleButton1.Appearance.Options.UseForeColor = true;
     this.simpleButton1.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("simpleButton1.ImageOptions.Image")));
     this.simpleButton1.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
     this.simpleButton1.Location = new System.Drawing.Point(0, 1);
     this.simpleButton1.Name     = "simpleButton1";
     this.simpleButton1.Size     = new System.Drawing.Size(18, 19);
     this.simpleButton1.TabIndex = 1051;
     this.simpleButton1.Click   += new System.EventHandler(this.ListKHVT);
     //
     // gridControl2
     //
     this.gridControl2.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.gridControl2.Location             = new System.Drawing.Point(0, 0);
     this.gridControl2.MainView             = this.gridView2;
     this.gridControl2.Name                 = "gridControl2";
     this.gridControl2.Size                 = new System.Drawing.Size(577, 434);
     this.gridControl2.TabIndex             = 1052;
     this.gridControl2.UseEmbeddedNavigator = true;
     this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView2
     });
     this.gridControl2.Click += new System.EventHandler(this.BindingChuaXacNhan);
     //
     // gridView2
     //
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.id_grid2,
         this.madh_grid2,
         this.Tenvattu_grid2,
         this.Dinhmuc_grid2,
         this.SLmua_grid2,
         this.Donvi_grid2,
         this.Tensanpham_grid2,
         this.Ngayxacnhan_grid2,
         this.NgayDk_grid2,
         this.Ngaylap_grid2,
         this.Nguoilap_grid2
     });
     gridFormatRule1.ApplyToRow = true;
     gridFormatRule1.Name       = "Format0";
     formatConditionRuleExpression1.Appearance.BackColor            = System.Drawing.Color.DarkOrange;
     formatConditionRuleExpression1.Appearance.Options.UseBackColor = true;
     formatConditionRuleExpression1.Expression = "[Ngayxacnhan] Is Null And [NgayDK_ve] Is Not Null";
     gridFormatRule1.Rule = formatConditionRuleExpression1;
     this.gridView2.FormatRules.Add(gridFormatRule1);
     this.gridView2.GridControl = this.gridControl2;
     this.gridView2.Name        = "gridView2";
     this.gridView2.OptionsBehavior.Editable      = false;
     this.gridView2.OptionsView.ColumnAutoWidth   = false;
     this.gridView2.OptionsView.ShowAutoFilterRow = true;
     this.gridView2.OptionsView.ShowGroupPanel    = false;
     //
     // id_grid2
     //
     this.id_grid2.Caption      = "id";
     this.id_grid2.FieldName    = "CodeVatllieu";
     this.id_grid2.Name         = "id_grid2";
     this.id_grid2.Visible      = true;
     this.id_grid2.VisibleIndex = 0;
     this.id_grid2.Width        = 50;
     //
     // madh_grid2
     //
     this.madh_grid2.Caption      = "Mã phiếu SX";
     this.madh_grid2.FieldName    = "madh";
     this.madh_grid2.Name         = "madh_grid2";
     this.madh_grid2.Visible      = true;
     this.madh_grid2.VisibleIndex = 1;
     this.madh_grid2.Width        = 77;
     //
     // Tenvattu_grid2
     //
     this.Tenvattu_grid2.Caption      = "Tên vật tư";
     this.Tenvattu_grid2.FieldName    = "Ten_vattu";
     this.Tenvattu_grid2.Name         = "Tenvattu_grid2";
     this.Tenvattu_grid2.Visible      = true;
     this.Tenvattu_grid2.VisibleIndex = 2;
     this.Tenvattu_grid2.Width        = 101;
     //
     // Dinhmuc_grid2
     //
     this.Dinhmuc_grid2.Caption = "Định mức";
     this.Dinhmuc_grid2.DisplayFormat.FormatString = "{0:n1}";
     this.Dinhmuc_grid2.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.Dinhmuc_grid2.FieldName    = "SL_vattucan";
     this.Dinhmuc_grid2.Name         = "Dinhmuc_grid2";
     this.Dinhmuc_grid2.Visible      = true;
     this.Dinhmuc_grid2.VisibleIndex = 3;
     this.Dinhmuc_grid2.Width        = 63;
     //
     // SLmua_grid2
     //
     this.SLmua_grid2.Caption = "Số mua";
     this.SLmua_grid2.DisplayFormat.FormatString = "{0:n1}";
     this.SLmua_grid2.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.Numeric;
     this.SLmua_grid2.FieldName    = "SL_vattumua";
     this.SLmua_grid2.Name         = "SLmua_grid2";
     this.SLmua_grid2.Visible      = true;
     this.SLmua_grid2.VisibleIndex = 4;
     this.SLmua_grid2.Width        = 60;
     //
     // Donvi_grid2
     //
     this.Donvi_grid2.Caption      = "Đơn vị";
     this.Donvi_grid2.FieldName    = "Donvi_vattu";
     this.Donvi_grid2.Name         = "Donvi_grid2";
     this.Donvi_grid2.Visible      = true;
     this.Donvi_grid2.VisibleIndex = 5;
     this.Donvi_grid2.Width        = 43;
     //
     // Tensanpham_grid2
     //
     this.Tensanpham_grid2.Caption      = "Tên sản phẩm";
     this.Tensanpham_grid2.FieldName    = "Tenquicachsp";
     this.Tensanpham_grid2.Name         = "Tensanpham_grid2";
     this.Tensanpham_grid2.Visible      = true;
     this.Tensanpham_grid2.VisibleIndex = 6;
     this.Tensanpham_grid2.Width        = 81;
     //
     // Ngayxacnhan_grid2
     //
     this.Ngayxacnhan_grid2.Caption      = "Ngày xác nhận";
     this.Ngayxacnhan_grid2.FieldName    = "Ngayxacnhan";
     this.Ngayxacnhan_grid2.Name         = "Ngayxacnhan_grid2";
     this.Ngayxacnhan_grid2.Visible      = true;
     this.Ngayxacnhan_grid2.VisibleIndex = 7;
     this.Ngayxacnhan_grid2.Width        = 83;
     //
     // NgayDk_grid2
     //
     this.NgayDk_grid2.Caption      = "Ngày dự kiến";
     this.NgayDk_grid2.FieldName    = "NgayDK_ve";
     this.NgayDk_grid2.Name         = "NgayDk_grid2";
     this.NgayDk_grid2.Visible      = true;
     this.NgayDk_grid2.VisibleIndex = 8;
     this.NgayDk_grid2.Width        = 93;
     //
     // Ngaylap_grid2
     //
     this.Ngaylap_grid2.Caption      = "Ngày lập";
     this.Ngaylap_grid2.FieldName    = "Ngaylap_DM";
     this.Ngaylap_grid2.Name         = "Ngaylap_grid2";
     this.Ngaylap_grid2.Visible      = true;
     this.Ngaylap_grid2.VisibleIndex = 9;
     this.Ngaylap_grid2.Width        = 86;
     //
     // Nguoilap_grid2
     //
     this.Nguoilap_grid2.Caption      = "Người lập";
     this.Nguoilap_grid2.FieldName    = "Nguoilap_DM";
     this.Nguoilap_grid2.Name         = "Nguoilap_grid2";
     this.Nguoilap_grid2.Visible      = true;
     this.Nguoilap_grid2.VisibleIndex = 10;
     this.Nguoilap_grid2.Width        = 90;
     //
     // simpleButton3
     //
     this.simpleButton3.Appearance.ForeColor            = System.Drawing.Color.Green;
     this.simpleButton3.Appearance.Options.UseForeColor = true;
     this.simpleButton3.ImageOptions.Image    = ((System.Drawing.Image)(resources.GetObject("simpleButton3.ImageOptions.Image")));
     this.simpleButton3.ImageOptions.Location = DevExpress.XtraEditors.ImageLocation.MiddleCenter;
     this.simpleButton3.Location = new System.Drawing.Point(0, 1);
     this.simpleButton3.Name     = "simpleButton3";
     this.simpleButton3.Size     = new System.Drawing.Size(18, 19);
     this.simpleButton3.TabIndex = 1049;
     this.simpleButton3.Click   += new System.EventHandler(this.ListDaXacNhan);
     //
     // gridControl1
     //
     this.gridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(0, 0);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemMemoEdit1
     });
     this.gridControl1.Size                 = new System.Drawing.Size(603, 434);
     this.gridControl1.TabIndex             = 1048;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1
     });
     this.gridControl1.Click += new System.EventHandler(this.BindingXacNhan);
     //
     // gridView1
     //
     this.gridView1.Appearance.Row.Options.UseTextOptions = true;
     this.gridView1.Appearance.Row.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.gridView1.Appearance.Row.TextOptions.WordWrap   = DevExpress.Utils.WordWrap.Wrap;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.Madh_grid1,
         this.vattu_grid1,
         this.Slvattu_grid1,
         this.SlMua_grid1,
         this.Donvi_grid1,
         this.Tensanpham_grid1,
         this.Ngayxacnhan_grid1,
         this.Ngaydukien_grid1,
         this.Ngaylapdinhmuc_grid1,
         this.gridColumn1,
         this.gridColumn2,
         this.id_grid1
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsBehavior.SmartVertScrollBar = false;
     this.gridView1.OptionsSelection.MultiSelect       = true;
     this.gridView1.OptionsSelection.MultiSelectMode   = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
     this.gridView1.OptionsView.ColumnAutoWidth        = false;
     this.gridView1.OptionsView.RowAutoHeight          = true;
     this.gridView1.OptionsView.ShowAutoFilterRow      = true;
     this.gridView1.OptionsView.ShowFooter             = true;
     this.gridView1.OptionsView.ShowGroupPanel         = false;
     //
     // Madh_grid1
     //
     this.Madh_grid1.Caption      = "Mã đơn hàng";
     this.Madh_grid1.FieldName    = "madh";
     this.Madh_grid1.Name         = "Madh_grid1";
     this.Madh_grid1.Visible      = true;
     this.Madh_grid1.VisibleIndex = 0;
     this.Madh_grid1.Width        = 134;
     //
     // vattu_grid1
     //
     this.vattu_grid1.Caption      = "Tên vật tư";
     this.vattu_grid1.FieldName    = "Ten_vattu";
     this.vattu_grid1.Name         = "vattu_grid1";
     this.vattu_grid1.Visible      = true;
     this.vattu_grid1.VisibleIndex = 2;
     this.vattu_grid1.Width        = 224;
     //
     // Slvattu_grid1
     //
     this.Slvattu_grid1.Caption      = "Số vật tư cần";
     this.Slvattu_grid1.FieldName    = "SL_vattucan";
     this.Slvattu_grid1.Name         = "Slvattu_grid1";
     this.Slvattu_grid1.Visible      = true;
     this.Slvattu_grid1.VisibleIndex = 3;
     this.Slvattu_grid1.Width        = 60;
     //
     // SlMua_grid1
     //
     this.SlMua_grid1.Caption      = "Số mua";
     this.SlMua_grid1.FieldName    = "SL_vattumua";
     this.SlMua_grid1.Name         = "SlMua_grid1";
     this.SlMua_grid1.Visible      = true;
     this.SlMua_grid1.VisibleIndex = 4;
     //
     // Donvi_grid1
     //
     this.Donvi_grid1.Caption      = "Đơn vị";
     this.Donvi_grid1.FieldName    = "Donvi_vattu";
     this.Donvi_grid1.Name         = "Donvi_grid1";
     this.Donvi_grid1.Visible      = true;
     this.Donvi_grid1.VisibleIndex = 5;
     //
     // Tensanpham_grid1
     //
     this.Tensanpham_grid1.Caption      = "Tên sản phẩm";
     this.Tensanpham_grid1.FieldName    = "Tenquicachsp";
     this.Tensanpham_grid1.Name         = "Tensanpham_grid1";
     this.Tensanpham_grid1.Visible      = true;
     this.Tensanpham_grid1.VisibleIndex = 1;
     this.Tensanpham_grid1.Width        = 129;
     //
     // Ngayxacnhan_grid1
     //
     this.Ngayxacnhan_grid1.Caption      = "Ngày xác nhận";
     this.Ngayxacnhan_grid1.FieldName    = "Ngayxacnhan";
     this.Ngayxacnhan_grid1.Name         = "Ngayxacnhan_grid1";
     this.Ngayxacnhan_grid1.Visible      = true;
     this.Ngayxacnhan_grid1.VisibleIndex = 7;
     this.Ngayxacnhan_grid1.Width        = 104;
     //
     // Ngaydukien_grid1
     //
     this.Ngaydukien_grid1.Caption      = "Ngày dự kiến về";
     this.Ngaydukien_grid1.FieldName    = "NgayDK_ve";
     this.Ngaydukien_grid1.Name         = "Ngaydukien_grid1";
     this.Ngaydukien_grid1.Visible      = true;
     this.Ngaydukien_grid1.VisibleIndex = 6;
     this.Ngaydukien_grid1.Width        = 93;
     //
     // Ngaylapdinhmuc_grid1
     //
     this.Ngaylapdinhmuc_grid1.Caption      = "Ngày lập định mức";
     this.Ngaylapdinhmuc_grid1.FieldName    = "Ngaylap_DM";
     this.Ngaylapdinhmuc_grid1.Name         = "Ngaylapdinhmuc_grid1";
     this.Ngaylapdinhmuc_grid1.Visible      = true;
     this.Ngaylapdinhmuc_grid1.VisibleIndex = 8;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption      = "Người lập";
     this.gridColumn1.FieldName    = "Nguoilap_DM";
     this.gridColumn1.Name         = "gridColumn1";
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 9;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption      = "Ngày lập";
     this.gridColumn2.FieldName    = "Ngaylap_DM";
     this.gridColumn2.Name         = "gridColumn2";
     this.gridColumn2.Visible      = true;
     this.gridColumn2.VisibleIndex = 10;
     //
     // id_grid1
     //
     this.id_grid1.Caption      = "id";
     this.id_grid1.FieldName    = "CodeVatllieu";
     this.id_grid1.Name         = "id_grid1";
     this.id_grid1.Visible      = true;
     this.id_grid1.VisibleIndex = 11;
     //
     // repositoryItemMemoEdit1
     //
     this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1";
     //
     // frmXacNhanVatTu
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1185, 461);
     this.Controls.Add(this.splitContainerControl1);
     this.Controls.Add(this.panelControl1);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name  = "frmXacNhanVatTu";
     this.Text  = "XÁC NHẬN THỜI GIAN CUNG ỨNG VẬT TƯ SẢN XUẤT";
     this.Load += new System.EventHandler(this.frmXacNhanVatTu_Load);
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     this.panelControl1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dpNgaydukien.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dpNgaydukien.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit();
     this.ResumeLayout(false);
 }