示例#1
0
 private void RowLariGizle(DevExpress.XtraGrid.Views.Card.CardView Card_)
 {
     for (int i = 0; i <= Card_.Columns.Count - 1; i++)
     {
         Card_.Columns[i].Visible = false;
     }
 }
        /// <summary>
        /// 设置Card View 的属性
        /// </summary>
        /// <param name="pView"></param>
        public void SetCardView(DevExpress.XtraGrid.GridControl xtraGrid) {
            DevExpress.XtraGrid.Views.Card.CardView cardView = xtraGrid.MainView as DevExpress.XtraGrid.Views.Card.CardView;
            cardView.CardWidth = CARD_VIEW_WIDTH;
            cardView.OptionsBehavior.FieldAutoHeight = true;
            cardView.OptionsView.ShowCardCaption = false;
            //cardView.DetailHeight = 160;

            // xtraGrid.Styles.AddReplace("FieldCaption", new DevExpress.Utils.ViewStyleEx("FieldCaption", "CardView", new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))), "", true, false, false, DevExpress.Utils.HorzAlignment.Near, DevExpress.Utils.VertAlignment.Top, null, System.Drawing.SystemColors.HotTrack, System.Drawing.SystemColors.WindowText, System.Drawing.Color.Empty, System.Drawing.Drawing2D.LinearGradientMode.Horizontal));
        }
示例#3
0
        //卡片编辑
        private bool editCardGrid(MB.XWinLib.XtraGrid.GridControlEx xtraGCtl,
                                  object dataSource, MB.WinBase.IFace.IClientRule buiObj, Dictionary <string, MB.WinBase.Common.ColumnEditCfgInfo> editCols)
        {
            MB.WinBase.Atts.RuleClientLayoutAttribute layoutAtt = MB.WinBase.Atts.AttributeConfigHelper.Instance.GetClientRuleSettingAtt(buiObj);
            Dictionary <string, MB.WinBase.Common.ColumnPropertyInfo> colPropertys = MB.WinBase.LayoutXmlConfigHelper.Instance.GetColumnPropertys(layoutAtt.UIXmlConfigFile);

            MB.XWinLib.XtraGrid.XtraGridViewHelper.Instance.SetEditGridAutoInfo(xtraGCtl);

            DevExpress.XtraGrid.Views.Card.CardView cardView = xtraGCtl.MainView as DevExpress.XtraGrid.Views.Card.CardView;

            if (colPropertys == null || colPropertys.Count == 0)
            {
                throw new MB.Util.APPException(string.Format("业务对象 {0} 没有配置对应的XML文件Columns 信息。", layoutAtt.UIXmlConfigFile));
            }
            //	设置控件的显示样式
            XtraGridViewHelper.Instance.SetCardView(xtraGCtl);

            if (cardView.Columns.Count > 0)
            {
                cardView.Columns.Clear();
            }
            //根据业务处理对象得到对应的 UI 编辑设置信息。
            int i = 0;

            foreach (MB.WinBase.Common.ColumnPropertyInfo fInfo in colPropertys.Values)
            {
                DevExpress.XtraGrid.Columns.GridColumn bdc = new DevExpress.XtraGrid.Columns.GridColumn();
                //判断该列是否可以进行编辑
                DevExpress.XtraEditors.Repository.RepositoryItem rEdit = null;
                if (editCols != null && editCols.ContainsKey(fInfo.Name))
                {
                    rEdit = CreateEditItemByEditInfo(editCols[fInfo.Name], fInfo.CanEdit, fInfo.DataType);//根据用户XML配置的信息获取一个编辑的列。
                }
                else
                {
                    rEdit = CreateEditItemByCol(fInfo, true);
                }

                bdc.ColumnEdit = rEdit;
                xtraGCtl.RepositoryItems.Add(rEdit);

                SetEditColumn(bdc, fInfo, null);

                cardView.Columns.Add(bdc);
                i++;
            }
            xtraGCtl.DataSource = dataSource;
            return(true);
        }
示例#4
0
        private void PanelTipiAyarla(int PanelTipi, DevExpress.XtraGrid.Views.Card.CardView cardTmp)
        {
            using (ARAFEntities context = new ARAFEntities())
            {
                RowLariGizle(cardTmp);
                var query = from contact in context.PANEL_TYPE_DETAIL
                            where
                            contact.ACTIVE == 1 && contact.PANEL_ID == PanelTipi
                            orderby contact.QUEUE
                            select contact;

                // Iterate through the collection of Contact items.
                foreach (var result in query)
                {
                    GridColumn column = new GridColumn();
                    column.FieldName = result.FIELD_NAME.ToString();
                    column.Caption   = result.FIELD_CAPTION.ToString();
                    column.Visible   = true;
                    cardTmp.Columns.Add(column);
                }
            }
        }
示例#5
0
 public static void SetGridStyle(DevExpress.XtraGrid.Views.Card.CardView view)
 {
     for (int i = 0; i < view.VisibleColumns.Count; i++)
     {
         if (view.VisibleColumns[i].Name.Contains("Aktif") ||
             view.VisibleColumns[i].Name.Contains("EklemeTarihi") ||
             view.VisibleColumns[i].Name.Contains("DegistirmeTarihi") ||
             view.VisibleColumns[i].Name.Contains("EkleyenMakAdres") ||
             view.VisibleColumns[i].Name.Contains("EkleyenKullanici") ||
             view.VisibleColumns[i].Name.Contains("DegistirenKullanici") ||
             view.VisibleColumns[i].Name.Contains("DegistirenMakAdres") ||
             view.VisibleColumns[i].Name.Contains("Id") ||
             view.VisibleColumns[i].Name.Contains("RowVersion") ||
             view.VisibleColumns[i].Name.Contains("TransferDurumu") ||
             view.VisibleColumns[i].Name.Contains("TransferMesaj") ||
             view.VisibleColumns[i].Name.Contains("TransferSonuc") ||
             view.VisibleColumns[i].Name.Contains("TransferTarihi") ||
             view.VisibleColumns[i].Name.Contains("_"))
         {
             view.VisibleColumns[i].Visible = 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.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
     this.cardView1    = new DevExpress.XtraGrid.Views.Card.CardView();
     this.gridControl1 = new DevExpress.XtraGrid.GridControl();
     this.gridView1    = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn1  = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.cardView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.SuspendLayout();
     //
     // cardView1
     //
     this.cardView1.GridControl = this.gridControl1;
     this.cardView1.Name        = "cardView1";
     //
     // gridControl1
     //
     this.gridControl1.Dock       = System.Windows.Forms.DockStyle.Fill;
     gridLevelNode1.LevelTemplate = this.cardView1;
     gridLevelNode1.RelationName  = "Details";
     this.gridControl1.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode1
     });
     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(504, 362);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView1,
         this.cardView1
     });
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gridColumn1
     });
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name        = "gridView1";
     this.gridView1.OptionsDetail.ShowDetailTabs = false;
     this.gridView1.MasterRowEmpty += new DevExpress.XtraGrid.Views.Grid.MasterRowEmptyEventHandler(this.gridView1_MasterRowEmpty);
     this.gridView1.MasterRowGetLevelDefaultView += new DevExpress.XtraGrid.Views.Grid.MasterRowGetLevelDefaultViewEventHandler(this.gridView1_MasterRowGetLevelDefaultView);
     this.gridView1.MasterRowGetChildList        += new DevExpress.XtraGrid.Views.Grid.MasterRowGetChildListEventHandler(this.gridView1_MasterRowGetChildList);
     this.gridView1.MasterRowGetRelationCount    += new DevExpress.XtraGrid.Views.Grid.MasterRowGetRelationCountEventHandler(this.gridView1_MasterRowGetRelationCount);
     //
     // gridColumn1
     //
     this.gridColumn1.Caption      = "gridColumn1";
     this.gridColumn1.FieldName    = "ID";
     this.gridColumn1.Name         = "gridColumn1";
     this.gridColumn1.Visible      = true;
     this.gridColumn1.VisibleIndex = 0;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(504, 362);
     this.Controls.Add(this.gridControl1);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.cardView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).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()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Qrysp_StudentBooksRequests));
     this.gridControlMain = new DevExpress.XtraGrid.GridControl();
     this.CMS = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
     this.cardViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.gridViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.spStudentBooksRequestsBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.dsBookStoreQueries = new BookStore.DataSources.dsBookStoreQueries();
     this.gridViewMain = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colstu_code = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colstu_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colwaleaalkamr_mobile = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colalsofof_NAME = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colfasl_name = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSanfName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colRequest = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.cardViewSells = new DevExpress.XtraGrid.Views.Card.CardView();
     this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     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.sp_StudentBooksRequestsTableAdapter = new BookStore.DataSources.dsBookStoreQueriesTableAdapters.sp_StudentBooksRequestsTableAdapter();
     this.btnPrint = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMain)).BeginInit();
     this.CMS.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.spStudentBooksRequestsBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsBookStoreQueries)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardViewSells)).BeginInit();
     this.SuspendLayout();
     //
     // gridControlMain
     //
     this.gridControlMain.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.gridControlMain.ContextMenuStrip = this.CMS;
     this.gridControlMain.DataSource = this.spStudentBooksRequestsBindingSource;
     this.gridControlMain.EmbeddedNavigator.Buttons.Append.Visible = false;
     this.gridControlMain.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.gridControlMain.EmbeddedNavigator.Buttons.Edit.Visible = false;
     this.gridControlMain.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
     this.gridControlMain.EmbeddedNavigator.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.gridControlMain.Location = new System.Drawing.Point(0, 41);
     this.gridControlMain.MainView = this.gridViewMain;
     this.gridControlMain.Name = "gridControlMain";
     this.gridControlMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemDateEdit1,
     this.repositoryItemDateEdit2});
     this.gridControlMain.Size = new System.Drawing.Size(643, 421);
     this.gridControlMain.TabIndex = 1;
     this.gridControlMain.UseEmbeddedNavigator = true;
     this.gridControlMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMain,
     this.cardViewSells});
     //
     // CMS
     //
     this.CMS.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.refreshToolStripMenuItem,
     this.printToolStripMenuItem,
     this.toolStripMenuItem2,
     this.cardViewToolStripMenuItem,
     this.gridViewToolStripMenuItem});
     this.CMS.Name = "CMSPartnerStaff";
     this.CMS.Size = new System.Drawing.Size(172, 98);
     //
     // refreshToolStripMenuItem
     //
     this.refreshToolStripMenuItem.Image = global::BookStore.Properties.Resources.Refresh;
     this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem";
     this.refreshToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
     this.refreshToolStripMenuItem.Text = "اعادة تحميل البيانات";
     this.refreshToolStripMenuItem.Click += new System.EventHandler(this.refreshToolStripMenuItem_Click);
     //
     // printToolStripMenuItem
     //
     this.printToolStripMenuItem.Image = global::BookStore.Properties.Resources.Print;
     this.printToolStripMenuItem.Name = "printToolStripMenuItem";
     this.printToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
     this.printToolStripMenuItem.Text = "طباعه";
     this.printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click);
     //
     // toolStripMenuItem2
     //
     this.toolStripMenuItem2.Name = "toolStripMenuItem2";
     this.toolStripMenuItem2.Size = new System.Drawing.Size(168, 6);
     //
     // cardViewToolStripMenuItem
     //
     this.cardViewToolStripMenuItem.Name = "cardViewToolStripMenuItem";
     this.cardViewToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
     this.cardViewToolStripMenuItem.Text = "عرض كروت";
     this.cardViewToolStripMenuItem.Click += new System.EventHandler(this.cardViewToolStripMenuItem_Click);
     //
     // gridViewToolStripMenuItem
     //
     this.gridViewToolStripMenuItem.Name = "gridViewToolStripMenuItem";
     this.gridViewToolStripMenuItem.Size = new System.Drawing.Size(171, 22);
     this.gridViewToolStripMenuItem.Text = "عرض جدولي";
     this.gridViewToolStripMenuItem.Click += new System.EventHandler(this.gridViewToolStripMenuItem_Click);
     //
     // spStudentBooksRequestsBindingSource
     //
     this.spStudentBooksRequestsBindingSource.DataMember = "sp_StudentBooksRequests";
     this.spStudentBooksRequestsBindingSource.DataSource = this.dsBookStoreQueries;
     //
     // dsBookStoreQueries
     //
     this.dsBookStoreQueries.DataSetName = "dsBookStoreQueries";
     this.dsBookStoreQueries.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gridViewMain
     //
     this.gridViewMain.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.ColumnFilterButton.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(228)))), ((int)(((byte)(220)))));
     this.gridViewMain.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.ColumnFilterButton.ForeColor = System.Drawing.Color.Gray;
     this.gridViewMain.Appearance.ColumnFilterButton.Options.UseBackColor = true;
     this.gridViewMain.Appearance.ColumnFilterButton.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.ColumnFilterButton.Options.UseForeColor = true;
     this.gridViewMain.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(228)))), ((int)(((byte)(220)))));
     this.gridViewMain.Appearance.ColumnFilterButtonActive.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(235)))), ((int)(((byte)(230)))));
     this.gridViewMain.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(228)))), ((int)(((byte)(220)))));
     this.gridViewMain.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Blue;
     this.gridViewMain.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true;
     this.gridViewMain.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true;
     this.gridViewMain.Appearance.Empty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(228)))), ((int)(((byte)(220)))));
     this.gridViewMain.Appearance.Empty.Options.UseBackColor = true;
     this.gridViewMain.Appearance.EvenRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.EvenRow.BackColor2 = System.Drawing.Color.GhostWhite;
     this.gridViewMain.Appearance.EvenRow.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.EvenRow.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.gridViewMain.Appearance.EvenRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.EvenRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.FilterCloseButton.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(170)))), ((int)(((byte)(225)))));
     this.gridViewMain.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.FilterCloseButton.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.FilterCloseButton.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.gridViewMain.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.FilterCloseButton.Options.UseForeColor = true;
     this.gridViewMain.Appearance.FilterPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(80)))), ((int)(((byte)(135)))));
     this.gridViewMain.Appearance.FilterPanel.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.FilterPanel.ForeColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.FilterPanel.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.gridViewMain.Appearance.FilterPanel.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FilterPanel.Options.UseForeColor = true;
     this.gridViewMain.Appearance.FixedLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(58)))), ((int)(((byte)(58)))));
     this.gridViewMain.Appearance.FixedLine.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FocusedCell.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(225)))));
     this.gridViewMain.Appearance.FocusedCell.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.FocusedCell.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FocusedCell.Options.UseForeColor = true;
     this.gridViewMain.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(36)))), ((int)(((byte)(106)))));
     this.gridViewMain.Appearance.FocusedRow.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(86)))), ((int)(((byte)(156)))));
     this.gridViewMain.Appearance.FocusedRow.ForeColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.FocusedRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FocusedRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.FooterPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.FooterPanel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.FooterPanel.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.FooterPanel.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FooterPanel.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.FooterPanel.Options.UseForeColor = true;
     this.gridViewMain.Appearance.GroupButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.GroupButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.GroupButton.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.GroupButton.Options.UseBackColor = true;
     this.gridViewMain.Appearance.GroupButton.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.GroupButton.Options.UseForeColor = true;
     this.gridViewMain.Appearance.GroupFooter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(218)))), ((int)(((byte)(210)))));
     this.gridViewMain.Appearance.GroupFooter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(218)))), ((int)(((byte)(210)))));
     this.gridViewMain.Appearance.GroupFooter.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.GroupFooter.Options.UseBackColor = true;
     this.gridViewMain.Appearance.GroupFooter.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.GroupFooter.Options.UseForeColor = true;
     this.gridViewMain.Appearance.GroupPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
     this.gridViewMain.Appearance.GroupPanel.BackColor2 = System.Drawing.Color.White;
     this.gridViewMain.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.gridViewMain.Appearance.GroupPanel.ForeColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.GroupPanel.Options.UseBackColor = true;
     this.gridViewMain.Appearance.GroupPanel.Options.UseFont = true;
     this.gridViewMain.Appearance.GroupPanel.Options.UseForeColor = true;
     this.gridViewMain.Appearance.GroupRow.BackColor = System.Drawing.Color.Gray;
     this.gridViewMain.Appearance.GroupRow.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.GroupRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.GroupRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.HeaderPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.HeaderPanel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.gridViewMain.Appearance.HeaderPanel.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.HeaderPanel.Options.UseBackColor = true;
     this.gridViewMain.Appearance.HeaderPanel.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.HeaderPanel.Options.UseFont = true;
     this.gridViewMain.Appearance.HeaderPanel.Options.UseForeColor = true;
     this.gridViewMain.Appearance.HideSelectionRow.BackColor = System.Drawing.Color.Gray;
     this.gridViewMain.Appearance.HideSelectionRow.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.HideSelectionRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.HideSelectionRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.HorzLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.HorzLine.Options.UseBackColor = true;
     this.gridViewMain.Appearance.OddRow.BackColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.OddRow.BackColor2 = System.Drawing.Color.White;
     this.gridViewMain.Appearance.OddRow.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.OddRow.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal;
     this.gridViewMain.Appearance.OddRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.OddRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.Preview.BackColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.Preview.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(36)))), ((int)(((byte)(106)))));
     this.gridViewMain.Appearance.Preview.Options.UseBackColor = true;
     this.gridViewMain.Appearance.Preview.Options.UseForeColor = true;
     this.gridViewMain.Appearance.Row.BackColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.Row.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.Row.Options.UseBackColor = true;
     this.gridViewMain.Appearance.Row.Options.UseForeColor = true;
     this.gridViewMain.Appearance.RowSeparator.BackColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.RowSeparator.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(228)))), ((int)(((byte)(220)))));
     this.gridViewMain.Appearance.RowSeparator.Options.UseBackColor = true;
     this.gridViewMain.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(46)))), ((int)(((byte)(116)))));
     this.gridViewMain.Appearance.SelectedRow.ForeColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.SelectedRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.SelectedRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.VertLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.VertLine.Options.UseBackColor = true;
     this.gridViewMain.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.colstu_code,
     this.colstu_name,
     this.colwaleaalkamr_mobile,
     this.colalsofof_NAME,
     this.colfasl_name,
     this.colSanfName,
     this.colRequest});
     this.gridViewMain.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridViewMain.GridControl = this.gridControlMain;
     this.gridViewMain.Name = "gridViewMain";
     this.gridViewMain.OptionsBehavior.AutoExpandAllGroups = true;
     this.gridViewMain.OptionsBehavior.ReadOnly = true;
     this.gridViewMain.OptionsCustomization.AllowRowSizing = true;
     this.gridViewMain.OptionsPrint.AutoWidth = false;
     this.gridViewMain.OptionsPrint.ExpandAllDetails = true;
     this.gridViewMain.OptionsPrint.PrintDetails = true;
     this.gridViewMain.OptionsPrint.PrintFilterInfo = true;
     this.gridViewMain.OptionsView.ColumnAutoWidth = false;
     this.gridViewMain.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewMain.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewMain.OptionsView.ShowFooter = true;
     //
     // colstu_code
     //
     this.colstu_code.AppearanceCell.Options.UseTextOptions = true;
     this.colstu_code.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colstu_code.AppearanceHeader.Options.UseTextOptions = true;
     this.colstu_code.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colstu_code.Caption = "كود الطالب";
     this.colstu_code.FieldName = "stu_code";
     this.colstu_code.Name = "colstu_code";
     this.colstu_code.Visible = true;
     this.colstu_code.VisibleIndex = 0;
     //
     // colstu_name
     //
     this.colstu_name.AppearanceCell.Options.UseTextOptions = true;
     this.colstu_name.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colstu_name.AppearanceHeader.Options.UseTextOptions = true;
     this.colstu_name.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colstu_name.Caption = "اسم الطالب";
     this.colstu_name.FieldName = "stu_name";
     this.colstu_name.Name = "colstu_name";
     this.colstu_name.Visible = true;
     this.colstu_name.VisibleIndex = 1;
     //
     // colwaleaalkamr_mobile
     //
     this.colwaleaalkamr_mobile.AppearanceCell.Options.UseTextOptions = true;
     this.colwaleaalkamr_mobile.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colwaleaalkamr_mobile.AppearanceHeader.Options.UseTextOptions = true;
     this.colwaleaalkamr_mobile.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colwaleaalkamr_mobile.Caption = "رقم الموبيل";
     this.colwaleaalkamr_mobile.FieldName = "waleaalkamr_mobile";
     this.colwaleaalkamr_mobile.Name = "colwaleaalkamr_mobile";
     this.colwaleaalkamr_mobile.Visible = true;
     this.colwaleaalkamr_mobile.VisibleIndex = 2;
     //
     // colalsofof_NAME
     //
     this.colalsofof_NAME.AppearanceCell.Options.UseTextOptions = true;
     this.colalsofof_NAME.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colalsofof_NAME.AppearanceHeader.Options.UseTextOptions = true;
     this.colalsofof_NAME.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colalsofof_NAME.Caption = "الصف";
     this.colalsofof_NAME.FieldName = "alsofof_NAME";
     this.colalsofof_NAME.Name = "colalsofof_NAME";
     this.colalsofof_NAME.Visible = true;
     this.colalsofof_NAME.VisibleIndex = 3;
     //
     // colfasl_name
     //
     this.colfasl_name.AppearanceCell.Options.UseTextOptions = true;
     this.colfasl_name.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colfasl_name.AppearanceHeader.Options.UseTextOptions = true;
     this.colfasl_name.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colfasl_name.Caption = "الفصل";
     this.colfasl_name.FieldName = "fasl_name";
     this.colfasl_name.Name = "colfasl_name";
     this.colfasl_name.Visible = true;
     this.colfasl_name.VisibleIndex = 4;
     //
     // colSanfName
     //
     this.colSanfName.AppearanceCell.Options.UseTextOptions = true;
     this.colSanfName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSanfName.AppearanceHeader.Options.UseTextOptions = true;
     this.colSanfName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colSanfName.Caption = "اسم الصنف";
     this.colSanfName.FieldName = "SanfName";
     this.colSanfName.Name = "colSanfName";
     this.colSanfName.Visible = true;
     this.colSanfName.VisibleIndex = 5;
     //
     // colRequest
     //
     this.colRequest.AppearanceCell.Options.UseTextOptions = true;
     this.colRequest.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colRequest.AppearanceHeader.Options.UseTextOptions = true;
     this.colRequest.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.colRequest.Caption = "الحالة";
     this.colRequest.FieldName = "Request";
     this.colRequest.Name = "colRequest";
     this.colRequest.Visible = true;
     this.colRequest.VisibleIndex = 6;
     //
     // repositoryItemDateEdit1
     //
     this.repositoryItemDateEdit1.AutoHeight = false;
     this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit1.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.repositoryItemDateEdit1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEdit1.EditFormat.FormatString = "dd/MM/yyyy";
     this.repositoryItemDateEdit1.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEdit1.Mask.EditMask = "dd/MM/yyyy";
     this.repositoryItemDateEdit1.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
     this.repositoryItemDateEdit1.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // 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.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.repositoryItemDateEdit2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEdit2.EditFormat.FormatString = "dd/MM/yyyy";
     this.repositoryItemDateEdit2.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEdit2.Mask.EditMask = "dd/MM/yyyy";
     this.repositoryItemDateEdit2.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2";
     this.repositoryItemDateEdit2.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // cardViewSells
     //
     this.cardViewSells.Appearance.CardCaption.BackColor = System.Drawing.Color.DarkGray;
     this.cardViewSells.Appearance.CardCaption.BorderColor = System.Drawing.Color.DarkGray;
     this.cardViewSells.Appearance.CardCaption.Options.UseBackColor = true;
     this.cardViewSells.Appearance.CardCaption.Options.UseBorderColor = true;
     this.cardViewSells.Appearance.EmptySpace.BackColor = System.Drawing.Color.DimGray;
     this.cardViewSells.Appearance.EmptySpace.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal;
     this.cardViewSells.Appearance.EmptySpace.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FieldCaption.BackColor = System.Drawing.Color.White;
     this.cardViewSells.Appearance.FieldCaption.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FieldValue.BackColor = System.Drawing.Color.White;
     this.cardViewSells.Appearance.FieldValue.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.Gray;
     this.cardViewSells.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.Gray;
     this.cardViewSells.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.cardViewSells.Appearance.FilterPanel.BackColor = System.Drawing.Color.Gray;
     this.cardViewSells.Appearance.FilterPanel.ForeColor = System.Drawing.Color.Black;
     this.cardViewSells.Appearance.FilterPanel.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FilterPanel.Options.UseForeColor = true;
     this.cardViewSells.Appearance.FocusedCardCaption.BackColor = System.Drawing.Color.Black;
     this.cardViewSells.Appearance.FocusedCardCaption.BorderColor = System.Drawing.Color.Black;
     this.cardViewSells.Appearance.FocusedCardCaption.ForeColor = System.Drawing.Color.White;
     this.cardViewSells.Appearance.FocusedCardCaption.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FocusedCardCaption.Options.UseBorderColor = true;
     this.cardViewSells.Appearance.FocusedCardCaption.Options.UseForeColor = true;
     this.cardViewSells.Appearance.HideSelectionCardCaption.BackColor = System.Drawing.Color.LightSlateGray;
     this.cardViewSells.Appearance.HideSelectionCardCaption.BorderColor = System.Drawing.Color.LightSlateGray;
     this.cardViewSells.Appearance.HideSelectionCardCaption.Options.UseBackColor = true;
     this.cardViewSells.Appearance.HideSelectionCardCaption.Options.UseBorderColor = true;
     this.cardViewSells.Appearance.SelectedCardCaption.BackColor = System.Drawing.Color.DimGray;
     this.cardViewSells.Appearance.SelectedCardCaption.Options.UseBackColor = true;
     this.cardViewSells.Appearance.SeparatorLine.BackColor = System.Drawing.Color.LightGray;
     this.cardViewSells.Appearance.SeparatorLine.Options.UseBackColor = true;
     this.cardViewSells.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn6,
     this.gridColumn1,
     this.gridColumn2,
     this.gridColumn3,
     this.gridColumn4});
     this.cardViewSells.FocusedCardTopFieldIndex = 0;
     this.cardViewSells.GridControl = this.gridControlMain;
     this.cardViewSells.Name = "cardViewSells";
     this.cardViewSells.OptionsBehavior.ReadOnly = true;
     this.cardViewSells.OptionsPrint.PrintFilterInfo = true;
     this.cardViewSells.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "الاسم";
     this.gridColumn6.FieldName = "EMPNAME";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 0;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption = "اسم الصنف";
     this.gridColumn1.FieldName = "SanfName";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 1;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption = "الكميه";
     this.gridColumn2.FieldName = "Quantity";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 2;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption = "السعر";
     this.gridColumn3.FieldName = "Price";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 3;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption = "التاريخ";
     this.gridColumn4.ColumnEdit = this.repositoryItemDateEdit2;
     this.gridColumn4.FieldName = "StoreTrDate";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 4;
     //
     // sp_StudentBooksRequestsTableAdapter
     //
     this.sp_StudentBooksRequestsTableAdapter.ClearBeforeFill = true;
     //
     // btnPrint
     //
     this.btnPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnPrint.Location = new System.Drawing.Point(504, 12);
     this.btnPrint.Name = "btnPrint";
     this.btnPrint.Size = new System.Drawing.Size(127, 23);
     this.btnPrint.TabIndex = 9;
     this.btnPrint.Text = "طباعة";
     this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
     //
     // Qrysp_StudentBooksRequests
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(643, 462);
     this.Controls.Add(this.btnPrint);
     this.Controls.Add(this.gridControlMain);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "Qrysp_StudentBooksRequests";
     this.Text = "حالة الصرف للطالب";
     this.Load += new System.EventHandler(this.QryPartnerStaffFrm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMain)).EndInit();
     this.CMS.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.spStudentBooksRequestsBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsBookStoreQueries)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardViewSells)).EndInit();
     this.ResumeLayout(false);
 }
 private void cardToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DevExpress.XtraGrid.Views.Card.CardView MyCardView;
     MyCardView = new DevExpress.XtraGrid.Views.Card.CardView();
     MyCardView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     GCmem_ID, GCmem_firstname, GCmem_fathername, GCmem_grandname, GCmem_famname, GCmem_NNumber, GCgender_name, GCReligion,
     GCNationality, GCSocial, GCmem_bdate, GCjob, GCmem_jobDetail, GCMARKZ, GCmem_address, GCmem_mNUMBER, GOV, GCmem_Case, GCQualification,
     GCtel_house, GCtel_mobile, GCKinship, GCSubscription_type});
     MyCardView.FocusedCardTopFieldIndex = 0;
     MyCardView.GridControl = gridControlResult;
     MyCardView.Name = "cardView1";
     MyCardView.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto;
     gridControlResult.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     MyCardView});
     gridControlResult.MainView = MyCardView;
 }
示例#9
0
 private void cardBankCompView_CustomDrawCardCaption(object sender, DevExpress.XtraGrid.Views.Card.CardCaptionCustomDrawEventArgs e)
 {
     DevExpress.XtraGrid.Views.Card.CardView view = sender as DevExpress.XtraGrid.Views.Card.CardView;
     (e.CardInfo as DevExpress.XtraGrid.Views.Card.ViewInfo.CardInfo).CaptionInfo.CardCaption = view.GetRowCellDisplayText(e.RowHandle, view.Columns["BankName"]);
     view.CardCaptionFormat = "Bank Name: {" + (e.CardInfo as DevExpress.XtraGrid.Views.Card.ViewInfo.CardInfo).CaptionInfo.CardCaption + "}";
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraGrid.StyleFormatCondition styleFormatCondition1 = new DevExpress.XtraGrid.StyleFormatCondition();
     this.gridControl                  = new DevExpress.XtraGrid.GridControl();
     this.gridView                     = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gvName                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gvTimeLength                 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gvImage                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemImageEdit1     = new DevExpress.XtraEditors.Repository.RepositoryItemImageEdit();
     this.repositoryItemImageComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
     this.repositoryItemMemoExEdit1    = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
     this.repositoryItemHyperLinkEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit();
     this.repositoryItemPictureEdit1   = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit();
     this.repositoryItemSpinEdit1      = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit();
     this.repositoryItemDateEdit1      = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.cvName                       = new DevExpress.XtraGrid.Columns.GridColumn();
     this.cvImage                      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.cvTimeLength                 = new DevExpress.XtraGrid.Columns.GridColumn();
     cardView = new DevExpress.XtraGrid.Views.Card.CardView();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(cardView)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl
     //
     this.gridControl.AllowDrop = true;
     this.gridControl.AllowRestoreSelectionAndFocusedRow = DevExpress.Utils.DefaultBoolean.True;
     this.gridControl.Cursor   = System.Windows.Forms.Cursors.Default;
     this.gridControl.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl.Location = new System.Drawing.Point(0, 0);
     this.gridControl.MainView = this.gridView;
     this.gridControl.Name     = "gridControl";
     this.gridControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemImageComboBox1,
         this.repositoryItemMemoExEdit1,
         this.repositoryItemHyperLinkEdit1,
         this.repositoryItemPictureEdit1,
         this.repositoryItemImageEdit1,
         this.repositoryItemSpinEdit1,
         this.repositoryItemDateEdit1
     });
     this.gridControl.Size     = new System.Drawing.Size(536, 378);
     this.gridControl.TabIndex = 9;
     this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.gridView,
         cardView
     });
     this.gridControl.DragDrop  += new System.Windows.Forms.DragEventHandler(this.gridControl_DragDrop);
     this.gridControl.DragEnter += new System.Windows.Forms.DragEventHandler(this.gridControl_DragEnter);
     this.gridControl.MouseDown += new System.Windows.Forms.MouseEventHandler(gridControl_MouseDown);
     this.gridControl.MouseMove += new System.Windows.Forms.MouseEventHandler(gridControl_MouseMove);
     //
     // gridView
     //
     this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.gvName,
         this.gvTimeLength,
         this.gvImage
     });
     this.gridView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridView.GridControl    = this.gridControl;
     this.gridView.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
         new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Count, "OrderID", null, "")
     });
     this.gridView.Name = "gridView";
     this.gridView.OptionsBehavior.AllowAddRows               = DevExpress.Utils.DefaultBoolean.False;
     this.gridView.OptionsBehavior.AllowDeleteRows            = DevExpress.Utils.DefaultBoolean.False;
     this.gridView.OptionsCustomization.AllowColumnMoving     = false;
     this.gridView.OptionsCustomization.AllowColumnResizing   = false;
     this.gridView.OptionsCustomization.AllowFilter           = false;
     this.gridView.OptionsCustomization.AllowGroup            = false;
     this.gridView.OptionsCustomization.AllowQuickHideColumns = false;
     this.gridView.OptionsCustomization.AllowSort             = false;
     this.gridView.OptionsMenu.EnableColumnMenu               = false;
     this.gridView.OptionsMenu.EnableFooterMenu               = false;
     this.gridView.OptionsMenu.EnableGroupPanelMenu           = false;
     this.gridView.OptionsMenu.ShowGroupSortSummaryItems      = false;
     this.gridView.OptionsSelection.MultiSelect               = true;
     this.gridView.OptionsBehavior.Editable         = false;
     this.gridView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
     gridView.FocusedColumnChanged += new DevExpress.XtraGrid.Views.Base.FocusedColumnChangedEventHandler(gridView_FocusedColumnChanged);
     this.gridView.ShowButtonMode   = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.Default;
     gridView.FocusedRowChanged    += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(gridView_FocusedRowChanged);
     //
     // gvName
     //
     this.gvName.Caption      = "Name";
     this.gvName.FieldName    = "Name";
     this.gvName.Name         = "gvName";
     this.gvName.Visible      = true;
     this.gvName.VisibleIndex = 0;
     //
     // gvTimeLength
     //
     this.gvTimeLength.Caption      = "Length";
     this.gvTimeLength.FieldName    = "LengthText";
     this.gvTimeLength.Name         = "gvTimeLength";
     this.gvTimeLength.Visible      = true;
     this.gvTimeLength.VisibleIndex = 1;
     //
     // gvImage
     //
     this.gvImage.Caption      = "Image";
     this.gvImage.ColumnEdit   = this.repositoryItemImageEdit1;
     this.gvImage.FieldName    = "Image";
     this.gvImage.Name         = "gvImage";
     this.gvImage.Visible      = true;
     this.gvImage.VisibleIndex = 2;
     //
     // repositoryItemImageEdit1
     //
     this.repositoryItemImageEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemImageEdit1.Name          = "repositoryItemImageEdit1";
     this.repositoryItemImageEdit1.PopupFormSize = new System.Drawing.Size(280, 200);
     //
     // repositoryItemImageComboBox1
     //
     this.repositoryItemImageComboBox1.Appearance.ForeColor            = System.Drawing.Color.Blue;
     this.repositoryItemImageComboBox1.Appearance.Options.UseForeColor = true;
     this.repositoryItemImageComboBox1.AutoHeight = false;
     this.repositoryItemImageComboBox1.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
         new DevExpress.XtraEditors.Controls.ImageComboBoxItem("              2", 32, 2),
         new DevExpress.XtraEditors.Controls.ImageComboBoxItem("              4", 44, 0),
         new DevExpress.XtraEditors.Controls.ImageComboBoxItem("              5", 42, 1)
     });
     this.repositoryItemImageComboBox1.Name         = "repositoryItemImageComboBox1";
     this.repositoryItemImageComboBox1.ReadOnly     = true;
     this.repositoryItemImageComboBox1.ShowDropDown = DevExpress.XtraEditors.Controls.ShowDropDown.Never;
     //
     // repositoryItemMemoExEdit1
     //
     this.repositoryItemMemoExEdit1.AutoHeight = false;
     this.repositoryItemMemoExEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemMemoExEdit1.Name          = "repositoryItemMemoExEdit1";
     this.repositoryItemMemoExEdit1.PopupFormSize = new System.Drawing.Size(350, 150);
     //
     // repositoryItemHyperLinkEdit1
     //
     this.repositoryItemHyperLinkEdit1.AutoHeight = false;
     this.repositoryItemHyperLinkEdit1.Name       = "repositoryItemHyperLinkEdit1";
     //
     // repositoryItemPictureEdit1
     //
     this.repositoryItemPictureEdit1.Appearance.BackColor            = System.Drawing.Color.Black;
     this.repositoryItemPictureEdit1.Appearance.BackColor2           = System.Drawing.Color.White;
     this.repositoryItemPictureEdit1.Appearance.Options.UseBackColor = true;
     this.repositoryItemPictureEdit1.CustomHeight     = 30;
     this.repositoryItemPictureEdit1.Name             = "repositoryItemPictureEdit1";
     this.repositoryItemPictureEdit1.PictureStoreMode = DevExpress.XtraEditors.Controls.PictureStoreMode.Image;
     this.repositoryItemPictureEdit1.SizeMode         = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom;
     //
     // repositoryItemSpinEdit1
     //
     this.repositoryItemSpinEdit1.AutoHeight = false;
     this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton()
     });
     this.repositoryItemSpinEdit1.Mask.EditMask = "\\$###########,0.00";
     this.repositoryItemSpinEdit1.Name          = "repositoryItemSpinEdit1";
     //
     // repositoryItemDateEdit1
     //
     this.repositoryItemDateEdit1.AutoHeight = false;
     this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.repositoryItemDateEdit1.Name            = "repositoryItemDateEdit1";
     this.repositoryItemDateEdit1.ShowWeekNumbers = true;
     this.repositoryItemDateEdit1.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton()
     });
     //
     // cardView
     //
     cardView.Appearance.CardCaption.BackColor              = System.Drawing.Color.Transparent;
     cardView.Appearance.CardCaption.Options.UseBackColor   = true;
     cardView.Appearance.CardCaption.Options.UseTextOptions = true;
     cardView.Appearance.CardCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     cardView.CardCaptionFormat = "{1}";
     cardView.CardWidth         = 60;
     cardView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.cvName,
         this.cvImage,
         this.cvTimeLength
     });
     cardView.DetailHeight                                 = 50;
     cardView.FocusedCardTopFieldIndex                     = 0;
     styleFormatCondition1.Appearance.Font                 = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Strikeout);
     styleFormatCondition1.Appearance.ForeColor            = System.Drawing.SystemColors.ControlDark;
     styleFormatCondition1.Appearance.Options.UseFont      = true;
     styleFormatCondition1.Appearance.Options.UseForeColor = true;
     styleFormatCondition1.ApplyToRow                      = true;
     styleFormatCondition1.Condition                       = DevExpress.XtraGrid.FormatConditionEnum.Equal;
     styleFormatCondition1.Value1                          = false;
     cardView.FormatConditions.AddRange(new DevExpress.XtraGrid.StyleFormatCondition[] {
         styleFormatCondition1
     });
     cardView.GridControl = this.gridControl;
     cardView.Name        = "cardView";
     cardView.OptionsBehavior.AllowAddRows         = DevExpress.Utils.DefaultBoolean.False;
     cardView.OptionsBehavior.AllowDeleteRows      = DevExpress.Utils.DefaultBoolean.False;
     cardView.OptionsBehavior.Editable             = false;
     cardView.OptionsBehavior.FieldAutoHeight      = true;
     cardView.OptionsBehavior.FocusLeaveOnTab      = true;
     cardView.OptionsPrint.AutoHorzWidth           = true;
     cardView.OptionsSelection.MultiSelect         = true;
     cardView.OptionsView.ShowCardExpandButton     = false;
     cardView.OptionsView.ShowEmptyFields          = false;
     cardView.OptionsView.ShowFieldCaptions        = false;
     cardView.OptionsView.ShowLines                = false;
     cardView.OptionsView.ShowQuickCustomizeButton = false;
     cardView.ShowButtonMode       = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowOnlyInEditor;
     cardView.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto;
     cardView.SelectionChanged    += new DevExpress.Data.SelectionChangedEventHandler(cardView_SelectionChanged);
     //
     // cvName
     //
     this.cvName.AppearanceCell.Options.UseTextOptions = true;
     this.cvName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.cvName.Caption   = "Name";
     this.cvName.FieldName = "Name";
     this.cvName.Name      = "cvName";
     //
     // cvImage
     //
     this.cvImage.Caption      = "Image";
     this.cvImage.ColumnEdit   = this.repositoryItemPictureEdit1;
     this.cvImage.FieldName    = "Image";
     this.cvImage.Name         = "cvImage";
     this.cvImage.Visible      = true;
     this.cvImage.VisibleIndex = 0;
     //
     // cvTimeLength
     //
     this.cvTimeLength.AppearanceCell.Options.UseTextOptions = true;
     this.cvTimeLength.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.cvTimeLength.Caption = "Time Length";
     this.cvTimeLength.DisplayFormat.FormatString = "D";
     this.cvTimeLength.DisplayFormat.FormatType   = DevExpress.Utils.FormatType.DateTime;
     this.cvTimeLength.FieldName    = "LengthText";
     this.cvTimeLength.Name         = "cvTimeLength";
     this.cvTimeLength.Visible      = true;
     this.cvTimeLength.VisibleIndex = 1;
     //
     // MessageGridControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.gridControl);
     this.Name  = "MessageGridControl";
     this.Size  = new System.Drawing.Size(536, 378);
     this.Load += new System.EventHandler(MessageGridControl_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(cardView)).EndInit();
     this.ResumeLayout(false);
 }
示例#11
0
文件: Form1.cs 项目: rcw0125/vehic
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode1                 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode2                 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode3                 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode4                 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode5                 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode6                 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode7                 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode8                 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode9                 = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode10                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode11                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode12                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode13                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode14                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode15                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode16                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode17                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode18                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode19                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode20                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode21                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode22                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode23                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode24                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode25                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode26                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode27                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode28                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode29                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode30                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode31                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode32                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode33                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode34                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode35                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode36                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode37                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode38                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode39                = new DevExpress.XtraGrid.GridLevelNode();
     DevExpress.XtraGrid.GridLevelNode gridLevelNode40                = new DevExpress.XtraGrid.GridLevelNode();
     System.ComponentModel.ComponentResourceManager  resources        = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     DevExpress.XtraPrinting.BarCode.QRCodeGenerator qrCodeGenerator1 = new DevExpress.XtraPrinting.BarCode.QRCodeGenerator();
     DevExpress.XtraPrinting.BarCode.Code39Generator code39Generator1 = new DevExpress.XtraPrinting.BarCode.Code39Generator();
     this.gridView1                = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridControl1             = new DevExpress.XtraGrid.GridControl();
     this.qCSampleMixBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.cardView1                = new DevExpress.XtraGrid.Views.Card.CardView();
     this.colZyDanHao              = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colCardID                = new DevExpress.XtraGrid.Columns.GridColumn();
     this.printDocument1           = new System.Drawing.Printing.PrintDocument();
     this.printPreviewDialog1      = new System.Windows.Forms.PrintPreviewDialog();
     this.printDialog1             = new System.Windows.Forms.PrintDialog();
     this.barCodeControl1          = new DevExpress.XtraEditors.BarCodeControl();
     this.button1             = new System.Windows.Forms.Button();
     this.panel1              = new System.Windows.Forms.Panel();
     this.label11             = new System.Windows.Forms.Label();
     this.label10             = new System.Windows.Forms.Label();
     this.label1              = new System.Windows.Forms.Label();
     this.panel2              = new System.Windows.Forms.Panel();
     this.label3              = new System.Windows.Forms.Label();
     this.label2              = new System.Windows.Forms.Label();
     this.panel3              = new System.Windows.Forms.Panel();
     this.label4              = new System.Windows.Forms.Label();
     this.label5              = new System.Windows.Forms.Label();
     this.panel4              = new System.Windows.Forms.Panel();
     this.label6              = new System.Windows.Forms.Label();
     this.label7              = new System.Windows.Forms.Label();
     this.panel5              = new System.Windows.Forms.Panel();
     this.label8              = new System.Windows.Forms.Label();
     this.label9              = new System.Windows.Forms.Label();
     this.panel6              = new System.Windows.Forms.Panel();
     this.button2             = new System.Windows.Forms.Button();
     this.gridSplitContainer1 = new DevExpress.XtraGrid.GridSplitContainer();
     this.barCodeControl2     = new DevExpress.XtraEditors.BarCodeControl();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.qCSampleMixBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardView1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.panel3.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel5.SuspendLayout();
     this.panel6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridSplitContainer1)).BeginInit();
     this.gridSplitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // gridView1
     //
     this.gridView1.GridControl          = this.gridControl1;
     this.gridView1.Name                 = "gridView1";
     this.gridView1.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never;
     //
     // gridControl1
     //
     this.gridControl1.DataSource = this.qCSampleMixBindingSource;
     this.gridControl1.Dock       = System.Windows.Forms.DockStyle.Fill;
     gridLevelNode1.RelationName  = "AddCheckItems";
     gridLevelNode2.RelationName  = "VehSamples";
     gridLevelNode3.RelationName  = "CheckItems";
     gridLevelNode4.LevelTemplate = this.gridView1;
     gridLevelNode4.RelationName  = "CheckVals";
     gridLevelNode6.RelationName  = "AddCheckItems";
     gridLevelNode7.RelationName  = "VehSamples";
     gridLevelNode8.RelationName  = "CheckItems";
     gridLevelNode9.RelationName  = "CheckVals";
     gridLevelNode11.RelationName = "AddCheckItems";
     gridLevelNode12.RelationName = "VehSamples";
     gridLevelNode13.RelationName = "CheckItems";
     gridLevelNode14.RelationName = "CheckVals";
     gridLevelNode16.RelationName = "AddCheckItems";
     gridLevelNode17.RelationName = "VehSamples";
     gridLevelNode18.RelationName = "CheckItems";
     gridLevelNode19.RelationName = "CheckVals";
     gridLevelNode21.RelationName = "AddCheckItems";
     gridLevelNode22.RelationName = "VehSamples";
     gridLevelNode23.RelationName = "CheckItems";
     gridLevelNode24.RelationName = "CheckVals";
     gridLevelNode26.RelationName = "AddCheckItems";
     gridLevelNode27.RelationName = "VehSamples";
     gridLevelNode28.RelationName = "CheckItems";
     gridLevelNode29.RelationName = "CheckVals";
     gridLevelNode31.RelationName = "AddCheckItems";
     gridLevelNode32.RelationName = "VehSamples";
     gridLevelNode33.RelationName = "CheckItems";
     gridLevelNode34.RelationName = "CheckVals";
     gridLevelNode36.RelationName = "AddCheckItems";
     gridLevelNode37.RelationName = "VehSamples";
     gridLevelNode38.RelationName = "CheckItems";
     gridLevelNode39.RelationName = "CheckVals";
     gridLevelNode40.RelationName = "InspectSamples";
     gridLevelNode35.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode36,
         gridLevelNode37,
         gridLevelNode38,
         gridLevelNode39,
         gridLevelNode40
     });
     gridLevelNode35.RelationName = "InspectSamples";
     gridLevelNode30.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode31,
         gridLevelNode32,
         gridLevelNode33,
         gridLevelNode34,
         gridLevelNode35
     });
     gridLevelNode30.RelationName = "InspectSamples";
     gridLevelNode25.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode26,
         gridLevelNode27,
         gridLevelNode28,
         gridLevelNode29,
         gridLevelNode30
     });
     gridLevelNode25.RelationName = "InspectSamples";
     gridLevelNode20.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode21,
         gridLevelNode22,
         gridLevelNode23,
         gridLevelNode24,
         gridLevelNode25
     });
     gridLevelNode20.RelationName = "InspectSamples";
     gridLevelNode15.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode16,
         gridLevelNode17,
         gridLevelNode18,
         gridLevelNode19,
         gridLevelNode20
     });
     gridLevelNode15.RelationName = "InspectSamples";
     gridLevelNode10.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode11,
         gridLevelNode12,
         gridLevelNode13,
         gridLevelNode14,
         gridLevelNode15
     });
     gridLevelNode10.RelationName = "InspectSamples";
     gridLevelNode5.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode6,
         gridLevelNode7,
         gridLevelNode8,
         gridLevelNode9,
         gridLevelNode10
     });
     gridLevelNode5.RelationName = "InspectSamples";
     this.gridControl1.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
         gridLevelNode1,
         gridLevelNode2,
         gridLevelNode3,
         gridLevelNode4,
         gridLevelNode5
     });
     this.gridControl1.Location = new System.Drawing.Point(0, 0);
     this.gridControl1.MainView = this.cardView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.Size     = new System.Drawing.Size(549, 300);
     this.gridControl1.TabIndex = 9;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.cardView1,
         this.gridView1
     });
     //
     // qCSampleMixBindingSource
     //
     this.qCSampleMixBindingSource.DataSource = typeof(Xg.Lab.Sample.QC_Sample_Mix);
     //
     // cardView1
     //
     this.cardView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colZyDanHao,
         this.colCardID
     });
     this.cardView1.FocusedCardTopFieldIndex = 0;
     this.cardView1.GridControl = this.gridControl1;
     this.cardView1.Name        = "cardView1";
     this.cardView1.OptionsView.ShowViewCaption = true;
     this.cardView1.VertScrollVisibility        = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto;
     //
     // colZyDanHao
     //
     this.colZyDanHao.Caption      = "制样单号";
     this.colZyDanHao.FieldName    = "ZyDanHao";
     this.colZyDanHao.Name         = "colZyDanHao";
     this.colZyDanHao.Visible      = true;
     this.colZyDanHao.VisibleIndex = 0;
     this.colZyDanHao.Width        = 200;
     //
     // colCardID
     //
     this.colCardID.Caption      = "检验项目";
     this.colCardID.FieldName    = "CheckItems.CheckItemName";
     this.colCardID.Name         = "colCardID";
     this.colCardID.Visible      = true;
     this.colCardID.VisibleIndex = 1;
     this.colCardID.Width        = 200;
     //
     // printDocument1
     //
     this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.printDocument1_PrintPage);
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize        = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Document          = this.printDocument1;
     this.printPreviewDialog1.Enabled           = true;
     this.printPreviewDialog1.Icon    = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Name    = "printPreviewDialog1";
     this.printPreviewDialog1.Visible = false;
     //
     // printDialog1
     //
     this.printDialog1.Document    = this.printDocument1;
     this.printDialog1.UseEXDialog = true;
     //
     // barCodeControl1
     //
     this.barCodeControl1.AutoModule = true;
     this.barCodeControl1.Location   = new System.Drawing.Point(16, 137);
     this.barCodeControl1.Name       = "barCodeControl1";
     this.barCodeControl1.Padding    = new System.Windows.Forms.Padding(10, 2, 10, 0);
     this.barCodeControl1.ShowText   = false;
     this.barCodeControl1.Size       = new System.Drawing.Size(201, 193);
     qrCodeGenerator1.CompactionMode = DevExpress.XtraPrinting.BarCode.QRCodeCompactionMode.Byte;
     qrCodeGenerator1.Version        = DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version1;
     this.barCodeControl1.Symbology  = qrCodeGenerator1;
     this.barCodeControl1.TabIndex   = 0;
     this.barCodeControl1.Text       = "B03050101";
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(12, 3);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 1;
     this.button1.Text     = "button1";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.label11);
     this.panel1.Controls.Add(this.label10);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.barCodeControl1);
     this.panel1.Location = new System.Drawing.Point(53, 62);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(240, 383);
     this.panel1.TabIndex = 2;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Font     = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label11.Location = new System.Drawing.Point(48, 83);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(103, 29);
     this.label11.TabIndex = 5;
     this.label11.Text     = "B0601F";
     //
     // label10
     //
     this.label10.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label10.Location = new System.Drawing.Point(40, 345);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(143, 24);
     this.label10.TabIndex = 4;
     this.label10.Text     = "灰分/挥发份/S";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label1.Location = new System.Drawing.Point(48, 28);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(103, 29);
     this.label1.TabIndex = 1;
     this.label1.Text     = "B0601F";
     //
     // panel2
     //
     this.panel2.BackColor = System.Drawing.Color.White;
     this.panel2.Controls.Add(this.label3);
     this.panel2.Controls.Add(this.label2);
     this.panel2.Location = new System.Drawing.Point(13, 12);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(169, 88);
     this.panel2.TabIndex = 3;
     //
     // label3
     //
     this.label3.Font     = new System.Drawing.Font("宋体", 7.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label3.Location = new System.Drawing.Point(15, 54);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(127, 24);
     this.label3.TabIndex = 3;
     this.label3.Text     = "201405/水分/化验/煤研/角质层";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label2.Location = new System.Drawing.Point(21, 16);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(100, 33);
     this.label2.TabIndex = 2;
     this.label2.Text     = "B0601";
     //
     // panel3
     //
     this.panel3.BackColor = System.Drawing.Color.White;
     this.panel3.Controls.Add(this.label4);
     this.panel3.Controls.Add(this.label5);
     this.panel3.Location = new System.Drawing.Point(13, 210);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(169, 88);
     this.panel3.TabIndex = 4;
     //
     // label4
     //
     this.label4.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label4.Location = new System.Drawing.Point(15, 54);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(143, 24);
     this.label4.TabIndex = 3;
     this.label4.Text     = "201405/灰分/挥发份/S";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font     = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label5.Location = new System.Drawing.Point(21, 16);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(103, 29);
     this.label5.TabIndex = 2;
     this.label5.Text     = "B0601F";
     //
     // panel4
     //
     this.panel4.BackColor = System.Drawing.Color.White;
     this.panel4.Controls.Add(this.label6);
     this.panel4.Controls.Add(this.label7);
     this.panel4.Location = new System.Drawing.Point(13, 111);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(169, 88);
     this.panel4.TabIndex = 5;
     //
     // label6
     //
     this.label6.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label6.Location = new System.Drawing.Point(15, 54);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(143, 24);
     this.label6.TabIndex = 3;
     this.label6.Text     = "201405/水分";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font     = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label7.Location = new System.Drawing.Point(21, 16);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(103, 29);
     this.label7.TabIndex = 2;
     this.label7.Text     = "B0601S";
     //
     // panel5
     //
     this.panel5.BackColor = System.Drawing.Color.White;
     this.panel5.Controls.Add(this.label8);
     this.panel5.Controls.Add(this.label9);
     this.panel5.Location = new System.Drawing.Point(13, 309);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(169, 88);
     this.panel5.TabIndex = 6;
     //
     // label8
     //
     this.label8.Font     = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label8.Location = new System.Drawing.Point(15, 54);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(143, 24);
     this.label8.TabIndex = 3;
     this.label8.Text     = "201405/G";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Font     = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label9.Location = new System.Drawing.Point(21, 16);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(130, 24);
     this.label9.TabIndex = 2;
     this.label9.Text     = "B0601G_3-1";
     //
     // panel6
     //
     this.panel6.Controls.Add(this.panel2);
     this.panel6.Controls.Add(this.panel5);
     this.panel6.Controls.Add(this.panel3);
     this.panel6.Controls.Add(this.panel4);
     this.panel6.Location = new System.Drawing.Point(330, 34);
     this.panel6.Name     = "panel6";
     this.panel6.Size     = new System.Drawing.Size(200, 411);
     this.panel6.TabIndex = 7;
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(144, 12);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(75, 23);
     this.button2.TabIndex = 8;
     this.button2.Text     = "button2";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // gridSplitContainer1
     //
     this.gridSplitContainer1.Grid     = this.gridControl1;
     this.gridSplitContainer1.Location = new System.Drawing.Point(548, 46);
     this.gridSplitContainer1.Name     = "gridSplitContainer1";
     this.gridSplitContainer1.Panel1.Controls.Add(this.gridControl1);
     this.gridSplitContainer1.Size     = new System.Drawing.Size(549, 300);
     this.gridSplitContainer1.TabIndex = 9;
     //
     // barCodeControl2
     //
     this.barCodeControl2.Location    = new System.Drawing.Point(602, 380);
     this.barCodeControl2.Name        = "barCodeControl2";
     this.barCodeControl2.Padding     = new System.Windows.Forms.Padding(10, 2, 10, 0);
     this.barCodeControl2.ShowText    = false;
     this.barCodeControl2.Size        = new System.Drawing.Size(223, 65);
     code39Generator1.WideNarrowRatio = 3F;
     this.barCodeControl2.Symbology   = code39Generator1;
     this.barCodeControl2.TabIndex    = 10;
     this.barCodeControl2.Text        = "01";
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1168, 553);
     this.Controls.Add(this.barCodeControl2);
     this.Controls.Add(this.gridSplitContainer1);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.panel6);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.button1);
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.qCSampleMixBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardView1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.panel4.ResumeLayout(false);
     this.panel4.PerformLayout();
     this.panel5.ResumeLayout(false);
     this.panel5.PerformLayout();
     this.panel6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridSplitContainer1)).EndInit();
     this.gridSplitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#12
0
 private void cardView1_CustomDrawCardCaption(object sender, DevExpress.XtraGrid.Views.Card.CardCaptionCustomDrawEventArgs e)
 {
     DevExpress.XtraGrid.Views.Card.CardView view = sender as DevExpress.XtraGrid.Views.Card.CardView;
     (e.CardInfo as DevExpress.XtraGrid.Views.Card.ViewInfo.CardInfo).CaptionInfo.CardCaption = view.GetRowCellDisplayText(e.RowHandle, view.Columns["ProjectName"]);
 }
示例#13
0
        private void gridView2_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
        {
            try
            {
                if (this.gridView2.FocusedRowHandle < 0)
                {
                    return;
                }

                int index = int.Parse(this.gridView2.GetRowCellValue(this.gridView2.FocusedRowHandle, "INDEX").ToString().Trim());



                dtcbo.Clear();
                dtcbo.Rows.Add(new  object[] { "선택하세요", "" });


                if (exportView[index] is DevExpress.XtraGrid.Views.Grid.GridView)
                {
                    DevExpress.XtraGrid.Views.Grid.GridView view = exportView[index] as DevExpress.XtraGrid.Views.Grid.GridView;
                    view.OptionsPrint.ExpandAllDetails = true;


                    for (int j = 0; j < view.Columns.Count; j++)
                    {
                        dtcbo.Rows.Add(new  object[] { view.Columns[j].Caption, view.Columns[j].FieldName });
                    }
                }
                else if (exportView[index]  is DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView)
                {
                    DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView view = exportView[index] as DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView;
                    view.OptionsPrint.ExpandAllDetails = true;


                    for (int j = 0; j < view.Columns.Count; j++)
                    {
                        dtcbo.Rows.Add(new  object[] { view.Columns[j].Caption, view.Columns[j].FieldName });
                    }
                }
                else if (exportView[index]  is DevExpress.XtraGrid.Views.BandedGrid.BandedGridView)
                {
                    DevExpress.XtraGrid.Views.BandedGrid.BandedGridView view = exportView[index] as DevExpress.XtraGrid.Views.BandedGrid.BandedGridView;
                    view.OptionsPrint.ExpandAllDetails = true;


                    for (int j = 0; j < view.Columns.Count; j++)
                    {
                        dtcbo.Rows.Add(new  object[] { view.Columns[j].Caption, view.Columns[j].FieldName });
                    }
                }
                else if (exportView[index]  is DevExpress.XtraGrid.Views.Card.CardView)
                {
                    DevExpress.XtraGrid.Views.Card.CardView view = exportView[index] as DevExpress.XtraGrid.Views.Card.CardView;


                    for (int j = 0; j < view.Columns.Count; j++)
                    {
                        dtcbo.Rows.Add(new  object[] { view.Columns[j].Caption, view.Columns[j].FieldName });
                    }
                }

                Cls.Common.CboBox.FillComboBoxDataTable(this.cboAddr, dtcbo.Copy(), "TXT", "VAL");
                Cls.Common.CboBox.FillComboBoxDataTable(this.cboPost, dtcbo.Copy(), "TXT", "VAL");
                Cls.Common.CboBox.FillComboBoxDataTable(this.cboTel, dtcbo.Copy(), "TXT", "VAL");
                Cls.Common.CboBox.FillComboBoxDataTable(this.cboName, dtcbo.Copy(), "TXT", "VAL");
                Cls.Common.CboBox.FillComboBoxDataTable(this.cboMember, dtcbo.Copy(), "TXT", "VAL");

                cboAddr.SelectedIndex   = 0;
                cboPost.SelectedIndex   = 0;
                cboTel.SelectedIndex    = 0;
                cboName.SelectedIndex   = 0;
                cboMember.SelectedIndex = 0;
            }
            catch (Exception ex)
            {
                Basic.ShowMessage(3, ex.Message);
            }
        }
示例#14
0
        private void GetColumnsName(DevExpress.XtraGrid.GridControl grd, ref string col1, ref string col2, int iloop)
        {
            try
            {
                int cnt = 0;

                DataTable dttmp = new DataTable();

                if (grd.MainView is DevExpress.XtraGrid.Views.Grid.GridView)
                {
                    DevExpress.XtraGrid.Views.Grid.GridView view = grd.MainView as DevExpress.XtraGrid.Views.Grid.GridView;
                    view.OptionsPrint.ExpandAllDetails = true;

                    if (view.RowCount > 0 || grd.DataSource != null)
                    {
                        DataTable dtSource = grd.DataSource as DataTable;
                        dttmp = dtSource.Clone();
                        for (int u = 0; u < view.RowCount; u++)
                        {
                            int iRow = view.GetDataSourceRowIndex(u);
                            dttmp.ImportRow(dtSource.Rows[iRow]);
                        }
                    }

                    for (int i = 0; i < view.Columns.Count; i++)
                    {
                        if (view.Columns[i].Visible && cnt == 0)
                        {
                            col1 = view.Columns[i].Caption;
                            cnt++;
                        }
                        else if (view.Columns[i].Visible && cnt > 0)
                        {
                            col2 = view.Columns[i].Caption;
                            cnt++;
                            break;
                        }
                    }
                }
                else if (grd.MainView is DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView)
                {
                    DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView view = grd.MainView as DevExpress.XtraGrid.Views.BandedGrid.AdvBandedGridView;
                    view.OptionsPrint.ExpandAllDetails = true;

                    if (view.RowCount > 0 || grd.DataSource != null)
                    {
                        DataTable dtSource = grd.DataSource as DataTable;
                        dttmp = dtSource.Clone();
                        for (int u = 0; u < view.RowCount; u++)
                        {
                            int iRow = view.GetDataSourceRowIndex(u);
                            dttmp.ImportRow(dtSource.Rows[iRow]);
                        }
                    }

                    for (int i = 0; i < view.Columns.Count; i++)
                    {
                        if (view.Columns[i].Visible && cnt == 0)
                        {
                            col1 = view.Columns[i].Caption;
                            cnt++;
                        }
                        else if (view.Columns[i].Visible && cnt > 0)
                        {
                            col2 = view.Columns[i].Caption;
                            cnt++;
                            break;
                        }
                    }
                }
                else if (grd.MainView is DevExpress.XtraGrid.Views.BandedGrid.BandedGridView)
                {
                    DevExpress.XtraGrid.Views.BandedGrid.BandedGridView view = grd.MainView as DevExpress.XtraGrid.Views.BandedGrid.BandedGridView;
                    view.OptionsPrint.ExpandAllDetails = true;

                    if (view.RowCount > 0 || grd.DataSource != null)
                    {
                        DataTable dtSource = grd.DataSource as DataTable;
                        dttmp = dtSource.Clone();
                        for (int u = 0; u < view.RowCount; u++)
                        {
                            int iRow = view.GetDataSourceRowIndex(u);
                            dttmp.ImportRow(dtSource.Rows[iRow]);
                        }
                    }

                    for (int i = 0; i < view.Columns.Count; i++)
                    {
                        if (view.Columns[i].Visible && cnt == 0)
                        {
                            col1 = view.Columns[i].Caption;
                            cnt++;
                        }
                        else if (view.Columns[i].Visible && cnt > 0)
                        {
                            col2 = view.Columns[i].Caption;
                            cnt++;
                            break;
                        }
                    }
                }
                else if (grd.MainView is DevExpress.XtraGrid.Views.Card.CardView)
                {
                    DevExpress.XtraGrid.Views.Card.CardView view = grd.MainView as DevExpress.XtraGrid.Views.Card.CardView;


                    if (view.RowCount > 0 || grd.DataSource != null)
                    {
                        DataTable dtSource = grd.DataSource as DataTable;
                        dttmp = dtSource.Clone();
                        for (int u = 0; u < view.RowCount; u++)
                        {
                            int iRow = view.GetDataSourceRowIndex(u);
                            dttmp.ImportRow(dtSource.Rows[iRow]);
                        }
                    }

                    for (int i = 0; i < view.Columns.Count; i++)
                    {
                        if (view.Columns[i].Visible && cnt == 0)
                        {
                            col1 = view.Columns[i].Caption;
                            cnt++;
                        }
                        else if (view.Columns[i].Visible && cnt > 0)
                        {
                            col2 = view.Columns[i].Caption;
                            cnt++;
                            break;
                        }
                    }
                }
                dttmp.TableName = iloop.ToString().Trim();
                this.ds.Tables.Add(dttmp.Copy());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
 /// <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_reporte_historialxestacion));
     this.gridView2 = 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.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.Dgb_ControlStock = new DevExpress.XtraGrid.GridControl();
     this.cmMenuGrid2 = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.Ext_Stock = new System.Windows.Forms.ToolStripMenuItem();
     this.dgb_mainStock = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.productid = new DevExpress.XtraGrid.Columns.GridColumn();
     this.productname = new DevExpress.XtraGrid.Columns.GridColumn();
     this.nserie = new DevExpress.XtraGrid.Columns.GridColumn();
     this._stock = new DevExpress.XtraGrid.Columns.GridColumn();
     this._fechdoc = new DevExpress.XtraGrid.Columns.GridColumn();
     this.cardView1 = new DevExpress.XtraGrid.Views.Card.CardView();
     this.xfechdoc = new DevExpress.XtraGrid.Columns.GridColumn();
     this.dTStockBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.dT_Stock = new BapFormulariosNet.D60ALMACEN.REPORTES.DT_Stock();
     this.bapEmpresa02DataSetBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.cmMenuGrid = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.exportarAExcelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.bandedGridView2 = new DevExpress.XtraGrid.Views.BandedGrid.BandedGridView();
     this.gridBand2 = new DevExpress.XtraGrid.Views.BandedGrid.GridBand();
     this.Examinar_Historial = new DevExpress.XtraGrid.GridControl();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this._xfechdoc = new DevExpress.XtraGrid.Columns.GridColumn();
     this._xtipodoc = new DevExpress.XtraGrid.Columns.GridColumn();
     this._xserdoc = new DevExpress.XtraGrid.Columns.GridColumn();
     this._xnumdoc = new DevExpress.XtraGrid.Columns.GridColumn();
     this._xcantidad = new DevExpress.XtraGrid.Columns.GridColumn();
     this._xmotivo = new DevExpress.XtraGrid.Columns.GridColumn();
     this._xperdni = new DevExpress.XtraGrid.Columns.GridColumn();
     this._xnombrelargo = new DevExpress.XtraGrid.Columns.GridColumn();
     this._xglosa = new DevExpress.XtraGrid.Columns.GridColumn();
     this.layoutView1 = new DevExpress.XtraGrid.Views.Layout.LayoutView();
     this.bandedGridColumn1 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_bandedGridColumn1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.bandedGridColumn2 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_bandedGridColumn2 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.bandedGridColumn3 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_bandedGridColumn3 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.bandedGridColumn4 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_bandedGridColumn4 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.bandedGridColumn5 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_bandedGridColumn5 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.bandedGridColumn6 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_bandedGridColumn6 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.bandedGridColumn7 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_bandedGridColumn7 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.bandedGridColumn8 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
     this.layoutViewField_bandedGridColumn8 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
     this.layoutViewCard1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewCard();
     this.Mensaje = new System.Windows.Forms.ToolTip(this.components);
     this.peso = new System.Windows.Forms.TextBox();
     this.label30 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.cencosid = new System.Windows.Forms.TextBox();
     this.cencosname = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.unmedpeso = new System.Windows.Forms.TextBox();
     this.panel1 = new System.Windows.Forms.Panel();
     this.label11 = new System.Windows.Forms.Label();
     this.label31 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.cmb_estacion = new System.Windows.Forms.ComboBox();
     this.sfdhistorial = new System.Windows.Forms.SaveFileDialog();
     this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
     this.label2 = new System.Windows.Forms.Label();
     this.btn_print = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Dgb_ControlStock)).BeginInit();
     this.cmMenuGrid2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgb_mainStock)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dTStockBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dT_Stock)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bapEmpresa02DataSetBindingSource)).BeginInit();
     this.cmMenuGrid.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.bandedGridView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Examinar_Historial)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewCard1)).BeginInit();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // gridView2
     //
     this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn1,
     this.gridColumn2,
     this.gridColumn3,
     this.gridColumn4,
     this.gridColumn5,
     this.gridColumn6,
     this.gridColumn7,
     this.gridColumn8});
     this.gridView2.GridControl = this.Dgb_ControlStock;
     this.gridView2.Name = "gridView2";
     this.gridView2.OptionsView.ShowGroupPanel = false;
     this.gridView2.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Never;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption = "fecha";
     this.gridColumn1.FieldName = "fechdoc";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     //
     // gridColumn2
     //
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 1;
     //
     // gridColumn3
     //
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 2;
     //
     // gridColumn4
     //
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 3;
     //
     // gridColumn5
     //
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 4;
     //
     // gridColumn6
     //
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 5;
     //
     // gridColumn7
     //
     this.gridColumn7.Name = "gridColumn7";
     this.gridColumn7.Visible = true;
     this.gridColumn7.VisibleIndex = 6;
     //
     // gridColumn8
     //
     this.gridColumn8.Name = "gridColumn8";
     this.gridColumn8.Visible = true;
     this.gridColumn8.VisibleIndex = 7;
     //
     // Dgb_ControlStock
     //
     this.Dgb_ControlStock.ContextMenuStrip = this.cmMenuGrid2;
     this.Dgb_ControlStock.EmbeddedNavigator.Buttons.Append.Visible = false;
     this.Dgb_ControlStock.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.Dgb_ControlStock.EmbeddedNavigator.Buttons.Edit.Visible = false;
     this.Dgb_ControlStock.EmbeddedNavigator.Buttons.EnabledAutoRepeat = false;
     this.Dgb_ControlStock.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
     this.Dgb_ControlStock.EmbeddedNavigator.Buttons.Remove.Visible = false;
     this.Dgb_ControlStock.EmbeddedNavigator.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.Dgb_ControlStock.Location = new System.Drawing.Point(4, 94);
     this.Dgb_ControlStock.MainView = this.dgb_mainStock;
     this.Dgb_ControlStock.Name = "Dgb_ControlStock";
     this.Dgb_ControlStock.Size = new System.Drawing.Size(797, 198);
     this.Dgb_ControlStock.TabIndex = 69;
     this.Dgb_ControlStock.UseEmbeddedNavigator = true;
     this.Dgb_ControlStock.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.dgb_mainStock,
     this.cardView1,
     this.gridView2});
     this.Dgb_ControlStock.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Dgb_ControlStock_KeyUp);
     this.Dgb_ControlStock.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Dgb_ControlStock_MouseClick);
     //
     // cmMenuGrid2
     //
     this.cmMenuGrid2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.Ext_Stock});
     this.cmMenuGrid2.Name = "cmMenuGrid2";
     this.cmMenuGrid2.Size = new System.Drawing.Size(156, 26);
     //
     // Ext_Stock
     //
     this.Ext_Stock.Name = "Ext_Stock";
     this.Ext_Stock.Size = new System.Drawing.Size(155, 22);
     this.Ext_Stock.Text = "Exportar a Excel";
     this.Ext_Stock.Click += new System.EventHandler(this.Ext_Stock_Click);
     //
     // dgb_mainStock
     //
     this.dgb_mainStock.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.dgb_mainStock.Appearance.ColumnFilterButtonActive.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(223)))), ((int)(((byte)(217)))));
     this.dgb_mainStock.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.dgb_mainStock.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Blue;
     this.dgb_mainStock.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true;
     this.dgb_mainStock.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.Empty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.dgb_mainStock.Appearance.Empty.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.dgb_mainStock.Appearance.FilterCloseButton.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(138)))), ((int)(((byte)(131)))));
     this.dgb_mainStock.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.dgb_mainStock.Appearance.FilterCloseButton.ForeColor = System.Drawing.Color.Black;
     this.dgb_mainStock.Appearance.FilterCloseButton.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.dgb_mainStock.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.dgb_mainStock.Appearance.FilterCloseButton.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.FilterPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(48)))), ((int)(((byte)(41)))));
     this.dgb_mainStock.Appearance.FilterPanel.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.dgb_mainStock.Appearance.FilterPanel.ForeColor = System.Drawing.Color.White;
     this.dgb_mainStock.Appearance.FilterPanel.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.dgb_mainStock.Appearance.FilterPanel.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.FilterPanel.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.FixedLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(2)))), ((int)(((byte)(74)))), ((int)(((byte)(66)))));
     this.dgb_mainStock.Appearance.FixedLine.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.FocusedCell.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(224)))), ((int)(((byte)(216)))));
     this.dgb_mainStock.Appearance.FocusedCell.ForeColor = System.Drawing.Color.Black;
     this.dgb_mainStock.Appearance.FocusedCell.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.FocusedCell.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.FocusedRow.BackColor = System.Drawing.Color.Tomato;
     this.dgb_mainStock.Appearance.FocusedRow.BackColor2 = System.Drawing.Color.Tomato;
     this.dgb_mainStock.Appearance.FocusedRow.ForeColor = System.Drawing.Color.White;
     this.dgb_mainStock.Appearance.FocusedRow.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.FocusedRow.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.FooterPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgb_mainStock.Appearance.FooterPanel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgb_mainStock.Appearance.FooterPanel.ForeColor = System.Drawing.Color.Black;
     this.dgb_mainStock.Appearance.FooterPanel.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.FooterPanel.Options.UseBorderColor = true;
     this.dgb_mainStock.Appearance.FooterPanel.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.GroupButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgb_mainStock.Appearance.GroupButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgb_mainStock.Appearance.GroupButton.ForeColor = System.Drawing.Color.Black;
     this.dgb_mainStock.Appearance.GroupButton.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.GroupButton.Options.UseBorderColor = true;
     this.dgb_mainStock.Appearance.GroupButton.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.GroupFooter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(202)))), ((int)(((byte)(194)))));
     this.dgb_mainStock.Appearance.GroupFooter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(202)))), ((int)(((byte)(194)))));
     this.dgb_mainStock.Appearance.GroupFooter.ForeColor = System.Drawing.Color.Black;
     this.dgb_mainStock.Appearance.GroupFooter.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.GroupFooter.Options.UseBorderColor = true;
     this.dgb_mainStock.Appearance.GroupFooter.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.GroupPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(78)))), ((int)(((byte)(71)))));
     this.dgb_mainStock.Appearance.GroupPanel.BackColor2 = System.Drawing.Color.White;
     this.dgb_mainStock.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgb_mainStock.Appearance.GroupPanel.ForeColor = System.Drawing.Color.White;
     this.dgb_mainStock.Appearance.GroupPanel.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.GroupPanel.Options.UseFont = true;
     this.dgb_mainStock.Appearance.GroupPanel.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.GroupRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(144)))), ((int)(((byte)(136)))));
     this.dgb_mainStock.Appearance.GroupRow.ForeColor = System.Drawing.Color.Silver;
     this.dgb_mainStock.Appearance.GroupRow.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.GroupRow.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.HeaderPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgb_mainStock.Appearance.HeaderPanel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgb_mainStock.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dgb_mainStock.Appearance.HeaderPanel.ForeColor = System.Drawing.Color.Black;
     this.dgb_mainStock.Appearance.HeaderPanel.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.HeaderPanel.Options.UseBorderColor = true;
     this.dgb_mainStock.Appearance.HeaderPanel.Options.UseFont = true;
     this.dgb_mainStock.Appearance.HeaderPanel.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.HideSelectionRow.BackColor = System.Drawing.Color.Gray;
     this.dgb_mainStock.Appearance.HideSelectionRow.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.dgb_mainStock.Appearance.HideSelectionRow.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.HideSelectionRow.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.HorzLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgb_mainStock.Appearance.HorzLine.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.Preview.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(252)))), ((int)(((byte)(244)))));
     this.dgb_mainStock.Appearance.Preview.BackColor2 = System.Drawing.Color.White;
     this.dgb_mainStock.Appearance.Preview.ForeColor = System.Drawing.Color.Navy;
     this.dgb_mainStock.Appearance.Preview.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.Preview.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.Row.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(224)))), ((int)(((byte)(216)))));
     this.dgb_mainStock.Appearance.Row.ForeColor = System.Drawing.Color.Black;
     this.dgb_mainStock.Appearance.Row.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.Row.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.RowSeparator.BackColor = System.Drawing.Color.White;
     this.dgb_mainStock.Appearance.RowSeparator.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.dgb_mainStock.Appearance.RowSeparator.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(138)))));
     this.dgb_mainStock.Appearance.SelectedRow.ForeColor = System.Drawing.Color.White;
     this.dgb_mainStock.Appearance.SelectedRow.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.SelectedRow.Options.UseForeColor = true;
     this.dgb_mainStock.Appearance.TopNewRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(232)))), ((int)(((byte)(226)))));
     this.dgb_mainStock.Appearance.TopNewRow.Options.UseBackColor = true;
     this.dgb_mainStock.Appearance.VertLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.dgb_mainStock.Appearance.VertLine.Options.UseBackColor = true;
     this.dgb_mainStock.AppearancePrint.HeaderPanel.BackColor = System.Drawing.Color.Teal;
     this.dgb_mainStock.AppearancePrint.HeaderPanel.ForeColor = System.Drawing.Color.White;
     this.dgb_mainStock.AppearancePrint.HeaderPanel.Options.UseBackColor = true;
     this.dgb_mainStock.AppearancePrint.HeaderPanel.Options.UseForeColor = true;
     this.dgb_mainStock.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.productid,
     this.productname,
     this.nserie,
     this._stock,
     this._fechdoc});
     this.dgb_mainStock.GridControl = this.Dgb_ControlStock;
     this.dgb_mainStock.Name = "dgb_mainStock";
     this.dgb_mainStock.OptionsView.ShowGroupPanel = false;
     this.dgb_mainStock.PaintStyleName = "Flat";
     //
     // productid
     //
     this.productid.Caption = "Codigo";
     this.productid.FieldName = "productid";
     this.productid.Name = "productid";
     this.productid.OptionsColumn.AllowEdit = false;
     this.productid.Visible = true;
     this.productid.VisibleIndex = 0;
     this.productid.Width = 84;
     //
     // productname
     //
     this.productname.Caption = "Producto";
     this.productname.FieldName = "productname";
     this.productname.Name = "productname";
     this.productname.OptionsColumn.AllowEdit = false;
     this.productname.Visible = true;
     this.productname.VisibleIndex = 1;
     this.productname.Width = 431;
     //
     // nserie
     //
     this.nserie.Caption = "N°-Serie";
     this.nserie.FieldName = "nserie";
     this.nserie.Name = "nserie";
     this.nserie.OptionsColumn.AllowEdit = false;
     this.nserie.Visible = true;
     this.nserie.VisibleIndex = 2;
     this.nserie.Width = 99;
     //
     // _stock
     //
     this._stock.Caption = "Stock";
     this._stock.FieldName = "stock";
     this._stock.Name = "_stock";
     this._stock.OptionsColumn.AllowEdit = false;
     this._stock.Visible = true;
     this._stock.VisibleIndex = 3;
     this._stock.Width = 66;
     //
     // _fechdoc
     //
     this._fechdoc.Caption = "Fecha";
     this._fechdoc.FieldName = "fechdoc";
     this._fechdoc.Name = "_fechdoc";
     this._fechdoc.OptionsColumn.AllowEdit = false;
     this._fechdoc.Width = 99;
     //
     // cardView1
     //
     this.cardView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.xfechdoc});
     this.cardView1.FocusedCardTopFieldIndex = 0;
     this.cardView1.GridControl = this.Dgb_ControlStock;
     this.cardView1.Name = "cardView1";
     this.cardView1.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto;
     //
     // xfechdoc
     //
     this.xfechdoc.Caption = "Fecha";
     this.xfechdoc.FieldName = "fechdoc";
     this.xfechdoc.Name = "xfechdoc";
     this.xfechdoc.Visible = true;
     this.xfechdoc.VisibleIndex = 0;
     //
     // dTStockBindingSource
     //
     this.dTStockBindingSource.DataSource = this.dT_Stock;
     this.dTStockBindingSource.Position = 0;
     //
     // dT_Stock
     //
     this.dT_Stock.DataSetName = "DT_Stock";
     this.dT_Stock.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // cmMenuGrid
     //
     this.cmMenuGrid.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.exportarAExcelToolStripMenuItem});
     this.cmMenuGrid.Name = "cmMenuGrid";
     this.cmMenuGrid.Size = new System.Drawing.Size(156, 26);
     //
     // exportarAExcelToolStripMenuItem
     //
     this.exportarAExcelToolStripMenuItem.Name = "exportarAExcelToolStripMenuItem";
     this.exportarAExcelToolStripMenuItem.Size = new System.Drawing.Size(155, 22);
     this.exportarAExcelToolStripMenuItem.Text = "Exportar a Excel";
     this.exportarAExcelToolStripMenuItem.Click += new System.EventHandler(this.exportarAExcelToolStripMenuItem_Click);
     //
     // bandedGridView2
     //
     this.bandedGridView2.Bands.AddRange(new DevExpress.XtraGrid.Views.BandedGrid.GridBand[] {
     this.gridBand2});
     this.bandedGridView2.GridControl = this.Examinar_Historial;
     this.bandedGridView2.Name = "bandedGridView2";
     //
     // gridBand2
     //
     this.gridBand2.Caption = "gridBand2";
     this.gridBand2.Name = "gridBand2";
     this.gridBand2.VisibleIndex = 0;
     //
     // Examinar_Historial
     //
     this.Examinar_Historial.ContextMenuStrip = this.cmMenuGrid;
     this.Examinar_Historial.EmbeddedNavigator.Buttons.Append.Enabled = false;
     this.Examinar_Historial.EmbeddedNavigator.Buttons.Append.Visible = false;
     this.Examinar_Historial.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.Examinar_Historial.EmbeddedNavigator.Buttons.Edit.Visible = false;
     this.Examinar_Historial.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
     this.Examinar_Historial.EmbeddedNavigator.Buttons.Remove.Enabled = false;
     this.Examinar_Historial.EmbeddedNavigator.Buttons.Remove.Visible = false;
     this.Examinar_Historial.EmbeddedNavigator.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.Examinar_Historial.Location = new System.Drawing.Point(1, 318);
     this.Examinar_Historial.MainView = this.gridView1;
     this.Examinar_Historial.Name = "Examinar_Historial";
     this.Examinar_Historial.Size = new System.Drawing.Size(1049, 233);
     this.Examinar_Historial.TabIndex = 67;
     this.Examinar_Historial.UseEmbeddedNavigator = true;
     this.Examinar_Historial.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1,
     this.layoutView1,
     this.bandedGridView2});
     //
     // gridView1
     //
     this.gridView1.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.gridView1.Appearance.ColumnFilterButton.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.gridView1.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.gridView1.Appearance.ColumnFilterButton.ForeColor = System.Drawing.Color.Gray;
     this.gridView1.Appearance.ColumnFilterButton.Options.UseBackColor = true;
     this.gridView1.Appearance.ColumnFilterButton.Options.UseBorderColor = true;
     this.gridView1.Appearance.ColumnFilterButton.Options.UseForeColor = true;
     this.gridView1.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.gridView1.Appearance.ColumnFilterButtonActive.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(181)))), ((int)(((byte)(223)))), ((int)(((byte)(217)))));
     this.gridView1.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.gridView1.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Blue;
     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)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.gridView1.Appearance.Empty.Options.UseBackColor = true;
     this.gridView1.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridView1.Appearance.FilterCloseButton.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(138)))), ((int)(((byte)(131)))));
     this.gridView1.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridView1.Appearance.FilterCloseButton.ForeColor = System.Drawing.Color.Black;
     this.gridView1.Appearance.FilterCloseButton.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.gridView1.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.gridView1.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.gridView1.Appearance.FilterCloseButton.Options.UseForeColor = true;
     this.gridView1.Appearance.FilterPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(48)))), ((int)(((byte)(41)))));
     this.gridView1.Appearance.FilterPanel.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridView1.Appearance.FilterPanel.ForeColor = System.Drawing.Color.White;
     this.gridView1.Appearance.FilterPanel.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.gridView1.Appearance.FilterPanel.Options.UseBackColor = true;
     this.gridView1.Appearance.FilterPanel.Options.UseForeColor = true;
     this.gridView1.Appearance.FixedLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(2)))), ((int)(((byte)(74)))), ((int)(((byte)(66)))));
     this.gridView1.Appearance.FixedLine.Options.UseBackColor = true;
     this.gridView1.Appearance.FocusedCell.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(224)))), ((int)(((byte)(216)))));
     this.gridView1.Appearance.FocusedCell.ForeColor = System.Drawing.Color.Black;
     this.gridView1.Appearance.FocusedCell.Options.UseBackColor = true;
     this.gridView1.Appearance.FocusedCell.Options.UseForeColor = true;
     this.gridView1.Appearance.FocusedRow.BackColor = System.Drawing.Color.Tomato;
     this.gridView1.Appearance.FocusedRow.BackColor2 = System.Drawing.Color.Tomato;
     this.gridView1.Appearance.FocusedRow.ForeColor = System.Drawing.Color.White;
     this.gridView1.Appearance.FocusedRow.Options.UseBackColor = true;
     this.gridView1.Appearance.FocusedRow.Options.UseForeColor = true;
     this.gridView1.Appearance.FooterPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.gridView1.Appearance.FooterPanel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.gridView1.Appearance.FooterPanel.ForeColor = System.Drawing.Color.Black;
     this.gridView1.Appearance.FooterPanel.Options.UseBackColor = true;
     this.gridView1.Appearance.FooterPanel.Options.UseBorderColor = true;
     this.gridView1.Appearance.FooterPanel.Options.UseForeColor = true;
     this.gridView1.Appearance.GroupButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.gridView1.Appearance.GroupButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.gridView1.Appearance.GroupButton.ForeColor = System.Drawing.Color.Black;
     this.gridView1.Appearance.GroupButton.Options.UseBackColor = true;
     this.gridView1.Appearance.GroupButton.Options.UseBorderColor = true;
     this.gridView1.Appearance.GroupButton.Options.UseForeColor = true;
     this.gridView1.Appearance.GroupFooter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(202)))), ((int)(((byte)(194)))));
     this.gridView1.Appearance.GroupFooter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(202)))), ((int)(((byte)(194)))));
     this.gridView1.Appearance.GroupFooter.ForeColor = System.Drawing.Color.Black;
     this.gridView1.Appearance.GroupFooter.Options.UseBackColor = true;
     this.gridView1.Appearance.GroupFooter.Options.UseBorderColor = true;
     this.gridView1.Appearance.GroupFooter.Options.UseForeColor = true;
     this.gridView1.Appearance.GroupPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(78)))), ((int)(((byte)(71)))));
     this.gridView1.Appearance.GroupPanel.BackColor2 = System.Drawing.Color.White;
     this.gridView1.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.gridView1.Appearance.GroupPanel.ForeColor = System.Drawing.Color.White;
     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.FromArgb(((int)(((byte)(72)))), ((int)(((byte)(144)))), ((int)(((byte)(136)))));
     this.gridView1.Appearance.GroupRow.ForeColor = System.Drawing.Color.Silver;
     this.gridView1.Appearance.GroupRow.Options.UseBackColor = true;
     this.gridView1.Appearance.GroupRow.Options.UseForeColor = true;
     this.gridView1.Appearance.HeaderPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.gridView1.Appearance.HeaderPanel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.gridView1.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.gridView1.Appearance.HeaderPanel.ForeColor = System.Drawing.Color.Black;
     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.HideSelectionRow.BackColor = System.Drawing.Color.Gray;
     this.gridView1.Appearance.HideSelectionRow.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridView1.Appearance.HideSelectionRow.Options.UseBackColor = true;
     this.gridView1.Appearance.HideSelectionRow.Options.UseForeColor = true;
     this.gridView1.Appearance.HorzLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.gridView1.Appearance.HorzLine.Options.UseBackColor = true;
     this.gridView1.Appearance.Preview.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(252)))), ((int)(((byte)(244)))));
     this.gridView1.Appearance.Preview.BackColor2 = System.Drawing.Color.White;
     this.gridView1.Appearance.Preview.ForeColor = System.Drawing.Color.Navy;
     this.gridView1.Appearance.Preview.Options.UseBackColor = true;
     this.gridView1.Appearance.Preview.Options.UseForeColor = true;
     this.gridView1.Appearance.Row.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(224)))), ((int)(((byte)(216)))));
     this.gridView1.Appearance.Row.ForeColor = System.Drawing.Color.Black;
     this.gridView1.Appearance.Row.Options.UseBackColor = true;
     this.gridView1.Appearance.Row.Options.UseForeColor = true;
     this.gridView1.Appearance.RowSeparator.BackColor = System.Drawing.Color.White;
     this.gridView1.Appearance.RowSeparator.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(212)))), ((int)(((byte)(204)))));
     this.gridView1.Appearance.RowSeparator.Options.UseBackColor = true;
     this.gridView1.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(10)))), ((int)(((byte)(138)))));
     this.gridView1.Appearance.SelectedRow.ForeColor = System.Drawing.Color.White;
     this.gridView1.Appearance.SelectedRow.Options.UseBackColor = true;
     this.gridView1.Appearance.SelectedRow.Options.UseForeColor = true;
     this.gridView1.Appearance.TopNewRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(215)))), ((int)(((byte)(232)))), ((int)(((byte)(226)))));
     this.gridView1.Appearance.TopNewRow.Options.UseBackColor = true;
     this.gridView1.Appearance.VertLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(192)))), ((int)(((byte)(184)))));
     this.gridView1.Appearance.VertLine.Options.UseBackColor = true;
     this.gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Office2003;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this._xfechdoc,
     this._xtipodoc,
     this._xserdoc,
     this._xnumdoc,
     this._xcantidad,
     this._xmotivo,
     this._xperdni,
     this._xnombrelargo,
     this._xglosa});
     this.gridView1.GridControl = this.Examinar_Historial;
     this.gridView1.Name = "gridView1";
     this.gridView1.OptionsView.ShowGroupPanel = false;
     this.gridView1.PaintStyleName = "Flat";
     //
     // _xfechdoc
     //
     this._xfechdoc.Caption = "Fecha";
     this._xfechdoc.FieldName = "fechdoc";
     this._xfechdoc.Name = "_xfechdoc";
     this._xfechdoc.OptionsColumn.AllowEdit = false;
     this._xfechdoc.Visible = true;
     this._xfechdoc.VisibleIndex = 0;
     this._xfechdoc.Width = 81;
     //
     // _xtipodoc
     //
     this._xtipodoc.Caption = "TipDoc";
     this._xtipodoc.FieldName = "tipodoc";
     this._xtipodoc.Name = "_xtipodoc";
     this._xtipodoc.OptionsColumn.AllowEdit = false;
     this._xtipodoc.Visible = true;
     this._xtipodoc.VisibleIndex = 1;
     this._xtipodoc.Width = 50;
     //
     // _xserdoc
     //
     this._xserdoc.Caption = "SerDoc";
     this._xserdoc.FieldName = "serdoc";
     this._xserdoc.Name = "_xserdoc";
     this._xserdoc.OptionsColumn.AllowEdit = false;
     this._xserdoc.Visible = true;
     this._xserdoc.VisibleIndex = 2;
     this._xserdoc.Width = 50;
     //
     // _xnumdoc
     //
     this._xnumdoc.Caption = "NumDoc";
     this._xnumdoc.FieldName = "numdoc";
     this._xnumdoc.Name = "_xnumdoc";
     this._xnumdoc.OptionsColumn.AllowEdit = false;
     this._xnumdoc.Visible = true;
     this._xnumdoc.VisibleIndex = 3;
     this._xnumdoc.Width = 68;
     //
     // _xcantidad
     //
     this._xcantidad.Caption = "Cantidad";
     this._xcantidad.FieldName = "cantidad";
     this._xcantidad.Name = "_xcantidad";
     this._xcantidad.OptionsColumn.AllowEdit = false;
     this._xcantidad.Visible = true;
     this._xcantidad.VisibleIndex = 4;
     this._xcantidad.Width = 58;
     //
     // _xmotivo
     //
     this._xmotivo.Caption = "Motivo";
     this._xmotivo.FieldName = "motivo";
     this._xmotivo.Name = "_xmotivo";
     this._xmotivo.OptionsColumn.AllowEdit = false;
     this._xmotivo.Visible = true;
     this._xmotivo.VisibleIndex = 5;
     this._xmotivo.Width = 195;
     //
     // _xperdni
     //
     this._xperdni.Caption = "Dni";
     this._xperdni.FieldName = "perdni";
     this._xperdni.Name = "_xperdni";
     this._xperdni.OptionsColumn.AllowEdit = false;
     this._xperdni.Visible = true;
     this._xperdni.VisibleIndex = 6;
     this._xperdni.Width = 80;
     //
     // _xnombrelargo
     //
     this._xnombrelargo.Caption = "Personal";
     this._xnombrelargo.FieldName = "nombrelargo";
     this._xnombrelargo.Name = "_xnombrelargo";
     this._xnombrelargo.OptionsColumn.AllowEdit = false;
     this._xnombrelargo.Visible = true;
     this._xnombrelargo.VisibleIndex = 7;
     this._xnombrelargo.Width = 202;
     //
     // _xglosa
     //
     this._xglosa.Caption = "Glosa";
     this._xglosa.FieldName = "glosa";
     this._xglosa.Name = "_xglosa";
     this._xglosa.Visible = true;
     this._xglosa.VisibleIndex = 8;
     this._xglosa.Width = 250;
     //
     // layoutView1
     //
     this.layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] {
     this.bandedGridColumn1,
     this.bandedGridColumn2,
     this.bandedGridColumn3,
     this.bandedGridColumn4,
     this.bandedGridColumn5,
     this.bandedGridColumn6,
     this.bandedGridColumn7,
     this.bandedGridColumn8});
     this.layoutView1.GridControl = this.Examinar_Historial;
     this.layoutView1.Name = "layoutView1";
     this.layoutView1.TemplateCard = this.layoutViewCard1;
     //
     // bandedGridColumn1
     //
     this.bandedGridColumn1.Caption = "Fecha";
     this.bandedGridColumn1.FieldName = "fechdoc";
     this.bandedGridColumn1.LayoutViewField = this.layoutViewField_bandedGridColumn1;
     this.bandedGridColumn1.Name = "bandedGridColumn1";
     this.bandedGridColumn1.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn1.Width = 91;
     //
     // layoutViewField_bandedGridColumn1
     //
     this.layoutViewField_bandedGridColumn1.EditorPreferredWidth = 148;
     this.layoutViewField_bandedGridColumn1.Location = new System.Drawing.Point(0, 0);
     this.layoutViewField_bandedGridColumn1.Name = "layoutViewField_bandedGridColumn1";
     this.layoutViewField_bandedGridColumn1.Size = new System.Drawing.Size(203, 24);
     this.layoutViewField_bandedGridColumn1.TextSize = new System.Drawing.Size(47, 13);
     //
     // bandedGridColumn2
     //
     this.bandedGridColumn2.Caption = "TipDoc";
     this.bandedGridColumn2.FieldName = "tipodoc";
     this.bandedGridColumn2.LayoutViewField = this.layoutViewField_bandedGridColumn2;
     this.bandedGridColumn2.Name = "bandedGridColumn2";
     this.bandedGridColumn2.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn2.Width = 43;
     //
     // layoutViewField_bandedGridColumn2
     //
     this.layoutViewField_bandedGridColumn2.EditorPreferredWidth = 148;
     this.layoutViewField_bandedGridColumn2.Location = new System.Drawing.Point(0, 24);
     this.layoutViewField_bandedGridColumn2.Name = "layoutViewField_bandedGridColumn2";
     this.layoutViewField_bandedGridColumn2.Size = new System.Drawing.Size(203, 24);
     this.layoutViewField_bandedGridColumn2.TextSize = new System.Drawing.Size(47, 13);
     //
     // bandedGridColumn3
     //
     this.bandedGridColumn3.Caption = "SerDoc";
     this.bandedGridColumn3.FieldName = "serdoc";
     this.bandedGridColumn3.LayoutViewField = this.layoutViewField_bandedGridColumn3;
     this.bandedGridColumn3.Name = "bandedGridColumn3";
     this.bandedGridColumn3.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn3.Width = 43;
     //
     // layoutViewField_bandedGridColumn3
     //
     this.layoutViewField_bandedGridColumn3.EditorPreferredWidth = 148;
     this.layoutViewField_bandedGridColumn3.Location = new System.Drawing.Point(0, 48);
     this.layoutViewField_bandedGridColumn3.Name = "layoutViewField_bandedGridColumn3";
     this.layoutViewField_bandedGridColumn3.Size = new System.Drawing.Size(203, 24);
     this.layoutViewField_bandedGridColumn3.TextSize = new System.Drawing.Size(47, 13);
     //
     // bandedGridColumn4
     //
     this.bandedGridColumn4.Caption = "NumDoc";
     this.bandedGridColumn4.FieldName = "numdoc";
     this.bandedGridColumn4.LayoutViewField = this.layoutViewField_bandedGridColumn4;
     this.bandedGridColumn4.Name = "bandedGridColumn4";
     this.bandedGridColumn4.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn4.Width = 70;
     //
     // layoutViewField_bandedGridColumn4
     //
     this.layoutViewField_bandedGridColumn4.EditorPreferredWidth = 148;
     this.layoutViewField_bandedGridColumn4.Location = new System.Drawing.Point(0, 72);
     this.layoutViewField_bandedGridColumn4.Name = "layoutViewField_bandedGridColumn4";
     this.layoutViewField_bandedGridColumn4.Size = new System.Drawing.Size(203, 24);
     this.layoutViewField_bandedGridColumn4.TextSize = new System.Drawing.Size(47, 13);
     //
     // bandedGridColumn5
     //
     this.bandedGridColumn5.Caption = "Cantidad";
     this.bandedGridColumn5.FieldName = "cantidad";
     this.bandedGridColumn5.LayoutViewField = this.layoutViewField_bandedGridColumn5;
     this.bandedGridColumn5.Name = "bandedGridColumn5";
     this.bandedGridColumn5.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn5.Width = 90;
     //
     // layoutViewField_bandedGridColumn5
     //
     this.layoutViewField_bandedGridColumn5.EditorPreferredWidth = 148;
     this.layoutViewField_bandedGridColumn5.Location = new System.Drawing.Point(0, 96);
     this.layoutViewField_bandedGridColumn5.Name = "layoutViewField_bandedGridColumn5";
     this.layoutViewField_bandedGridColumn5.Size = new System.Drawing.Size(203, 24);
     this.layoutViewField_bandedGridColumn5.TextSize = new System.Drawing.Size(47, 13);
     //
     // bandedGridColumn6
     //
     this.bandedGridColumn6.Caption = "Motivo";
     this.bandedGridColumn6.FieldName = "motivo";
     this.bandedGridColumn6.LayoutViewField = this.layoutViewField_bandedGridColumn6;
     this.bandedGridColumn6.Name = "bandedGridColumn6";
     this.bandedGridColumn6.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn6.Width = 154;
     //
     // layoutViewField_bandedGridColumn6
     //
     this.layoutViewField_bandedGridColumn6.EditorPreferredWidth = 148;
     this.layoutViewField_bandedGridColumn6.Location = new System.Drawing.Point(0, 120);
     this.layoutViewField_bandedGridColumn6.Name = "layoutViewField_bandedGridColumn6";
     this.layoutViewField_bandedGridColumn6.Size = new System.Drawing.Size(203, 24);
     this.layoutViewField_bandedGridColumn6.TextSize = new System.Drawing.Size(47, 13);
     //
     // bandedGridColumn7
     //
     this.bandedGridColumn7.Caption = "Dni";
     this.bandedGridColumn7.FieldName = "perdni";
     this.bandedGridColumn7.LayoutViewField = this.layoutViewField_bandedGridColumn7;
     this.bandedGridColumn7.Name = "bandedGridColumn7";
     this.bandedGridColumn7.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn7.Width = 77;
     //
     // layoutViewField_bandedGridColumn7
     //
     this.layoutViewField_bandedGridColumn7.EditorPreferredWidth = 148;
     this.layoutViewField_bandedGridColumn7.Location = new System.Drawing.Point(0, 144);
     this.layoutViewField_bandedGridColumn7.Name = "layoutViewField_bandedGridColumn7";
     this.layoutViewField_bandedGridColumn7.Size = new System.Drawing.Size(203, 24);
     this.layoutViewField_bandedGridColumn7.TextSize = new System.Drawing.Size(47, 13);
     //
     // bandedGridColumn8
     //
     this.bandedGridColumn8.Caption = "Personal";
     this.bandedGridColumn8.FieldName = "nombrelargo";
     this.bandedGridColumn8.LayoutViewField = this.layoutViewField_bandedGridColumn8;
     this.bandedGridColumn8.Name = "bandedGridColumn8";
     this.bandedGridColumn8.OptionsColumn.AllowEdit = false;
     this.bandedGridColumn8.Width = 257;
     //
     // layoutViewField_bandedGridColumn8
     //
     this.layoutViewField_bandedGridColumn8.EditorPreferredWidth = 148;
     this.layoutViewField_bandedGridColumn8.Location = new System.Drawing.Point(0, 168);
     this.layoutViewField_bandedGridColumn8.Name = "layoutViewField_bandedGridColumn8";
     this.layoutViewField_bandedGridColumn8.Size = new System.Drawing.Size(203, 24);
     this.layoutViewField_bandedGridColumn8.TextSize = new System.Drawing.Size(47, 13);
     //
     // layoutViewCard1
     //
     this.layoutViewCard1.ExpandButtonLocation = DevExpress.Utils.GroupElementLocation.AfterText;
     this.layoutViewCard1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
     this.layoutViewField_bandedGridColumn1,
     this.layoutViewField_bandedGridColumn2,
     this.layoutViewField_bandedGridColumn3,
     this.layoutViewField_bandedGridColumn4,
     this.layoutViewField_bandedGridColumn5,
     this.layoutViewField_bandedGridColumn6,
     this.layoutViewField_bandedGridColumn7,
     this.layoutViewField_bandedGridColumn8});
     this.layoutViewCard1.Name = "layoutViewCard1";
     //
     // peso
     //
     this.peso.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.peso.Location = new System.Drawing.Point(366, 650);
     this.peso.Name = "peso";
     this.peso.Size = new System.Drawing.Size(124, 20);
     this.peso.TabIndex = 49;
     this.peso.Text = "ventas al exterior";
     //
     // label30
     //
     this.label30.AutoSize = true;
     this.label30.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label30.Location = new System.Drawing.Point(299, 650);
     this.label30.Name = "label30";
     this.label30.Size = new System.Drawing.Size(61, 13);
     this.label30.TabIndex = 59;
     this.label30.Text = "Med. Peso:";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(10, 7);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(91, 17);
     this.label3.TabIndex = 16;
     this.label3.Text = "CentroCosto:";
     //
     // cencosid
     //
     this.cencosid.Location = new System.Drawing.Point(102, 6);
     this.cencosid.MaxLength = 5;
     this.cencosid.Name = "cencosid";
     this.cencosid.Size = new System.Drawing.Size(39, 21);
     this.cencosid.TabIndex = 17;
     this.cencosid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cencosid_KeyDown);
     //
     // cencosname
     //
     this.cencosname.Location = new System.Drawing.Point(142, 6);
     this.cencosname.Name = "cencosname";
     this.cencosname.ReadOnly = true;
     this.cencosname.Size = new System.Drawing.Size(191, 21);
     this.cencosname.TabIndex = 18;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location = new System.Drawing.Point(349, 9);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(76, 17);
     this.label6.TabIndex = 19;
     this.label6.Text = "Estacion-T:";
     //
     // unmedpeso
     //
     this.unmedpeso.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.unmedpeso.Location = new System.Drawing.Point(112, 650);
     this.unmedpeso.Name = "unmedpeso";
     this.unmedpeso.Size = new System.Drawing.Size(148, 20);
     this.unmedpeso.TabIndex = 48;
     this.unmedpeso.Text = "ventas al exterior";
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.Teal;
     this.panel1.Controls.Add(this.label11);
     this.panel1.Location = new System.Drawing.Point(-4, -25);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(1065, 54);
     this.panel1.TabIndex = 2;
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.BackColor = System.Drawing.Color.Transparent;
     this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.ForeColor = System.Drawing.Color.White;
     this.label11.Location = new System.Drawing.Point(340, 28);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(208, 24);
     this.label11.TabIndex = 5;
     this.label11.Text = "Historial por Estacion";
     //
     // label31
     //
     this.label31.AutoSize = true;
     this.label31.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label31.Location = new System.Drawing.Point(28, 650);
     this.label31.Name = "label31";
     this.label31.Size = new System.Drawing.Size(62, 13);
     this.label31.TabIndex = 57;
     this.label31.Text = "Unid. Peso:";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.Black;
     this.label1.Location = new System.Drawing.Point(6, 300);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(68, 17);
     this.label1.TabIndex = 64;
     this.label1.Text = "Historial";
     //
     // cmb_estacion
     //
     this.cmb_estacion.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmb_estacion.FormattingEnabled = true;
     this.cmb_estacion.Location = new System.Drawing.Point(425, 7);
     this.cmb_estacion.Name = "cmb_estacion";
     this.cmb_estacion.Size = new System.Drawing.Size(54, 21);
     this.cmb_estacion.TabIndex = 66;
     this.cmb_estacion.SelectedIndexChanged += new System.EventHandler(this.cmb_estacion_SelectedIndexChanged);
     //
     // sfdhistorial
     //
     this.sfdhistorial.Filter = "Archivos Excel | *.xls";
     //
     // groupControl1
     //
     this.groupControl1.Appearance.BackColor = System.Drawing.Color.Teal;
     this.groupControl1.Appearance.ForeColor = System.Drawing.Color.White;
     this.groupControl1.Appearance.Options.UseBackColor = true;
     this.groupControl1.Appearance.Options.UseForeColor = true;
     this.groupControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupControl1.Controls.Add(this.cmb_estacion);
     this.groupControl1.Controls.Add(this.label3);
     this.groupControl1.Controls.Add(this.cencosid);
     this.groupControl1.Controls.Add(this.cencosname);
     this.groupControl1.Controls.Add(this.label6);
     this.groupControl1.Location = new System.Drawing.Point(1, 32);
     this.groupControl1.Name = "groupControl1";
     this.groupControl1.Size = new System.Drawing.Size(1049, 36);
     this.groupControl1.TabIndex = 71;
     this.groupControl1.Text = "»» Parametros ";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.Black;
     this.label2.Location = new System.Drawing.Point(10, 74);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(48, 17);
     this.label2.TabIndex = 65;
     this.label2.Text = "Stock";
     //
     // btn_print
     //
     this.btn_print.Cursor = System.Windows.Forms.Cursors.Hand;
     this.btn_print.Image = ((System.Drawing.Image)(resources.GetObject("btn_print.Image")));
     this.btn_print.Location = new System.Drawing.Point(807, 279);
     this.btn_print.Name = "btn_print";
     this.btn_print.Size = new System.Drawing.Size(40, 33);
     this.btn_print.TabIndex = 72;
     this.btn_print.ToolTip = "ImPrimir Historial";
     this.btn_print.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.btn_print.Click += new System.EventHandler(this.btn_print_Click);
     //
     // Frm_reporte_historialxestacion
     //
     this.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(218)))), ((int)(((byte)(224)))));
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.ClientSize = new System.Drawing.Size(1052, 551);
     this.Controls.Add(this.btn_print);
     this.Controls.Add(this.groupControl1);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.Dgb_ControlStock);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.Examinar_Historial);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.peso);
     this.Controls.Add(this.label30);
     this.Controls.Add(this.unmedpeso);
     this.Controls.Add(this.label31);
     this.DoubleBuffered = true;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.KeyPreview = true;
     this.MaximizeBox = false;
     this.Name = "Frm_reporte_historialxestacion";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Historial x Estacion";
     this.Load += new System.EventHandler(this.Frm_reporte_historialxestacion_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Dgb_ControlStock)).EndInit();
     this.cmMenuGrid2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgb_mainStock)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dTStockBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dT_Stock)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bapEmpresa02DataSetBindingSource)).EndInit();
     this.cmMenuGrid.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.bandedGridView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Examinar_Historial)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewField_bandedGridColumn8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutViewCard1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     this.groupControl1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
示例#16
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(frmSalesTarget));
     this.grpSalesRank = new DevExpress.XtraEditors.GroupControl();
     this.groupBoxCommMSE = new System.Windows.Forms.GroupBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label3 = new System.Windows.Forms.Label();
     this.combo_DuplicateYearTo = new System.Windows.Forms.ComboBox();
     this.label4 = new System.Windows.Forms.Label();
     this.combo_DuplicateBranchTo = new System.Windows.Forms.ComboBox();
     this.btn_Duplicate = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.label1 = new System.Windows.Forms.Label();
     this.combo_DuplicateYearFrom = new System.Windows.Forms.ComboBox();
     this.label2 = new System.Windows.Forms.Label();
     this.combo_DuplicateBranchFrom = new System.Windows.Forms.ComboBox();
     this.label31 = new System.Windows.Forms.Label();
     this.ddlSalesRank = new DevExpress.XtraEditors.ImageComboBoxEdit();
     this.grpCommPT = new DevExpress.XtraEditors.GroupControl();
     this.btn_AddPT = new DevExpress.XtraEditors.SimpleButton();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.btn_DelPT = new DevExpress.XtraEditors.SimpleButton();
     this.groupControl3 = new DevExpress.XtraEditors.GroupControl();
     this.gridControlMd_CommPT = new DevExpress.XtraGrid.GridControl();
     this.gridViewMd_CommPT = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnCommPT8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_BranchCode3 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnCommPT9 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCommPT10 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.chk_Month3 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.gridColumnCommPT1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_Position3 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnCommPT2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCommPT3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCommPT4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCommPT5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCommPT6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCommPT7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCommPT11 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.grpCommProductTherapist = new DevExpress.XtraEditors.GroupControl();
     this.btn_AddProductTherapist = new DevExpress.XtraEditors.SimpleButton();
     this.btn_DelProductTherapist = new DevExpress.XtraEditors.SimpleButton();
     this.groupControl5 = new DevExpress.XtraEditors.GroupControl();
     this.gridControlMd_CommProductTherapist = new DevExpress.XtraGrid.GridControl();
     this.gridViewMd_CommProductTherapist = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnPT2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_BranchCode2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnPT4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnPT3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.chk_Month2 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.gridColumnPT1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_Position2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnPT5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnPT6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_CreditCategoryID = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.EffCCStartDate = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.EffCCEndDate = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.grpCommCST = new DevExpress.XtraEditors.GroupControl();
     this.btn_AddCST = new DevExpress.XtraEditors.SimpleButton();
     this.btn_DelCST = new DevExpress.XtraEditors.SimpleButton();
     this.groupControl6 = new DevExpress.XtraEditors.GroupControl();
     this.gridControlMd_CommCST = new DevExpress.XtraGrid.GridControl();
     this.gridViewMd_CommCST = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnCST3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_BranchCode4 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnCST7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCST8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.chk_Month4 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.gridColumnCST1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_Position4 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnCST2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCST4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCST5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCST6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnCST9 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemLookUpEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.repositoryItemDateEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.repositoryItemDateEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.grpCommMerge = new DevExpress.XtraEditors.GroupControl();
     this.btn_AddMerge = new DevExpress.XtraEditors.SimpleButton();
     this.btn_DelMerge = new DevExpress.XtraEditors.SimpleButton();
     this.groupControl7 = new DevExpress.XtraEditors.GroupControl();
     this.gridControlMd_CommMerge = new DevExpress.XtraGrid.GridControl();
     this.gridViewMd_CommMerge = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnM3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_BranchCode5 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnM7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnM8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.chk_Month5 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.gridColumnM1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_Position5 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnM2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnM4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnM5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnM6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnM9 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemLookUpEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.repositoryItemDateEdit5 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.repositoryItemDateEdit6 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.grpCommMSE = new DevExpress.XtraEditors.GroupControl();
     this.btn_AddMSE = new DevExpress.XtraEditors.SimpleButton();
     this.btn_DelMSE = new DevExpress.XtraEditors.SimpleButton();
     this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
     this.gridControlMd_SalesTarget = new DevExpress.XtraGrid.GridControl();
     this.gridViewMd_SalesTarget = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnPKG3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_BranchCode0 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnPKG7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tedit_nYear = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumnPKG8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.chk_Month0 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.gridColumnPKG1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_Position0 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnPKG2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tedit_strDesc = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumnPKG4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tedit_Commission = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumnPKG5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tedit_mTargetFrom = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumnPKG6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.tedit_mTargetTo = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.gridColumnPKG9 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.de_nYear = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.strDesc = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.lk_SalesRank = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.tedit_strType = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.tedit_strCommID = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.tedit_strBranch = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.de_nMonth = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.tedit_nMonth = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.cardView1 = new DevExpress.XtraGrid.Views.Card.CardView();
     this.grpCommSpaConsult = new DevExpress.XtraEditors.GroupControl();
     this.btn_AddSpaConsult = new DevExpress.XtraEditors.SimpleButton();
     this.btn_DelSpaConsult = new DevExpress.XtraEditors.SimpleButton();
     this.groupControl4 = new DevExpress.XtraEditors.GroupControl();
     this.gridControlMd_CommSpaConsult = new DevExpress.XtraGrid.GridControl();
     this.gridViewMd_CommSpaConsult = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumnPG3 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_BranchCode1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnPG7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnPG8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.chk_Month1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.gridColumnPG1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_Position1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.gridColumnPG2 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnPG4 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnPG9 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnPG5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnPG6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumnPG10 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.lk_pkGroupCatID = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
     this.tedit_SC_strCommID = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     ((System.ComponentModel.ISupportInitialize)(this.grpSalesRank)).BeginInit();
     this.grpSalesRank.SuspendLayout();
     this.groupBoxCommMSE.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ddlSalesRank.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommPT)).BeginInit();
     this.grpCommPT.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).BeginInit();
     this.groupControl3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_CommPT)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_CommPT)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommProductTherapist)).BeginInit();
     this.grpCommProductTherapist.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).BeginInit();
     this.groupControl5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_CommProductTherapist)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_CommProductTherapist)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_CreditCategoryID)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.EffCCStartDate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.EffCCStartDate.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.EffCCEndDate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.EffCCEndDate.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommCST)).BeginInit();
     this.grpCommCST.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).BeginInit();
     this.groupControl6.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_CommCST)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_CommCST)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit4.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommMerge)).BeginInit();
     this.grpCommMerge.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl7)).BeginInit();
     this.groupControl7.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_CommMerge)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_CommMerge)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit5.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit6.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommMSE)).BeginInit();
     this.grpCommMSE.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
     this.groupControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_SalesTarget)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_SalesTarget)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode0)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_nYear)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month0)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position0)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_strDesc)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_Commission)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_mTargetFrom)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_mTargetTo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.de_nYear)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.de_nYear.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.strDesc)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.strDesc.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_SalesRank)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_strType)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_strCommID)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_strBranch)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.de_nMonth)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.de_nMonth.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_nMonth)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommSpaConsult)).BeginInit();
     this.grpCommSpaConsult.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).BeginInit();
     this.groupControl4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_CommSpaConsult)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_CommSpaConsult)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_pkGroupCatID)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_SC_strCommID)).BeginInit();
     this.SuspendLayout();
     //
     // grpSalesRank
     //
     this.grpSalesRank.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.grpSalesRank.Appearance.Options.UseBackColor = true;
     this.grpSalesRank.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grpSalesRank.AppearanceCaption.Options.UseFont = true;
     this.grpSalesRank.Controls.Add(this.groupBoxCommMSE);
     this.grpSalesRank.Controls.Add(this.label31);
     this.grpSalesRank.Controls.Add(this.ddlSalesRank);
     this.grpSalesRank.Controls.Add(this.grpCommPT);
     this.grpSalesRank.Controls.Add(this.grpCommProductTherapist);
     this.grpSalesRank.Controls.Add(this.grpCommCST);
     this.grpSalesRank.Controls.Add(this.grpCommMerge);
     this.grpSalesRank.Controls.Add(this.grpCommMSE);
     this.grpSalesRank.Controls.Add(this.grpCommSpaConsult);
     this.grpSalesRank.ImeMode = System.Windows.Forms.ImeMode.On;
     this.grpSalesRank.Location = new System.Drawing.Point(8, 2);
     this.grpSalesRank.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.grpSalesRank.LookAndFeel.UseDefaultLookAndFeel = false;
     this.grpSalesRank.Name = "grpSalesRank";
     this.grpSalesRank.Size = new System.Drawing.Size(968, 455);
     this.grpSalesRank.TabIndex = 93;
     this.grpSalesRank.Text = "MASTER FILE";
     //
     // groupBoxCommMSE
     //
     this.groupBoxCommMSE.BackColor = System.Drawing.SystemColors.Control;
     this.groupBoxCommMSE.Controls.Add(this.groupBox2);
     this.groupBoxCommMSE.Controls.Add(this.btn_Duplicate);
     this.groupBoxCommMSE.Controls.Add(this.groupBox1);
     this.groupBoxCommMSE.Location = new System.Drawing.Point(248, 291);
     this.groupBoxCommMSE.Name = "groupBoxCommMSE";
     this.groupBoxCommMSE.Size = new System.Drawing.Size(444, 151);
     this.groupBoxCommMSE.TabIndex = 140;
     this.groupBoxCommMSE.TabStop = false;
     this.groupBoxCommMSE.Text = "Duplicate Records";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.combo_DuplicateYearTo);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.combo_DuplicateBranchTo);
     this.groupBox2.Location = new System.Drawing.Point(236, 21);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(192, 79);
     this.groupBox2.TabIndex = 5;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "To";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(6, 21);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(52, 15);
     this.label3.TabIndex = 0;
     this.label3.Text = "Branch :";
     //
     // combo_DuplicateYearTo
     //
     this.combo_DuplicateYearTo.FormattingEnabled = true;
     this.combo_DuplicateYearTo.Location = new System.Drawing.Point(64, 47);
     this.combo_DuplicateYearTo.Name = "combo_DuplicateYearTo";
     this.combo_DuplicateYearTo.Size = new System.Drawing.Size(121, 21);
     this.combo_DuplicateYearTo.TabIndex = 3;
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(6, 51);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(38, 15);
     this.label4.TabIndex = 1;
     this.label4.Text = "Year :";
     //
     // combo_DuplicateBranchTo
     //
     this.combo_DuplicateBranchTo.FormattingEnabled = true;
     this.combo_DuplicateBranchTo.Location = new System.Drawing.Point(65, 19);
     this.combo_DuplicateBranchTo.Name = "combo_DuplicateBranchTo";
     this.combo_DuplicateBranchTo.Size = new System.Drawing.Size(121, 21);
     this.combo_DuplicateBranchTo.TabIndex = 2;
     //
     // btn_Duplicate
     //
     this.btn_Duplicate.Location = new System.Drawing.Point(191, 112);
     this.btn_Duplicate.Name = "btn_Duplicate";
     this.btn_Duplicate.Size = new System.Drawing.Size(75, 23);
     this.btn_Duplicate.TabIndex = 6;
     this.btn_Duplicate.Text = "Duplicate";
     this.btn_Duplicate.UseVisualStyleBackColor = true;
     this.btn_Duplicate.Click += new System.EventHandler(this.btn_Duplicate_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.combo_DuplicateYearFrom);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.combo_DuplicateBranchFrom);
     this.groupBox1.Location = new System.Drawing.Point(18, 21);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(192, 79);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "From";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(6, 21);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(52, 15);
     this.label1.TabIndex = 0;
     this.label1.Text = "Branch :";
     //
     // combo_DuplicateYearFrom
     //
     this.combo_DuplicateYearFrom.FormattingEnabled = true;
     this.combo_DuplicateYearFrom.Location = new System.Drawing.Point(64, 50);
     this.combo_DuplicateYearFrom.Name = "combo_DuplicateYearFrom";
     this.combo_DuplicateYearFrom.Size = new System.Drawing.Size(121, 21);
     this.combo_DuplicateYearFrom.TabIndex = 3;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(6, 51);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(38, 15);
     this.label2.TabIndex = 1;
     this.label2.Text = "Year :";
     //
     // combo_DuplicateBranchFrom
     //
     this.combo_DuplicateBranchFrom.FormattingEnabled = true;
     this.combo_DuplicateBranchFrom.Location = new System.Drawing.Point(64, 20);
     this.combo_DuplicateBranchFrom.Name = "combo_DuplicateBranchFrom";
     this.combo_DuplicateBranchFrom.Size = new System.Drawing.Size(121, 21);
     this.combo_DuplicateBranchFrom.TabIndex = 2;
     //
     // label31
     //
     this.label31.BackColor = System.Drawing.Color.Transparent;
     this.label31.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label31.Location = new System.Drawing.Point(8, 24);
     this.label31.Name = "label31";
     this.label31.Size = new System.Drawing.Size(136, 16);
     this.label31.TabIndex = 116;
     this.label31.Text = "Sales Rank";
     this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ddlSalesRank
     //
     this.ddlSalesRank.EditValue = 0;
     this.ddlSalesRank.Location = new System.Drawing.Point(144, 24);
     this.ddlSalesRank.Name = "ddlSalesRank";
     this.ddlSalesRank.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.ddlSalesRank.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
     new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Fitness Package/Product", 0, -1),
     new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Spa Package/IPL Service", 1, -1),
     new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Spa Product", 2, -1),
     new DevExpress.XtraEditors.Controls.ImageComboBoxItem("PT Service", 3, -1),
     new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Cross Selling", 4, -1),
     new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Merge", 5, -1)});
     this.ddlSalesRank.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.ddlSalesRank.Properties.SmallImages = "";
     this.ddlSalesRank.Size = new System.Drawing.Size(176, 20);
     this.ddlSalesRank.TabIndex = 19;
     this.ddlSalesRank.SelectedIndexChanged += new System.EventHandler(this.ddlSalesRank_SelectedIndexChanged);
     //
     // grpCommPT
     //
     this.grpCommPT.Controls.Add(this.btn_AddPT);
     this.grpCommPT.Controls.Add(this.btn_DelPT);
     this.grpCommPT.Controls.Add(this.groupControl3);
     this.grpCommPT.Location = new System.Drawing.Point(4, 48);
     this.grpCommPT.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.grpCommPT.LookAndFeel.UseDefaultLookAndFeel = false;
     this.grpCommPT.Name = "grpCommPT";
     this.grpCommPT.Size = new System.Drawing.Size(960, 237);
     this.grpCommPT.TabIndex = 137;
     this.grpCommPT.Text = "Sales Target";
     this.grpCommPT.Visible = false;
     //
     // btn_AddPT
     //
     this.btn_AddPT.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_AddPT.Appearance.Options.UseFont = true;
     this.btn_AddPT.Appearance.Options.UseTextOptions = true;
     this.btn_AddPT.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_AddPT.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_AddPT.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_AddPT.ImageIndex = 0;
     this.btn_AddPT.ImageList = this.imageList1;
     this.btn_AddPT.ImeMode = System.Windows.Forms.ImeMode.On;
     this.btn_AddPT.Location = new System.Drawing.Point(8, 24);
     this.btn_AddPT.Name = "btn_AddPT";
     this.btn_AddPT.Size = new System.Drawing.Size(38, 16);
     this.btn_AddPT.TabIndex = 136;
     this.btn_AddPT.Click += new System.EventHandler(this.btn_AddPT_Click);
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Magenta;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     this.imageList1.Images.SetKeyName(6, "");
     //
     // btn_DelPT
     //
     this.btn_DelPT.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_DelPT.Appearance.Options.UseFont = true;
     this.btn_DelPT.Appearance.Options.UseTextOptions = true;
     this.btn_DelPT.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_DelPT.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_DelPT.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_DelPT.ImageIndex = 1;
     this.btn_DelPT.ImageList = this.imageList1;
     this.btn_DelPT.Location = new System.Drawing.Point(48, 24);
     this.btn_DelPT.Name = "btn_DelPT";
     this.btn_DelPT.Size = new System.Drawing.Size(38, 16);
     this.btn_DelPT.TabIndex = 135;
     this.btn_DelPT.Click += new System.EventHandler(this.btn_DelPT_Click);
     //
     // groupControl3
     //
     this.groupControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupControl3.Controls.Add(this.gridControlMd_CommPT);
     this.groupControl3.Location = new System.Drawing.Point(0, 40);
     this.groupControl3.Name = "groupControl3";
     this.groupControl3.Size = new System.Drawing.Size(952, 192);
     this.groupControl3.TabIndex = 2;
     this.groupControl3.Text = "groupControl3";
     //
     // gridControlMd_CommPT
     //
     this.gridControlMd_CommPT.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMd_CommPT.Location = new System.Drawing.Point(0, 0);
     this.gridControlMd_CommPT.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridControlMd_CommPT.MainView = this.gridViewMd_CommPT;
     this.gridControlMd_CommPT.Name = "gridControlMd_CommPT";
     this.gridControlMd_CommPT.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemLookUpEdit1,
     this.repositoryItemDateEdit1,
     this.repositoryItemDateEdit2,
     this.lk_Position3,
     this.lk_BranchCode3,
     this.chk_Month3});
     this.gridControlMd_CommPT.Size = new System.Drawing.Size(952, 192);
     this.gridControlMd_CommPT.TabIndex = 2;
     this.gridControlMd_CommPT.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMd_CommPT});
     //
     // gridViewMd_CommPT
     //
     this.gridViewMd_CommPT.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnCommPT8,
     this.gridColumnCommPT9,
     this.gridColumnCommPT10,
     this.gridColumnCommPT1,
     this.gridColumnCommPT2,
     this.gridColumnCommPT3,
     this.gridColumnCommPT4,
     this.gridColumnCommPT5,
     this.gridColumnCommPT6,
     this.gridColumnCommPT7,
     this.gridColumnCommPT11});
     this.gridViewMd_CommPT.GridControl = this.gridControlMd_CommPT;
     this.gridViewMd_CommPT.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_CommPT.Name = "gridViewMd_CommPT";
     this.gridViewMd_CommPT.OptionsView.ColumnAutoWidth = false;
     this.gridViewMd_CommPT.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button;
     this.gridViewMd_CommPT.OptionsView.ShowGroupPanel = false;
     this.gridViewMd_CommPT.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_CommPT.LostFocus += new System.EventHandler(this.gridViewMd_CommPT_LostFocus);
     //
     // gridColumnCommPT8
     //
     this.gridColumnCommPT8.Caption = "Branch";
     this.gridColumnCommPT8.ColumnEdit = this.lk_BranchCode3;
     this.gridColumnCommPT8.FieldName = "strBranchCode";
     this.gridColumnCommPT8.Name = "gridColumnCommPT8";
     this.gridColumnCommPT8.Visible = true;
     this.gridColumnCommPT8.VisibleIndex = 0;
     this.gridColumnCommPT8.Width = 90;
     //
     // lk_BranchCode3
     //
     this.lk_BranchCode3.AutoHeight = false;
     this.lk_BranchCode3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_BranchCode3.Name = "lk_BranchCode3";
     //
     // gridColumnCommPT9
     //
     this.gridColumnCommPT9.Caption = "Year";
     this.gridColumnCommPT9.FieldName = "nYear";
     this.gridColumnCommPT9.Name = "gridColumnCommPT9";
     this.gridColumnCommPT9.Visible = true;
     this.gridColumnCommPT9.VisibleIndex = 1;
     this.gridColumnCommPT9.Width = 90;
     //
     // gridColumnCommPT10
     //
     this.gridColumnCommPT10.Caption = "Month";
     this.gridColumnCommPT10.ColumnEdit = this.chk_Month3;
     this.gridColumnCommPT10.FieldName = "nMonth";
     this.gridColumnCommPT10.Name = "gridColumnCommPT10";
     this.gridColumnCommPT10.Visible = true;
     this.gridColumnCommPT10.VisibleIndex = 2;
     this.gridColumnCommPT10.Width = 90;
     //
     // chk_Month3
     //
     this.chk_Month3.AutoHeight = false;
     this.chk_Month3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.chk_Month3.Items.AddRange(new object[] {
     "1",
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9",
     "10",
     "11",
     "12"});
     this.chk_Month3.Name = "chk_Month3";
     //
     // gridColumnCommPT1
     //
     this.gridColumnCommPT1.Caption = "Position";
     this.gridColumnCommPT1.ColumnEdit = this.lk_Position3;
     this.gridColumnCommPT1.FieldName = "strCommID";
     this.gridColumnCommPT1.Name = "gridColumnCommPT1";
     this.gridColumnCommPT1.Visible = true;
     this.gridColumnCommPT1.VisibleIndex = 3;
     this.gridColumnCommPT1.Width = 90;
     //
     // lk_Position3
     //
     this.lk_Position3.AutoHeight = false;
     this.lk_Position3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_Position3.Name = "lk_Position3";
     //
     // gridColumnCommPT2
     //
     this.gridColumnCommPT2.Caption = "Description";
     this.gridColumnCommPT2.FieldName = "strDesc";
     this.gridColumnCommPT2.Name = "gridColumnCommPT2";
     this.gridColumnCommPT2.OptionsFilter.AllowFilter = false;
     this.gridColumnCommPT2.Visible = true;
     this.gridColumnCommPT2.VisibleIndex = 4;
     this.gridColumnCommPT2.Width = 90;
     //
     // gridColumnCommPT3
     //
     this.gridColumnCommPT3.Caption = "PT Session From";
     this.gridColumnCommPT3.FieldName = "nPTSessionFrom";
     this.gridColumnCommPT3.Name = "gridColumnCommPT3";
     this.gridColumnCommPT3.OptionsFilter.AllowFilter = false;
     this.gridColumnCommPT3.Visible = true;
     this.gridColumnCommPT3.VisibleIndex = 5;
     this.gridColumnCommPT3.Width = 90;
     //
     // gridColumnCommPT4
     //
     this.gridColumnCommPT4.Caption = "PT Session To";
     this.gridColumnCommPT4.FieldName = "nPTSessionTo";
     this.gridColumnCommPT4.Name = "gridColumnCommPT4";
     this.gridColumnCommPT4.OptionsFilter.AllowFilter = false;
     this.gridColumnCommPT4.Visible = true;
     this.gridColumnCommPT4.VisibleIndex = 6;
     this.gridColumnCommPT4.Width = 90;
     //
     // gridColumnCommPT5
     //
     this.gridColumnCommPT5.Caption = "PT Comm";
     this.gridColumnCommPT5.FieldName = "nPTComm";
     this.gridColumnCommPT5.Name = "gridColumnCommPT5";
     this.gridColumnCommPT5.OptionsFilter.AllowFilter = false;
     this.gridColumnCommPT5.Visible = true;
     this.gridColumnCommPT5.VisibleIndex = 7;
     this.gridColumnCommPT5.Width = 90;
     //
     // gridColumnCommPT6
     //
     this.gridColumnCommPT6.Caption = "Target From";
     this.gridColumnCommPT6.FieldName = "mTargetFrom";
     this.gridColumnCommPT6.Name = "gridColumnCommPT6";
     this.gridColumnCommPT6.OptionsFilter.AllowFilter = false;
     this.gridColumnCommPT6.Visible = true;
     this.gridColumnCommPT6.VisibleIndex = 8;
     this.gridColumnCommPT6.Width = 90;
     //
     // gridColumnCommPT7
     //
     this.gridColumnCommPT7.Caption = "Target To";
     this.gridColumnCommPT7.FieldName = "mTargetTo";
     this.gridColumnCommPT7.Name = "gridColumnCommPT7";
     this.gridColumnCommPT7.OptionsFilter.AllowFilter = false;
     this.gridColumnCommPT7.Visible = true;
     this.gridColumnCommPT7.VisibleIndex = 9;
     this.gridColumnCommPT7.Width = 90;
     //
     // gridColumnCommPT11
     //
     this.gridColumnCommPT11.Caption = "CommPTID";
     this.gridColumnCommPT11.FieldName = "nCommPTID";
     this.gridColumnCommPT11.Name = "gridColumnCommPT11";
     this.gridColumnCommPT11.OptionsFilter.AllowFilter = false;
     this.gridColumnCommPT11.Width = 64;
     //
     // repositoryItemLookUpEdit1
     //
     this.repositoryItemLookUpEdit1.AutoHeight = false;
     this.repositoryItemLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemLookUpEdit1.Name = "repositoryItemLookUpEdit1";
     //
     // repositoryItemDateEdit1
     //
     this.repositoryItemDateEdit1.AutoHeight = false;
     this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
     this.repositoryItemDateEdit1.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // 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.Name = "repositoryItemDateEdit2";
     this.repositoryItemDateEdit2.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // grpCommProductTherapist
     //
     this.grpCommProductTherapist.Controls.Add(this.btn_AddProductTherapist);
     this.grpCommProductTherapist.Controls.Add(this.btn_DelProductTherapist);
     this.grpCommProductTherapist.Controls.Add(this.groupControl5);
     this.grpCommProductTherapist.Location = new System.Drawing.Point(4, 48);
     this.grpCommProductTherapist.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.grpCommProductTherapist.LookAndFeel.UseDefaultLookAndFeel = false;
     this.grpCommProductTherapist.Name = "grpCommProductTherapist";
     this.grpCommProductTherapist.Size = new System.Drawing.Size(960, 237);
     this.grpCommProductTherapist.TabIndex = 121;
     this.grpCommProductTherapist.Text = "Sales Target";
     this.grpCommProductTherapist.Visible = false;
     //
     // btn_AddProductTherapist
     //
     this.btn_AddProductTherapist.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_AddProductTherapist.Appearance.Options.UseFont = true;
     this.btn_AddProductTherapist.Appearance.Options.UseTextOptions = true;
     this.btn_AddProductTherapist.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_AddProductTherapist.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_AddProductTherapist.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_AddProductTherapist.ImageIndex = 0;
     this.btn_AddProductTherapist.ImageList = this.imageList1;
     this.btn_AddProductTherapist.ImeMode = System.Windows.Forms.ImeMode.On;
     this.btn_AddProductTherapist.Location = new System.Drawing.Point(8, 24);
     this.btn_AddProductTherapist.Name = "btn_AddProductTherapist";
     this.btn_AddProductTherapist.Size = new System.Drawing.Size(38, 16);
     this.btn_AddProductTherapist.TabIndex = 136;
     this.btn_AddProductTherapist.Click += new System.EventHandler(this.btn_AddProductTherapist_Click);
     //
     // btn_DelProductTherapist
     //
     this.btn_DelProductTherapist.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_DelProductTherapist.Appearance.Options.UseFont = true;
     this.btn_DelProductTherapist.Appearance.Options.UseTextOptions = true;
     this.btn_DelProductTherapist.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_DelProductTherapist.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_DelProductTherapist.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_DelProductTherapist.ImageIndex = 1;
     this.btn_DelProductTherapist.ImageList = this.imageList1;
     this.btn_DelProductTherapist.Location = new System.Drawing.Point(48, 24);
     this.btn_DelProductTherapist.Name = "btn_DelProductTherapist";
     this.btn_DelProductTherapist.Size = new System.Drawing.Size(38, 16);
     this.btn_DelProductTherapist.TabIndex = 135;
     this.btn_DelProductTherapist.Click += new System.EventHandler(this.btn_DelProductTherapist_Click);
     //
     // groupControl5
     //
     this.groupControl5.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupControl5.Controls.Add(this.gridControlMd_CommProductTherapist);
     this.groupControl5.Location = new System.Drawing.Point(0, 40);
     this.groupControl5.Name = "groupControl5";
     this.groupControl5.Size = new System.Drawing.Size(952, 192);
     this.groupControl5.TabIndex = 2;
     this.groupControl5.Text = "groupControl5";
     //
     // gridControlMd_CommProductTherapist
     //
     this.gridControlMd_CommProductTherapist.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMd_CommProductTherapist.Location = new System.Drawing.Point(0, 0);
     this.gridControlMd_CommProductTherapist.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridControlMd_CommProductTherapist.MainView = this.gridViewMd_CommProductTherapist;
     this.gridControlMd_CommProductTherapist.Name = "gridControlMd_CommProductTherapist";
     this.gridControlMd_CommProductTherapist.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.lk_CreditCategoryID,
     this.EffCCStartDate,
     this.EffCCEndDate,
     this.lk_Position2,
     this.lk_BranchCode2,
     this.chk_Month2});
     this.gridControlMd_CommProductTherapist.Size = new System.Drawing.Size(952, 192);
     this.gridControlMd_CommProductTherapist.TabIndex = 2;
     this.gridControlMd_CommProductTherapist.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMd_CommProductTherapist});
     //
     // gridViewMd_CommProductTherapist
     //
     this.gridViewMd_CommProductTherapist.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnPT2,
     this.gridColumnPT4,
     this.gridColumnPT3,
     this.gridColumnPT1,
     this.gridColumnPT5,
     this.gridColumnPT6});
     this.gridViewMd_CommProductTherapist.GridControl = this.gridControlMd_CommProductTherapist;
     this.gridViewMd_CommProductTherapist.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_CommProductTherapist.Name = "gridViewMd_CommProductTherapist";
     this.gridViewMd_CommProductTherapist.OptionsView.ColumnAutoWidth = false;
     this.gridViewMd_CommProductTherapist.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button;
     this.gridViewMd_CommProductTherapist.OptionsView.ShowGroupPanel = false;
     this.gridViewMd_CommProductTherapist.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_CommProductTherapist.LostFocus += new System.EventHandler(this.gridViewMd_CommProductTherapist_LostFocus);
     //
     // gridColumnPT2
     //
     this.gridColumnPT2.Caption = "Branch";
     this.gridColumnPT2.ColumnEdit = this.lk_BranchCode2;
     this.gridColumnPT2.FieldName = "strBranchCode";
     this.gridColumnPT2.Name = "gridColumnPT2";
     this.gridColumnPT2.Visible = true;
     this.gridColumnPT2.VisibleIndex = 0;
     this.gridColumnPT2.Width = 90;
     //
     // lk_BranchCode2
     //
     this.lk_BranchCode2.AutoHeight = false;
     this.lk_BranchCode2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_BranchCode2.Name = "lk_BranchCode2";
     //
     // gridColumnPT4
     //
     this.gridColumnPT4.Caption = "Year";
     this.gridColumnPT4.FieldName = "nYear";
     this.gridColumnPT4.Name = "gridColumnPT4";
     this.gridColumnPT4.Visible = true;
     this.gridColumnPT4.VisibleIndex = 1;
     this.gridColumnPT4.Width = 90;
     //
     // gridColumnPT3
     //
     this.gridColumnPT3.Caption = "Month";
     this.gridColumnPT3.ColumnEdit = this.chk_Month2;
     this.gridColumnPT3.FieldName = "nMonth";
     this.gridColumnPT3.Name = "gridColumnPT3";
     this.gridColumnPT3.Visible = true;
     this.gridColumnPT3.VisibleIndex = 2;
     this.gridColumnPT3.Width = 90;
     //
     // chk_Month2
     //
     this.chk_Month2.AutoHeight = false;
     this.chk_Month2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.chk_Month2.Items.AddRange(new object[] {
     "1",
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9",
     "10",
     "11",
     "12"});
     this.chk_Month2.Name = "chk_Month2";
     //
     // gridColumnPT1
     //
     this.gridColumnPT1.Caption = "Position";
     this.gridColumnPT1.ColumnEdit = this.lk_Position2;
     this.gridColumnPT1.FieldName = "strPosition";
     this.gridColumnPT1.Name = "gridColumnPT1";
     this.gridColumnPT1.Visible = true;
     this.gridColumnPT1.VisibleIndex = 3;
     this.gridColumnPT1.Width = 90;
     //
     // lk_Position2
     //
     this.lk_Position2.AutoHeight = false;
     this.lk_Position2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_Position2.Name = "lk_Position2";
     //
     // gridColumnPT5
     //
     this.gridColumnPT5.Caption = "Product Target";
     this.gridColumnPT5.FieldName = "mProductTarget";
     this.gridColumnPT5.Name = "gridColumnPT5";
     this.gridColumnPT5.OptionsFilter.AllowFilter = false;
     this.gridColumnPT5.Visible = true;
     this.gridColumnPT5.VisibleIndex = 4;
     this.gridColumnPT5.Width = 90;
     //
     // gridColumnPT6
     //
     this.gridColumnPT6.Caption = "Product Therapist ID";
     this.gridColumnPT6.FieldName = "nCommProductTherapistID";
     this.gridColumnPT6.Name = "gridColumnPT6";
     this.gridColumnPT6.OptionsFilter.AllowFilter = false;
     this.gridColumnPT6.Width = 111;
     //
     // lk_CreditCategoryID
     //
     this.lk_CreditCategoryID.AutoHeight = false;
     this.lk_CreditCategoryID.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_CreditCategoryID.Name = "lk_CreditCategoryID";
     //
     // EffCCStartDate
     //
     this.EffCCStartDate.AutoHeight = false;
     this.EffCCStartDate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.EffCCStartDate.Name = "EffCCStartDate";
     this.EffCCStartDate.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // EffCCEndDate
     //
     this.EffCCEndDate.AutoHeight = false;
     this.EffCCEndDate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.EffCCEndDate.Name = "EffCCEndDate";
     this.EffCCEndDate.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // grpCommCST
     //
     this.grpCommCST.Controls.Add(this.btn_AddCST);
     this.grpCommCST.Controls.Add(this.btn_DelCST);
     this.grpCommCST.Controls.Add(this.groupControl6);
     this.grpCommCST.Location = new System.Drawing.Point(4, 48);
     this.grpCommCST.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.grpCommCST.LookAndFeel.UseDefaultLookAndFeel = false;
     this.grpCommCST.Name = "grpCommCST";
     this.grpCommCST.Size = new System.Drawing.Size(960, 237);
     this.grpCommCST.TabIndex = 138;
     this.grpCommCST.Text = "Sales Target";
     this.grpCommCST.Visible = false;
     //
     // btn_AddCST
     //
     this.btn_AddCST.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_AddCST.Appearance.Options.UseFont = true;
     this.btn_AddCST.Appearance.Options.UseTextOptions = true;
     this.btn_AddCST.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_AddCST.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_AddCST.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_AddCST.ImageIndex = 0;
     this.btn_AddCST.ImageList = this.imageList1;
     this.btn_AddCST.ImeMode = System.Windows.Forms.ImeMode.On;
     this.btn_AddCST.Location = new System.Drawing.Point(8, 24);
     this.btn_AddCST.Name = "btn_AddCST";
     this.btn_AddCST.Size = new System.Drawing.Size(38, 16);
     this.btn_AddCST.TabIndex = 136;
     this.btn_AddCST.Click += new System.EventHandler(this.btn_AddCST_Click);
     //
     // btn_DelCST
     //
     this.btn_DelCST.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_DelCST.Appearance.Options.UseFont = true;
     this.btn_DelCST.Appearance.Options.UseTextOptions = true;
     this.btn_DelCST.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_DelCST.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_DelCST.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_DelCST.ImageIndex = 1;
     this.btn_DelCST.ImageList = this.imageList1;
     this.btn_DelCST.Location = new System.Drawing.Point(48, 24);
     this.btn_DelCST.Name = "btn_DelCST";
     this.btn_DelCST.Size = new System.Drawing.Size(38, 16);
     this.btn_DelCST.TabIndex = 135;
     this.btn_DelCST.Click += new System.EventHandler(this.btn_DelCST_Click);
     //
     // groupControl6
     //
     this.groupControl6.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupControl6.Controls.Add(this.gridControlMd_CommCST);
     this.groupControl6.Location = new System.Drawing.Point(0, 40);
     this.groupControl6.Name = "groupControl6";
     this.groupControl6.Size = new System.Drawing.Size(952, 192);
     this.groupControl6.TabIndex = 2;
     this.groupControl6.Text = "groupControl6";
     //
     // gridControlMd_CommCST
     //
     this.gridControlMd_CommCST.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMd_CommCST.Location = new System.Drawing.Point(0, 0);
     this.gridControlMd_CommCST.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridControlMd_CommCST.MainView = this.gridViewMd_CommCST;
     this.gridControlMd_CommCST.Name = "gridControlMd_CommCST";
     this.gridControlMd_CommCST.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemLookUpEdit2,
     this.repositoryItemDateEdit3,
     this.repositoryItemDateEdit4,
     this.lk_Position4,
     this.lk_BranchCode4,
     this.chk_Month4});
     this.gridControlMd_CommCST.Size = new System.Drawing.Size(952, 192);
     this.gridControlMd_CommCST.TabIndex = 2;
     this.gridControlMd_CommCST.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMd_CommCST});
     //
     // gridViewMd_CommCST
     //
     this.gridViewMd_CommCST.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnCST3,
     this.gridColumnCST7,
     this.gridColumnCST8,
     this.gridColumnCST1,
     this.gridColumnCST2,
     this.gridColumnCST4,
     this.gridColumnCST5,
     this.gridColumnCST6,
     this.gridColumnCST9});
     this.gridViewMd_CommCST.GridControl = this.gridControlMd_CommCST;
     this.gridViewMd_CommCST.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_CommCST.Name = "gridViewMd_CommCST";
     this.gridViewMd_CommCST.OptionsView.ColumnAutoWidth = false;
     this.gridViewMd_CommCST.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button;
     this.gridViewMd_CommCST.OptionsView.ShowGroupPanel = false;
     this.gridViewMd_CommCST.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_CommCST.LostFocus += new System.EventHandler(this.gridViewMd_CommCST_LostFocus);
     //
     // gridColumnCST3
     //
     this.gridColumnCST3.Caption = "Branch";
     this.gridColumnCST3.ColumnEdit = this.lk_BranchCode4;
     this.gridColumnCST3.FieldName = "strBranch";
     this.gridColumnCST3.Name = "gridColumnCST3";
     this.gridColumnCST3.Visible = true;
     this.gridColumnCST3.VisibleIndex = 0;
     this.gridColumnCST3.Width = 90;
     //
     // lk_BranchCode4
     //
     this.lk_BranchCode4.AutoHeight = false;
     this.lk_BranchCode4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_BranchCode4.Name = "lk_BranchCode4";
     //
     // gridColumnCST7
     //
     this.gridColumnCST7.Caption = "Year";
     this.gridColumnCST7.FieldName = "nYear";
     this.gridColumnCST7.Name = "gridColumnCST7";
     this.gridColumnCST7.Visible = true;
     this.gridColumnCST7.VisibleIndex = 1;
     this.gridColumnCST7.Width = 90;
     //
     // gridColumnCST8
     //
     this.gridColumnCST8.Caption = "Month";
     this.gridColumnCST8.ColumnEdit = this.chk_Month4;
     this.gridColumnCST8.FieldName = "nMonth";
     this.gridColumnCST8.Name = "gridColumnCST8";
     this.gridColumnCST8.Visible = true;
     this.gridColumnCST8.VisibleIndex = 2;
     this.gridColumnCST8.Width = 90;
     //
     // chk_Month4
     //
     this.chk_Month4.AutoHeight = false;
     this.chk_Month4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.chk_Month4.Items.AddRange(new object[] {
     "1",
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9",
     "10",
     "11",
     "12"});
     this.chk_Month4.Name = "chk_Month4";
     //
     // gridColumnCST1
     //
     this.gridColumnCST1.Caption = "Position";
     this.gridColumnCST1.ColumnEdit = this.lk_Position4;
     this.gridColumnCST1.FieldName = "strCommID";
     this.gridColumnCST1.Name = "gridColumnCST1";
     this.gridColumnCST1.Visible = true;
     this.gridColumnCST1.VisibleIndex = 3;
     this.gridColumnCST1.Width = 90;
     //
     // lk_Position4
     //
     this.lk_Position4.AutoHeight = false;
     this.lk_Position4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_Position4.Name = "lk_Position4";
     //
     // gridColumnCST2
     //
     this.gridColumnCST2.Caption = "Description";
     this.gridColumnCST2.FieldName = "strDesc";
     this.gridColumnCST2.Name = "gridColumnCST2";
     this.gridColumnCST2.OptionsFilter.AllowFilter = false;
     this.gridColumnCST2.Visible = true;
     this.gridColumnCST2.VisibleIndex = 4;
     this.gridColumnCST2.Width = 90;
     //
     // gridColumnCST4
     //
     this.gridColumnCST4.Caption = "Commission";
     this.gridColumnCST4.FieldName = "nCommision";
     this.gridColumnCST4.Name = "gridColumnCST4";
     this.gridColumnCST4.OptionsFilter.AllowFilter = false;
     this.gridColumnCST4.Visible = true;
     this.gridColumnCST4.VisibleIndex = 5;
     this.gridColumnCST4.Width = 90;
     //
     // gridColumnCST5
     //
     this.gridColumnCST5.Caption = "Target From";
     this.gridColumnCST5.FieldName = "mTargetFrom";
     this.gridColumnCST5.Name = "gridColumnCST5";
     this.gridColumnCST5.OptionsFilter.AllowFilter = false;
     this.gridColumnCST5.Visible = true;
     this.gridColumnCST5.VisibleIndex = 6;
     this.gridColumnCST5.Width = 90;
     //
     // gridColumnCST6
     //
     this.gridColumnCST6.Caption = "Target To";
     this.gridColumnCST6.FieldName = "mTargetTo";
     this.gridColumnCST6.Name = "gridColumnCST6";
     this.gridColumnCST6.OptionsFilter.AllowFilter = false;
     this.gridColumnCST6.Visible = true;
     this.gridColumnCST6.VisibleIndex = 7;
     this.gridColumnCST6.Width = 90;
     //
     // gridColumnCST9
     //
     this.gridColumnCST9.Caption = "CommCST";
     this.gridColumnCST9.FieldName = "nCommCST";
     this.gridColumnCST9.Name = "gridColumnCST9";
     this.gridColumnCST9.OptionsFilter.AllowFilter = false;
     this.gridColumnCST9.Width = 60;
     //
     // repositoryItemLookUpEdit2
     //
     this.repositoryItemLookUpEdit2.AutoHeight = false;
     this.repositoryItemLookUpEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemLookUpEdit2.Name = "repositoryItemLookUpEdit2";
     //
     // repositoryItemDateEdit3
     //
     this.repositoryItemDateEdit3.AutoHeight = false;
     this.repositoryItemDateEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit3.Name = "repositoryItemDateEdit3";
     this.repositoryItemDateEdit3.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // repositoryItemDateEdit4
     //
     this.repositoryItemDateEdit4.AutoHeight = false;
     this.repositoryItemDateEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit4.Name = "repositoryItemDateEdit4";
     this.repositoryItemDateEdit4.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // grpCommMerge
     //
     this.grpCommMerge.Controls.Add(this.btn_AddMerge);
     this.grpCommMerge.Controls.Add(this.btn_DelMerge);
     this.grpCommMerge.Controls.Add(this.groupControl7);
     this.grpCommMerge.Location = new System.Drawing.Point(4, 48);
     this.grpCommMerge.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.grpCommMerge.LookAndFeel.UseDefaultLookAndFeel = false;
     this.grpCommMerge.Name = "grpCommMerge";
     this.grpCommMerge.Size = new System.Drawing.Size(960, 237);
     this.grpCommMerge.TabIndex = 139;
     this.grpCommMerge.Text = "Sales Target";
     this.grpCommMerge.Visible = false;
     //
     // btn_AddMerge
     //
     this.btn_AddMerge.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_AddMerge.Appearance.Options.UseFont = true;
     this.btn_AddMerge.Appearance.Options.UseTextOptions = true;
     this.btn_AddMerge.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_AddMerge.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_AddMerge.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_AddMerge.ImageIndex = 0;
     this.btn_AddMerge.ImageList = this.imageList1;
     this.btn_AddMerge.ImeMode = System.Windows.Forms.ImeMode.On;
     this.btn_AddMerge.Location = new System.Drawing.Point(8, 24);
     this.btn_AddMerge.Name = "btn_AddMerge";
     this.btn_AddMerge.Size = new System.Drawing.Size(38, 16);
     this.btn_AddMerge.TabIndex = 136;
     this.btn_AddMerge.Click += new System.EventHandler(this.btn_AddMerge_Click);
     //
     // btn_DelMerge
     //
     this.btn_DelMerge.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_DelMerge.Appearance.Options.UseFont = true;
     this.btn_DelMerge.Appearance.Options.UseTextOptions = true;
     this.btn_DelMerge.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_DelMerge.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_DelMerge.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_DelMerge.ImageIndex = 1;
     this.btn_DelMerge.ImageList = this.imageList1;
     this.btn_DelMerge.Location = new System.Drawing.Point(48, 24);
     this.btn_DelMerge.Name = "btn_DelMerge";
     this.btn_DelMerge.Size = new System.Drawing.Size(38, 16);
     this.btn_DelMerge.TabIndex = 135;
     this.btn_DelMerge.Click += new System.EventHandler(this.btn_DelMerge_Click);
     //
     // groupControl7
     //
     this.groupControl7.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupControl7.Controls.Add(this.gridControlMd_CommMerge);
     this.groupControl7.Location = new System.Drawing.Point(0, 40);
     this.groupControl7.Name = "groupControl7";
     this.groupControl7.Size = new System.Drawing.Size(952, 192);
     this.groupControl7.TabIndex = 2;
     this.groupControl7.Text = "groupControl7";
     //
     // gridControlMd_CommMerge
     //
     this.gridControlMd_CommMerge.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMd_CommMerge.Location = new System.Drawing.Point(0, 0);
     this.gridControlMd_CommMerge.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridControlMd_CommMerge.MainView = this.gridViewMd_CommMerge;
     this.gridControlMd_CommMerge.Name = "gridControlMd_CommMerge";
     this.gridControlMd_CommMerge.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemLookUpEdit3,
     this.repositoryItemDateEdit5,
     this.repositoryItemDateEdit6,
     this.lk_BranchCode5,
     this.lk_Position5,
     this.chk_Month5});
     this.gridControlMd_CommMerge.Size = new System.Drawing.Size(952, 192);
     this.gridControlMd_CommMerge.TabIndex = 2;
     this.gridControlMd_CommMerge.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMd_CommMerge,
     this.gridView1});
     //
     // gridViewMd_CommMerge
     //
     this.gridViewMd_CommMerge.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnM3,
     this.gridColumnM7,
     this.gridColumnM8,
     this.gridColumnM1,
     this.gridColumnM2,
     this.gridColumnM4,
     this.gridColumnM5,
     this.gridColumnM6,
     this.gridColumnM9});
     this.gridViewMd_CommMerge.GridControl = this.gridControlMd_CommMerge;
     this.gridViewMd_CommMerge.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_CommMerge.Name = "gridViewMd_CommMerge";
     this.gridViewMd_CommMerge.OptionsView.ColumnAutoWidth = false;
     this.gridViewMd_CommMerge.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button;
     this.gridViewMd_CommMerge.OptionsView.ShowGroupPanel = false;
     this.gridViewMd_CommMerge.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_CommMerge.LostFocus += new System.EventHandler(this.gridViewMd_CommMerge_LostFocus);
     //
     // gridColumnM3
     //
     this.gridColumnM3.Caption = "Branch";
     this.gridColumnM3.ColumnEdit = this.lk_BranchCode5;
     this.gridColumnM3.FieldName = "strBranch";
     this.gridColumnM3.Name = "gridColumnM3";
     this.gridColumnM3.Visible = true;
     this.gridColumnM3.VisibleIndex = 0;
     this.gridColumnM3.Width = 90;
     //
     // lk_BranchCode5
     //
     this.lk_BranchCode5.AutoHeight = false;
     this.lk_BranchCode5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_BranchCode5.Name = "lk_BranchCode5";
     //
     // gridColumnM7
     //
     this.gridColumnM7.Caption = "Year";
     this.gridColumnM7.FieldName = "nYear";
     this.gridColumnM7.Name = "gridColumnM7";
     this.gridColumnM7.Visible = true;
     this.gridColumnM7.VisibleIndex = 1;
     this.gridColumnM7.Width = 90;
     //
     // gridColumnM8
     //
     this.gridColumnM8.Caption = "Month";
     this.gridColumnM8.ColumnEdit = this.chk_Month5;
     this.gridColumnM8.FieldName = "nMonth";
     this.gridColumnM8.Name = "gridColumnM8";
     this.gridColumnM8.Visible = true;
     this.gridColumnM8.VisibleIndex = 2;
     this.gridColumnM8.Width = 90;
     //
     // chk_Month5
     //
     this.chk_Month5.AutoHeight = false;
     this.chk_Month5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.chk_Month5.Items.AddRange(new object[] {
     "1",
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9",
     "10",
     "11",
     "12"});
     this.chk_Month5.Name = "chk_Month5";
     //
     // gridColumnM1
     //
     this.gridColumnM1.Caption = "Position";
     this.gridColumnM1.ColumnEdit = this.lk_Position5;
     this.gridColumnM1.FieldName = "strCommID";
     this.gridColumnM1.Name = "gridColumnM1";
     this.gridColumnM1.Visible = true;
     this.gridColumnM1.VisibleIndex = 3;
     this.gridColumnM1.Width = 90;
     //
     // lk_Position5
     //
     this.lk_Position5.AutoHeight = false;
     this.lk_Position5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_Position5.Name = "lk_Position5";
     //
     // gridColumnM2
     //
     this.gridColumnM2.Caption = "Description";
     this.gridColumnM2.FieldName = "strDesc";
     this.gridColumnM2.Name = "gridColumnM2";
     this.gridColumnM2.OptionsFilter.AllowFilter = false;
     this.gridColumnM2.Visible = true;
     this.gridColumnM2.VisibleIndex = 4;
     this.gridColumnM2.Width = 90;
     //
     // gridColumnM4
     //
     this.gridColumnM4.Caption = "Commission";
     this.gridColumnM4.FieldName = "nCommision";
     this.gridColumnM4.Name = "gridColumnM4";
     this.gridColumnM4.OptionsFilter.AllowFilter = false;
     this.gridColumnM4.Visible = true;
     this.gridColumnM4.VisibleIndex = 5;
     this.gridColumnM4.Width = 90;
     //
     // gridColumnM5
     //
     this.gridColumnM5.Caption = "Target From";
     this.gridColumnM5.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.gridColumnM5.FieldName = "mTargetFrom";
     this.gridColumnM5.Name = "gridColumnM5";
     this.gridColumnM5.OptionsFilter.AllowFilter = false;
     this.gridColumnM5.Visible = true;
     this.gridColumnM5.VisibleIndex = 6;
     this.gridColumnM5.Width = 90;
     //
     // gridColumnM6
     //
     this.gridColumnM6.Caption = "Target To";
     this.gridColumnM6.FieldName = "mTargetTo";
     this.gridColumnM6.Name = "gridColumnM6";
     this.gridColumnM6.OptionsFilter.AllowFilter = false;
     this.gridColumnM6.Visible = true;
     this.gridColumnM6.VisibleIndex = 7;
     this.gridColumnM6.Width = 90;
     //
     // gridColumnM9
     //
     this.gridColumnM9.Caption = "CommMerge";
     this.gridColumnM9.FieldName = "nCommMerge";
     this.gridColumnM9.Name = "gridColumnM9";
     this.gridColumnM9.OptionsFilter.AllowFilter = false;
     this.gridColumnM9.Width = 71;
     //
     // repositoryItemLookUpEdit3
     //
     this.repositoryItemLookUpEdit3.AutoHeight = false;
     this.repositoryItemLookUpEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemLookUpEdit3.Name = "repositoryItemLookUpEdit3";
     //
     // repositoryItemDateEdit5
     //
     this.repositoryItemDateEdit5.AutoHeight = false;
     this.repositoryItemDateEdit5.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit5.Name = "repositoryItemDateEdit5";
     this.repositoryItemDateEdit5.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // repositoryItemDateEdit6
     //
     this.repositoryItemDateEdit6.AutoHeight = false;
     this.repositoryItemDateEdit6.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit6.Name = "repositoryItemDateEdit6";
     this.repositoryItemDateEdit6.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // gridView1
     //
     this.gridView1.GridControl = this.gridControlMd_CommMerge;
     this.gridView1.Name = "gridView1";
     //
     // grpCommMSE
     //
     this.grpCommMSE.Controls.Add(this.btn_AddMSE);
     this.grpCommMSE.Controls.Add(this.btn_DelMSE);
     this.grpCommMSE.Controls.Add(this.groupControl1);
     this.grpCommMSE.Location = new System.Drawing.Point(4, 48);
     this.grpCommMSE.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.grpCommMSE.LookAndFeel.UseDefaultLookAndFeel = false;
     this.grpCommMSE.Name = "grpCommMSE";
     this.grpCommMSE.Size = new System.Drawing.Size(960, 237);
     this.grpCommMSE.TabIndex = 118;
     this.grpCommMSE.Text = "Sales Target";
     this.grpCommMSE.Visible = false;
     //
     // btn_AddMSE
     //
     this.btn_AddMSE.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_AddMSE.Appearance.Options.UseFont = true;
     this.btn_AddMSE.Appearance.Options.UseTextOptions = true;
     this.btn_AddMSE.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_AddMSE.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_AddMSE.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_AddMSE.ImageIndex = 0;
     this.btn_AddMSE.ImageList = this.imageList1;
     this.btn_AddMSE.ImeMode = System.Windows.Forms.ImeMode.On;
     this.btn_AddMSE.Location = new System.Drawing.Point(8, 24);
     this.btn_AddMSE.Name = "btn_AddMSE";
     this.btn_AddMSE.Size = new System.Drawing.Size(38, 16);
     this.btn_AddMSE.TabIndex = 132;
     this.btn_AddMSE.Click += new System.EventHandler(this.btn_AddMSE_Click);
     //
     // btn_DelMSE
     //
     this.btn_DelMSE.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_DelMSE.Appearance.Options.UseFont = true;
     this.btn_DelMSE.Appearance.Options.UseTextOptions = true;
     this.btn_DelMSE.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_DelMSE.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_DelMSE.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_DelMSE.ImageIndex = 1;
     this.btn_DelMSE.ImageList = this.imageList1;
     this.btn_DelMSE.Location = new System.Drawing.Point(48, 24);
     this.btn_DelMSE.Name = "btn_DelMSE";
     this.btn_DelMSE.Size = new System.Drawing.Size(38, 16);
     this.btn_DelMSE.TabIndex = 131;
     this.btn_DelMSE.Click += new System.EventHandler(this.btn_DelMSE_Click);
     //
     // groupControl1
     //
     this.groupControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupControl1.Controls.Add(this.gridControlMd_SalesTarget);
     this.groupControl1.Location = new System.Drawing.Point(0, 40);
     this.groupControl1.Name = "groupControl1";
     this.groupControl1.Size = new System.Drawing.Size(952, 192);
     this.groupControl1.TabIndex = 121;
     //
     // gridControlMd_SalesTarget
     //
     this.gridControlMd_SalesTarget.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMd_SalesTarget.Location = new System.Drawing.Point(0, 0);
     this.gridControlMd_SalesTarget.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridControlMd_SalesTarget.MainView = this.gridViewMd_SalesTarget;
     this.gridControlMd_SalesTarget.Name = "gridControlMd_SalesTarget";
     this.gridControlMd_SalesTarget.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.de_nYear,
     this.strDesc,
     this.lk_SalesRank,
     this.tedit_Commission,
     this.tedit_strType,
     this.tedit_strCommID,
     this.tedit_strDesc,
     this.tedit_strBranch,
     this.tedit_mTargetFrom,
     this.tedit_mTargetTo,
     this.de_nMonth,
     this.tedit_nYear,
     this.tedit_nMonth,
     this.lk_BranchCode0,
     this.lk_Position0,
     this.chk_Month0});
     this.gridControlMd_SalesTarget.Size = new System.Drawing.Size(952, 192);
     this.gridControlMd_SalesTarget.TabIndex = 2;
     this.gridControlMd_SalesTarget.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMd_SalesTarget,
     this.cardView1});
     //
     // gridViewMd_SalesTarget
     //
     this.gridViewMd_SalesTarget.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.White;
     this.gridViewMd_SalesTarget.Appearance.ColumnFilterButton.BackColor2 = System.Drawing.Color.White;
     this.gridViewMd_SalesTarget.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.White;
     this.gridViewMd_SalesTarget.Appearance.ColumnFilterButton.Options.UseBackColor = true;
     this.gridViewMd_SalesTarget.Appearance.ColumnFilterButton.Options.UseBorderColor = true;
     this.gridViewMd_SalesTarget.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnPKG3,
     this.gridColumnPKG7,
     this.gridColumnPKG8,
     this.gridColumnPKG1,
     this.gridColumnPKG2,
     this.gridColumnPKG4,
     this.gridColumnPKG5,
     this.gridColumnPKG6,
     this.gridColumnPKG9});
     this.gridViewMd_SalesTarget.GridControl = this.gridControlMd_SalesTarget;
     this.gridViewMd_SalesTarget.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_SalesTarget.Name = "gridViewMd_SalesTarget";
     this.gridViewMd_SalesTarget.OptionsView.ColumnAutoWidth = false;
     this.gridViewMd_SalesTarget.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button;
     this.gridViewMd_SalesTarget.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
     this.gridViewMd_SalesTarget.OptionsView.ShowGroupPanel = false;
     this.gridViewMd_SalesTarget.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_SalesTarget.LostFocus += new System.EventHandler(this.gridViewMd_SalesTarget_LostFocus);
     //
     // gridColumnPKG3
     //
     this.gridColumnPKG3.Caption = "Branch";
     this.gridColumnPKG3.ColumnEdit = this.lk_BranchCode0;
     this.gridColumnPKG3.FieldName = "strBranch";
     this.gridColumnPKG3.Name = "gridColumnPKG3";
     this.gridColumnPKG3.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True;
     this.gridColumnPKG3.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains;
     this.gridColumnPKG3.OptionsFilter.FilterPopupMode = DevExpress.XtraGrid.Columns.FilterPopupMode.List;
     this.gridColumnPKG3.Visible = true;
     this.gridColumnPKG3.VisibleIndex = 0;
     this.gridColumnPKG3.Width = 90;
     //
     // lk_BranchCode0
     //
     this.lk_BranchCode0.AutoHeight = false;
     this.lk_BranchCode0.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_BranchCode0.Name = "lk_BranchCode0";
     //
     // gridColumnPKG7
     //
     this.gridColumnPKG7.Caption = "Year";
     this.gridColumnPKG7.ColumnEdit = this.tedit_nYear;
     this.gridColumnPKG7.FieldName = "nYear";
     this.gridColumnPKG7.Name = "gridColumnPKG7";
     this.gridColumnPKG7.Visible = true;
     this.gridColumnPKG7.VisibleIndex = 1;
     this.gridColumnPKG7.Width = 90;
     //
     // tedit_nYear
     //
     this.tedit_nYear.AutoHeight = false;
     this.tedit_nYear.Name = "tedit_nYear";
     //
     // gridColumnPKG8
     //
     this.gridColumnPKG8.Caption = "Month";
     this.gridColumnPKG8.ColumnEdit = this.chk_Month0;
     this.gridColumnPKG8.FieldName = "nMonth";
     this.gridColumnPKG8.Name = "gridColumnPKG8";
     this.gridColumnPKG8.Visible = true;
     this.gridColumnPKG8.VisibleIndex = 2;
     this.gridColumnPKG8.Width = 90;
     //
     // chk_Month0
     //
     this.chk_Month0.AutoHeight = false;
     this.chk_Month0.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.chk_Month0.Items.AddRange(new object[] {
     "1",
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9",
     "10",
     "11",
     "12"});
     this.chk_Month0.Name = "chk_Month0";
     //
     // gridColumnPKG1
     //
     this.gridColumnPKG1.Caption = "Position";
     this.gridColumnPKG1.ColumnEdit = this.lk_Position0;
     this.gridColumnPKG1.FieldName = "strCommID";
     this.gridColumnPKG1.Name = "gridColumnPKG1";
     this.gridColumnPKG1.Visible = true;
     this.gridColumnPKG1.VisibleIndex = 3;
     this.gridColumnPKG1.Width = 90;
     //
     // lk_Position0
     //
     this.lk_Position0.AutoHeight = false;
     this.lk_Position0.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_Position0.Name = "lk_Position0";
     //
     // gridColumnPKG2
     //
     this.gridColumnPKG2.Caption = "Description";
     this.gridColumnPKG2.ColumnEdit = this.tedit_strDesc;
     this.gridColumnPKG2.FieldName = "strDesc";
     this.gridColumnPKG2.Name = "gridColumnPKG2";
     this.gridColumnPKG2.OptionsFilter.AllowFilter = false;
     this.gridColumnPKG2.Visible = true;
     this.gridColumnPKG2.VisibleIndex = 4;
     this.gridColumnPKG2.Width = 90;
     //
     // tedit_strDesc
     //
     this.tedit_strDesc.AutoHeight = false;
     this.tedit_strDesc.Name = "tedit_strDesc";
     //
     // gridColumnPKG4
     //
     this.gridColumnPKG4.Caption = "Commission";
     this.gridColumnPKG4.ColumnEdit = this.tedit_Commission;
     this.gridColumnPKG4.FieldName = "nCommision";
     this.gridColumnPKG4.Name = "gridColumnPKG4";
     this.gridColumnPKG4.OptionsFilter.AllowFilter = false;
     this.gridColumnPKG4.Visible = true;
     this.gridColumnPKG4.VisibleIndex = 5;
     this.gridColumnPKG4.Width = 90;
     //
     // tedit_Commission
     //
     this.tedit_Commission.AutoHeight = false;
     this.tedit_Commission.MaxLength = 50;
     this.tedit_Commission.Name = "tedit_Commission";
     //
     // gridColumnPKG5
     //
     this.gridColumnPKG5.Caption = "Target From";
     this.gridColumnPKG5.ColumnEdit = this.tedit_mTargetFrom;
     this.gridColumnPKG5.FieldName = "mTargetFrom";
     this.gridColumnPKG5.Name = "gridColumnPKG5";
     this.gridColumnPKG5.OptionsFilter.AllowFilter = false;
     this.gridColumnPKG5.Visible = true;
     this.gridColumnPKG5.VisibleIndex = 6;
     this.gridColumnPKG5.Width = 90;
     //
     // tedit_mTargetFrom
     //
     this.tedit_mTargetFrom.AutoHeight = false;
     this.tedit_mTargetFrom.Name = "tedit_mTargetFrom";
     //
     // gridColumnPKG6
     //
     this.gridColumnPKG6.Caption = "Target To";
     this.gridColumnPKG6.ColumnEdit = this.tedit_mTargetTo;
     this.gridColumnPKG6.FieldName = "mTargetTo";
     this.gridColumnPKG6.Name = "gridColumnPKG6";
     this.gridColumnPKG6.OptionsFilter.AllowFilter = false;
     this.gridColumnPKG6.Visible = true;
     this.gridColumnPKG6.VisibleIndex = 7;
     this.gridColumnPKG6.Width = 90;
     //
     // tedit_mTargetTo
     //
     this.tedit_mTargetTo.AutoHeight = false;
     this.tedit_mTargetTo.Name = "tedit_mTargetTo";
     //
     // gridColumnPKG9
     //
     this.gridColumnPKG9.Caption = "CommMSEID";
     this.gridColumnPKG9.FieldName = "nCommMSEID";
     this.gridColumnPKG9.Name = "gridColumnPKG9";
     this.gridColumnPKG9.OptionsFilter.AllowFilter = false;
     this.gridColumnPKG9.Width = 72;
     //
     // de_nYear
     //
     this.de_nYear.AutoHeight = false;
     this.de_nYear.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.de_nYear.Name = "de_nYear";
     this.de_nYear.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // strDesc
     //
     this.strDesc.AutoHeight = false;
     this.strDesc.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.strDesc.Name = "strDesc";
     this.strDesc.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // lk_SalesRank
     //
     this.lk_SalesRank.AutoHeight = false;
     this.lk_SalesRank.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_SalesRank.Name = "lk_SalesRank";
     //
     // tedit_strType
     //
     this.tedit_strType.AutoHeight = false;
     this.tedit_strType.MaxLength = 50;
     this.tedit_strType.Name = "tedit_strType";
     //
     // tedit_strCommID
     //
     this.tedit_strCommID.AutoHeight = false;
     this.tedit_strCommID.Name = "tedit_strCommID";
     //
     // tedit_strBranch
     //
     this.tedit_strBranch.AutoHeight = false;
     this.tedit_strBranch.Name = "tedit_strBranch";
     //
     // de_nMonth
     //
     this.de_nMonth.AutoHeight = false;
     this.de_nMonth.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.de_nMonth.Name = "de_nMonth";
     this.de_nMonth.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // tedit_nMonth
     //
     this.tedit_nMonth.AutoHeight = false;
     this.tedit_nMonth.Name = "tedit_nMonth";
     //
     // cardView1
     //
     this.cardView1.FocusedCardTopFieldIndex = 0;
     this.cardView1.GridControl = this.gridControlMd_SalesTarget;
     this.cardView1.Name = "cardView1";
     //
     // grpCommSpaConsult
     //
     this.grpCommSpaConsult.Controls.Add(this.btn_AddSpaConsult);
     this.grpCommSpaConsult.Controls.Add(this.btn_DelSpaConsult);
     this.grpCommSpaConsult.Controls.Add(this.groupControl4);
     this.grpCommSpaConsult.Location = new System.Drawing.Point(4, 48);
     this.grpCommSpaConsult.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
     this.grpCommSpaConsult.LookAndFeel.UseDefaultLookAndFeel = false;
     this.grpCommSpaConsult.Name = "grpCommSpaConsult";
     this.grpCommSpaConsult.Size = new System.Drawing.Size(960, 237);
     this.grpCommSpaConsult.TabIndex = 119;
     this.grpCommSpaConsult.Text = "Sales Target";
     this.grpCommSpaConsult.Visible = false;
     //
     // btn_AddSpaConsult
     //
     this.btn_AddSpaConsult.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_AddSpaConsult.Appearance.Options.UseFont = true;
     this.btn_AddSpaConsult.Appearance.Options.UseTextOptions = true;
     this.btn_AddSpaConsult.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_AddSpaConsult.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_AddSpaConsult.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_AddSpaConsult.ImageIndex = 0;
     this.btn_AddSpaConsult.ImageList = this.imageList1;
     this.btn_AddSpaConsult.ImeMode = System.Windows.Forms.ImeMode.On;
     this.btn_AddSpaConsult.Location = new System.Drawing.Point(8, 24);
     this.btn_AddSpaConsult.Name = "btn_AddSpaConsult";
     this.btn_AddSpaConsult.Size = new System.Drawing.Size(38, 16);
     this.btn_AddSpaConsult.TabIndex = 134;
     this.btn_AddSpaConsult.Click += new System.EventHandler(this.btn_AddSpaConsult_Click);
     //
     // btn_DelSpaConsult
     //
     this.btn_DelSpaConsult.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_DelSpaConsult.Appearance.Options.UseFont = true;
     this.btn_DelSpaConsult.Appearance.Options.UseTextOptions = true;
     this.btn_DelSpaConsult.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.btn_DelSpaConsult.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
     this.btn_DelSpaConsult.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
     this.btn_DelSpaConsult.ImageIndex = 1;
     this.btn_DelSpaConsult.ImageList = this.imageList1;
     this.btn_DelSpaConsult.Location = new System.Drawing.Point(48, 24);
     this.btn_DelSpaConsult.Name = "btn_DelSpaConsult";
     this.btn_DelSpaConsult.Size = new System.Drawing.Size(38, 16);
     this.btn_DelSpaConsult.TabIndex = 133;
     this.btn_DelSpaConsult.Click += new System.EventHandler(this.btn_DelSpaConsult_Click);
     //
     // groupControl4
     //
     this.groupControl4.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.groupControl4.Controls.Add(this.gridControlMd_CommSpaConsult);
     this.groupControl4.Location = new System.Drawing.Point(0, 40);
     this.groupControl4.Name = "groupControl4";
     this.groupControl4.Size = new System.Drawing.Size(952, 192);
     this.groupControl4.TabIndex = 2;
     //
     // gridControlMd_CommSpaConsult
     //
     this.gridControlMd_CommSpaConsult.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMd_CommSpaConsult.Location = new System.Drawing.Point(0, 0);
     this.gridControlMd_CommSpaConsult.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridControlMd_CommSpaConsult.MainView = this.gridViewMd_CommSpaConsult;
     this.gridControlMd_CommSpaConsult.Name = "gridControlMd_CommSpaConsult";
     this.gridControlMd_CommSpaConsult.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.lk_pkGroupCatID,
     this.tedit_SC_strCommID,
     this.lk_Position1,
     this.lk_BranchCode1,
     this.chk_Month1});
     this.gridControlMd_CommSpaConsult.Size = new System.Drawing.Size(952, 192);
     this.gridControlMd_CommSpaConsult.TabIndex = 2;
     this.gridControlMd_CommSpaConsult.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMd_CommSpaConsult});
     //
     // gridViewMd_CommSpaConsult
     //
     this.gridViewMd_CommSpaConsult.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumnPG3,
     this.gridColumnPG7,
     this.gridColumnPG8,
     this.gridColumnPG1,
     this.gridColumnPG2,
     this.gridColumnPG4,
     this.gridColumnPG9,
     this.gridColumnPG5,
     this.gridColumnPG6,
     this.gridColumnPG10});
     this.gridViewMd_CommSpaConsult.GridControl = this.gridControlMd_CommSpaConsult;
     this.gridViewMd_CommSpaConsult.HorzScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_CommSpaConsult.Name = "gridViewMd_CommSpaConsult";
     this.gridViewMd_CommSpaConsult.OptionsView.ColumnAutoWidth = false;
     this.gridViewMd_CommSpaConsult.OptionsView.HeaderFilterButtonShowMode = DevExpress.XtraEditors.Controls.FilterButtonShowMode.Button;
     this.gridViewMd_CommSpaConsult.OptionsView.ShowGroupPanel = false;
     this.gridViewMd_CommSpaConsult.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Always;
     this.gridViewMd_CommSpaConsult.LostFocus += new System.EventHandler(this.gridViewMd_CommSpaConsult_LostFocus);
     //
     // gridColumnPG3
     //
     this.gridColumnPG3.Caption = "Branch";
     this.gridColumnPG3.ColumnEdit = this.lk_BranchCode1;
     this.gridColumnPG3.FieldName = "strBranch";
     this.gridColumnPG3.Name = "gridColumnPG3";
     this.gridColumnPG3.Visible = true;
     this.gridColumnPG3.VisibleIndex = 0;
     this.gridColumnPG3.Width = 90;
     //
     // lk_BranchCode1
     //
     this.lk_BranchCode1.AutoHeight = false;
     this.lk_BranchCode1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_BranchCode1.Name = "lk_BranchCode1";
     //
     // gridColumnPG7
     //
     this.gridColumnPG7.Caption = "Year";
     this.gridColumnPG7.FieldName = "nYear";
     this.gridColumnPG7.Name = "gridColumnPG7";
     this.gridColumnPG7.Visible = true;
     this.gridColumnPG7.VisibleIndex = 1;
     this.gridColumnPG7.Width = 90;
     //
     // gridColumnPG8
     //
     this.gridColumnPG8.Caption = "Month";
     this.gridColumnPG8.ColumnEdit = this.chk_Month1;
     this.gridColumnPG8.FieldName = "nMonth";
     this.gridColumnPG8.Name = "gridColumnPG8";
     this.gridColumnPG8.Visible = true;
     this.gridColumnPG8.VisibleIndex = 2;
     this.gridColumnPG8.Width = 90;
     //
     // chk_Month1
     //
     this.chk_Month1.AutoHeight = false;
     this.chk_Month1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.chk_Month1.Items.AddRange(new object[] {
     "1",
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9",
     "10",
     "11",
     "12"});
     this.chk_Month1.Name = "chk_Month1";
     //
     // gridColumnPG1
     //
     this.gridColumnPG1.Caption = "Position";
     this.gridColumnPG1.ColumnEdit = this.lk_Position1;
     this.gridColumnPG1.FieldName = "strCommID";
     this.gridColumnPG1.Name = "gridColumnPG1";
     this.gridColumnPG1.Visible = true;
     this.gridColumnPG1.VisibleIndex = 3;
     this.gridColumnPG1.Width = 90;
     //
     // lk_Position1
     //
     this.lk_Position1.AutoHeight = false;
     this.lk_Position1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_Position1.Name = "lk_Position1";
     //
     // gridColumnPG2
     //
     this.gridColumnPG2.Caption = "Description";
     this.gridColumnPG2.FieldName = "strDesc";
     this.gridColumnPG2.Name = "gridColumnPG2";
     this.gridColumnPG2.OptionsFilter.AllowFilter = false;
     this.gridColumnPG2.Visible = true;
     this.gridColumnPG2.VisibleIndex = 4;
     this.gridColumnPG2.Width = 90;
     //
     // gridColumnPG4
     //
     this.gridColumnPG4.Caption = "Product Comm";
     this.gridColumnPG4.FieldName = "nProductComm";
     this.gridColumnPG4.Name = "gridColumnPG4";
     this.gridColumnPG4.OptionsFilter.AllowFilter = false;
     this.gridColumnPG4.Visible = true;
     this.gridColumnPG4.VisibleIndex = 5;
     this.gridColumnPG4.Width = 90;
     //
     // gridColumnPG9
     //
     this.gridColumnPG9.Caption = "Target From";
     this.gridColumnPG9.FieldName = "mPackageTargetFrom";
     this.gridColumnPG9.Name = "gridColumnPG9";
     this.gridColumnPG9.OptionsFilter.AllowFilter = false;
     this.gridColumnPG9.Visible = true;
     this.gridColumnPG9.VisibleIndex = 6;
     this.gridColumnPG9.Width = 90;
     //
     // gridColumnPG5
     //
     this.gridColumnPG5.Caption = "Target To";
     this.gridColumnPG5.FieldName = "mPackageTargetTo";
     this.gridColumnPG5.Name = "gridColumnPG5";
     this.gridColumnPG5.OptionsFilter.AllowFilter = false;
     this.gridColumnPG5.Visible = true;
     this.gridColumnPG5.VisibleIndex = 7;
     this.gridColumnPG5.Width = 90;
     //
     // gridColumnPG6
     //
     this.gridColumnPG6.Caption = "Package Comm";
     this.gridColumnPG6.FieldName = "nPackageComm";
     this.gridColumnPG6.Name = "gridColumnPG6";
     this.gridColumnPG6.OptionsFilter.AllowFilter = false;
     this.gridColumnPG6.Visible = true;
     this.gridColumnPG6.VisibleIndex = 8;
     this.gridColumnPG6.Width = 90;
     //
     // gridColumnPG10
     //
     this.gridColumnPG10.Caption = "SpaConsultID";
     this.gridColumnPG10.FieldName = "nCommSpaConsultID";
     this.gridColumnPG10.Name = "gridColumnPG10";
     this.gridColumnPG10.OptionsFilter.AllowFilter = false;
     this.gridColumnPG10.Width = 77;
     //
     // lk_pkGroupCatID
     //
     this.lk_pkGroupCatID.AutoHeight = false;
     this.lk_pkGroupCatID.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.lk_pkGroupCatID.Name = "lk_pkGroupCatID";
     //
     // tedit_SC_strCommID
     //
     this.tedit_SC_strCommID.AutoHeight = false;
     this.tedit_SC_strCommID.Name = "tedit_SC_strCommID";
     //
     // frmSalesTarget
     //
     this.BackColor = System.Drawing.Color.White;
     this.ClientSize = new System.Drawing.Size(982, 635);
     this.Controls.Add(this.grpSalesRank);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.Name = "frmSalesTarget";
     this.Text = "frmSalesTarget";
     ((System.ComponentModel.ISupportInitialize)(this.grpSalesRank)).EndInit();
     this.grpSalesRank.ResumeLayout(false);
     this.groupBoxCommMSE.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ddlSalesRank.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommPT)).EndInit();
     this.grpCommPT.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).EndInit();
     this.groupControl3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_CommPT)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_CommPT)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommProductTherapist)).EndInit();
     this.grpCommProductTherapist.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl5)).EndInit();
     this.groupControl5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_CommProductTherapist)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_CommProductTherapist)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_CreditCategoryID)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.EffCCStartDate.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.EffCCStartDate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.EffCCEndDate.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.EffCCEndDate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommCST)).EndInit();
     this.grpCommCST.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl6)).EndInit();
     this.groupControl6.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_CommCST)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_CommCST)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit4.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommMerge)).EndInit();
     this.grpCommMerge.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl7)).EndInit();
     this.groupControl7.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_CommMerge)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_CommMerge)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit5.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit6.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommMSE)).EndInit();
     this.grpCommMSE.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
     this.groupControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_SalesTarget)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_SalesTarget)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode0)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_nYear)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month0)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position0)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_strDesc)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_Commission)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_mTargetFrom)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_mTargetTo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.de_nYear.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.de_nYear)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.strDesc.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.strDesc)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_SalesRank)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_strType)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_strCommID)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_strBranch)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.de_nMonth.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.de_nMonth)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_nMonth)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grpCommSpaConsult)).EndInit();
     this.grpCommSpaConsult.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).EndInit();
     this.groupControl4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMd_CommSpaConsult)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMd_CommSpaConsult)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_BranchCode1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chk_Month1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_Position1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lk_pkGroupCatID)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tedit_SC_strCommID)).EndInit();
     this.ResumeLayout(false);
 }
		private void InitializeComponent()
		{
            DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
            DevExpress.XtraGrid.GridLevelNode gridLevelNode2 = new DevExpress.XtraGrid.GridLevelNode();
            this.CardView1 = new DevExpress.XtraGrid.Views.Card.CardView();
            this.colLine1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colZIP = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colCountry = new DevExpress.XtraGrid.Columns.GridColumn();
            this.GridControl1 = new DevExpress.XtraGrid.GridControl();
            this.colContacts = new DevExpress.Xpo.XPCollection();
            this.CardView2 = new DevExpress.XtraGrid.Views.Card.CardView();
            this.colPhone1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.GridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colFullName = new DevExpress.XtraGrid.Columns.GridColumn();
            ((System.ComponentModel.ISupportInitialize)(this.CardView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.GridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.colContacts)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.CardView2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.GridView1)).BeginInit();
            this.SuspendLayout();
            // 
            // CardView1
            // 
            this.CardView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colLine1,
            this.colZIP,
            this.colCountry});
            this.CardView1.FocusedCardTopFieldIndex = 0;
            this.CardView1.GridControl = this.GridControl1;
            this.CardView1.Name = "CardView1";
            this.CardView1.OptionsView.ShowCardCaption = false;
            this.CardView1.OptionsView.ShowHorzScrollBar = false;
            this.CardView1.OptionsView.ShowQuickCustomizeButton = false;
            // 
            // colLine1
            // 
            this.colLine1.Caption = "Line1";
            this.colLine1.FieldName = "Line1";
            this.colLine1.Name = "colLine1";
            this.colLine1.Visible = true;
            this.colLine1.VisibleIndex = 0;
            // 
            // colZIP
            // 
            this.colZIP.Caption = "ZIP";
            this.colZIP.FieldName = "ZIP";
            this.colZIP.Name = "colZIP";
            this.colZIP.Visible = true;
            this.colZIP.VisibleIndex = 1;
            // 
            // colCountry
            // 
            this.colCountry.Caption = "Country";
            this.colCountry.FieldName = "Country";
            this.colCountry.Name = "colCountry";
            this.colCountry.Visible = true;
            this.colCountry.VisibleIndex = 2;
            // 
            // GridControl1
            // 
            this.GridControl1.DataSource = this.colContacts;
            this.GridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            gridLevelNode1.LevelTemplate = this.CardView1;
            gridLevelNode1.RelationName = "Address";
            gridLevelNode2.LevelTemplate = this.CardView2;
            gridLevelNode2.RelationName = "Itself";
            this.GridControl1.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
            gridLevelNode1,
            gridLevelNode2});
            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(528, 258);
            this.GridControl1.TabIndex = 0;
            this.GridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.CardView2,
            this.GridView1,
            this.CardView1});
            // 
            // colContacts
            // 
            this.colContacts.DisplayableProperties = "This;IsDeleted;Oid;FullName;Phone;Address;Itself";
            this.colContacts.ObjectType = typeof(LinkedObjectAsCard.Contact);
            // 
            // CardView2
            // 
            this.CardView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colPhone1});
            this.CardView2.FocusedCardTopFieldIndex = 0;
            this.CardView2.GridControl = this.GridControl1;
            this.CardView2.Name = "CardView2";
            this.CardView2.OptionsView.ShowCardCaption = false;
            this.CardView2.OptionsView.ShowHorzScrollBar = false;
            this.CardView2.OptionsView.ShowQuickCustomizeButton = false;
            this.CardView2.ViewCaption = "More info...";
            // 
            // colPhone1
            // 
            this.colPhone1.Caption = "Phone";
            this.colPhone1.FieldName = "Phone";
            this.colPhone1.Name = "colPhone1";
            this.colPhone1.Visible = true;
            this.colPhone1.VisibleIndex = 0;
            // 
            // GridView1
            // 
            this.GridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colFullName});
            this.GridView1.GridControl = this.GridControl1;
            this.GridView1.Name = "GridView1";
            this.GridView1.OptionsDetail.AllowZoomDetail = false;
            // 
            // colFullName
            // 
            this.colFullName.Caption = "FullName";
            this.colFullName.FieldName = "FullName";
            this.colFullName.Name = "colFullName";
            this.colFullName.Visible = true;
            this.colFullName.VisibleIndex = 0;
            // 
            // Form1
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(528, 258);
            this.Controls.Add(this.GridControl1);
            this.Name = "Form1";
            this.Text = "How to display a linked object (one-to-one relation) as a detail card view in the" +
                " XtraGrid";
            this.Load += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.CardView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.GridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.colContacts)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.CardView2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.GridView1)).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()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(QryReservedsellsFrm));
     this.gridControlMain = new DevExpress.XtraGrid.GridControl();
     this.CMS = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
     this.cardViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.gridViewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.gridViewMain = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GCSanfName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GCQuantity = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GCPrice = new DevExpress.XtraGrid.Columns.GridColumn();
     this.GCStoreTrDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.cardViewSells = new DevExpress.XtraGrid.Views.Card.CardView();
     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.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMain)).BeginInit();
     this.CMS.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardViewSells)).BeginInit();
     this.SuspendLayout();
     //
     // gridControlMain
     //
     this.gridControlMain.ContextMenuStrip = this.CMS;
     this.gridControlMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControlMain.EmbeddedNavigator.Buttons.Append.Visible = false;
     this.gridControlMain.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
     this.gridControlMain.EmbeddedNavigator.Buttons.Edit.Visible = false;
     this.gridControlMain.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
     this.gridControlMain.EmbeddedNavigator.ToolTipIconType = DevExpress.Utils.ToolTipIconType.Information;
     this.gridControlMain.Location = new System.Drawing.Point(0, 0);
     this.gridControlMain.MainView = this.gridViewMain;
     this.gridControlMain.Name = "gridControlMain";
     this.gridControlMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemDateEdit1,
     this.repositoryItemDateEdit2});
     this.gridControlMain.Size = new System.Drawing.Size(643, 462);
     this.gridControlMain.TabIndex = 0;
     this.gridControlMain.UseEmbeddedNavigator = true;
     this.gridControlMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewMain,
     this.cardViewSells});
     //
     // CMS
     //
     this.CMS.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.refreshToolStripMenuItem,
     this.printToolStripMenuItem,
     this.toolStripMenuItem2,
     this.cardViewToolStripMenuItem,
     this.gridViewToolStripMenuItem});
     this.CMS.Name = "CMSPartnerStaff";
     this.CMS.Size = new System.Drawing.Size(166, 98);
     //
     // refreshToolStripMenuItem
     //
     this.refreshToolStripMenuItem.Image = global::SchoolStore2.Properties.Resources.Refresh;
     this.refreshToolStripMenuItem.Name = "refreshToolStripMenuItem";
     this.refreshToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
     this.refreshToolStripMenuItem.Text = "اعادة تحميل البيانات";
     this.refreshToolStripMenuItem.Click += new System.EventHandler(this.refreshToolStripMenuItem_Click);
     //
     // printToolStripMenuItem
     //
     this.printToolStripMenuItem.Image = global::SchoolStore2.Properties.Resources.Print;
     this.printToolStripMenuItem.Name = "printToolStripMenuItem";
     this.printToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
     this.printToolStripMenuItem.Text = "طباعه";
     this.printToolStripMenuItem.Click += new System.EventHandler(this.printToolStripMenuItem_Click);
     //
     // toolStripMenuItem2
     //
     this.toolStripMenuItem2.Name = "toolStripMenuItem2";
     this.toolStripMenuItem2.Size = new System.Drawing.Size(162, 6);
     //
     // cardViewToolStripMenuItem
     //
     this.cardViewToolStripMenuItem.Name = "cardViewToolStripMenuItem";
     this.cardViewToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
     this.cardViewToolStripMenuItem.Text = "عرض كروت";
     this.cardViewToolStripMenuItem.Click += new System.EventHandler(this.cardViewToolStripMenuItem_Click);
     //
     // gridViewToolStripMenuItem
     //
     this.gridViewToolStripMenuItem.Name = "gridViewToolStripMenuItem";
     this.gridViewToolStripMenuItem.Size = new System.Drawing.Size(165, 22);
     this.gridViewToolStripMenuItem.Text = "عرض جدولي";
     this.gridViewToolStripMenuItem.Click += new System.EventHandler(this.gridViewToolStripMenuItem_Click);
     //
     // gridViewMain
     //
     this.gridViewMain.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.ColumnFilterButton.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(228)))), ((int)(((byte)(220)))));
     this.gridViewMain.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.ColumnFilterButton.ForeColor = System.Drawing.Color.Gray;
     this.gridViewMain.Appearance.ColumnFilterButton.Options.UseBackColor = true;
     this.gridViewMain.Appearance.ColumnFilterButton.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.ColumnFilterButton.Options.UseForeColor = true;
     this.gridViewMain.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(228)))), ((int)(((byte)(220)))));
     this.gridViewMain.Appearance.ColumnFilterButtonActive.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(235)))), ((int)(((byte)(230)))));
     this.gridViewMain.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(228)))), ((int)(((byte)(220)))));
     this.gridViewMain.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Blue;
     this.gridViewMain.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true;
     this.gridViewMain.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true;
     this.gridViewMain.Appearance.Empty.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(228)))), ((int)(((byte)(220)))));
     this.gridViewMain.Appearance.Empty.Options.UseBackColor = true;
     this.gridViewMain.Appearance.EvenRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.EvenRow.BackColor2 = System.Drawing.Color.GhostWhite;
     this.gridViewMain.Appearance.EvenRow.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.EvenRow.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.gridViewMain.Appearance.EvenRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.EvenRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.FilterCloseButton.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(118)))), ((int)(((byte)(170)))), ((int)(((byte)(225)))));
     this.gridViewMain.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.FilterCloseButton.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.FilterCloseButton.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.gridViewMain.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.FilterCloseButton.Options.UseForeColor = true;
     this.gridViewMain.Appearance.FilterPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(80)))), ((int)(((byte)(135)))));
     this.gridViewMain.Appearance.FilterPanel.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.FilterPanel.ForeColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.FilterPanel.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     this.gridViewMain.Appearance.FilterPanel.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FilterPanel.Options.UseForeColor = true;
     this.gridViewMain.Appearance.FixedLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(58)))), ((int)(((byte)(58)))));
     this.gridViewMain.Appearance.FixedLine.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FocusedCell.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(225)))));
     this.gridViewMain.Appearance.FocusedCell.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.FocusedCell.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FocusedCell.Options.UseForeColor = true;
     this.gridViewMain.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(36)))), ((int)(((byte)(106)))));
     this.gridViewMain.Appearance.FocusedRow.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(86)))), ((int)(((byte)(156)))));
     this.gridViewMain.Appearance.FocusedRow.ForeColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.FocusedRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FocusedRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.FooterPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.FooterPanel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.FooterPanel.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.FooterPanel.Options.UseBackColor = true;
     this.gridViewMain.Appearance.FooterPanel.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.FooterPanel.Options.UseForeColor = true;
     this.gridViewMain.Appearance.GroupButton.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.GroupButton.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.GroupButton.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.GroupButton.Options.UseBackColor = true;
     this.gridViewMain.Appearance.GroupButton.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.GroupButton.Options.UseForeColor = true;
     this.gridViewMain.Appearance.GroupFooter.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(218)))), ((int)(((byte)(210)))));
     this.gridViewMain.Appearance.GroupFooter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(218)))), ((int)(((byte)(210)))));
     this.gridViewMain.Appearance.GroupFooter.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.GroupFooter.Options.UseBackColor = true;
     this.gridViewMain.Appearance.GroupFooter.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.GroupFooter.Options.UseForeColor = true;
     this.gridViewMain.Appearance.GroupPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
     this.gridViewMain.Appearance.GroupPanel.BackColor2 = System.Drawing.Color.White;
     this.gridViewMain.Appearance.GroupPanel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.gridViewMain.Appearance.GroupPanel.ForeColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.GroupPanel.Options.UseBackColor = true;
     this.gridViewMain.Appearance.GroupPanel.Options.UseFont = true;
     this.gridViewMain.Appearance.GroupPanel.Options.UseForeColor = true;
     this.gridViewMain.Appearance.GroupRow.BackColor = System.Drawing.Color.Gray;
     this.gridViewMain.Appearance.GroupRow.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.GroupRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.GroupRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.HeaderPanel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.HeaderPanel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.gridViewMain.Appearance.HeaderPanel.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.HeaderPanel.Options.UseBackColor = true;
     this.gridViewMain.Appearance.HeaderPanel.Options.UseBorderColor = true;
     this.gridViewMain.Appearance.HeaderPanel.Options.UseFont = true;
     this.gridViewMain.Appearance.HeaderPanel.Options.UseForeColor = true;
     this.gridViewMain.Appearance.HideSelectionRow.BackColor = System.Drawing.Color.Gray;
     this.gridViewMain.Appearance.HideSelectionRow.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.HideSelectionRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.HideSelectionRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.HorzLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.HorzLine.Options.UseBackColor = true;
     this.gridViewMain.Appearance.OddRow.BackColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.OddRow.BackColor2 = System.Drawing.Color.White;
     this.gridViewMain.Appearance.OddRow.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.OddRow.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal;
     this.gridViewMain.Appearance.OddRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.OddRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.Preview.BackColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.Preview.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(10)))), ((int)(((byte)(36)))), ((int)(((byte)(106)))));
     this.gridViewMain.Appearance.Preview.Options.UseBackColor = true;
     this.gridViewMain.Appearance.Preview.Options.UseForeColor = true;
     this.gridViewMain.Appearance.Row.BackColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.Row.ForeColor = System.Drawing.Color.Black;
     this.gridViewMain.Appearance.Row.Options.UseBackColor = true;
     this.gridViewMain.Appearance.Row.Options.UseForeColor = true;
     this.gridViewMain.Appearance.RowSeparator.BackColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.RowSeparator.BackColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(228)))), ((int)(((byte)(220)))));
     this.gridViewMain.Appearance.RowSeparator.Options.UseBackColor = true;
     this.gridViewMain.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(46)))), ((int)(((byte)(116)))));
     this.gridViewMain.Appearance.SelectedRow.ForeColor = System.Drawing.Color.White;
     this.gridViewMain.Appearance.SelectedRow.Options.UseBackColor = true;
     this.gridViewMain.Appearance.SelectedRow.Options.UseForeColor = true;
     this.gridViewMain.Appearance.VertLine.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(208)))), ((int)(((byte)(200)))));
     this.gridViewMain.Appearance.VertLine.Options.UseBackColor = true;
     this.gridViewMain.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn5,
     this.GCSanfName,
     this.GCQuantity,
     this.GCPrice,
     this.GCStoreTrDate});
     this.gridViewMain.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
     this.gridViewMain.GridControl = this.gridControlMain;
     this.gridViewMain.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Quantity", this.GCQuantity, ""),
     new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Price", this.GCPrice, "")});
     this.gridViewMain.Name = "gridViewMain";
     this.gridViewMain.OptionsBehavior.AutoExpandAllGroups = true;
     this.gridViewMain.OptionsBehavior.ReadOnly = true;
     this.gridViewMain.OptionsCustomization.AllowRowSizing = true;
     this.gridViewMain.OptionsPrint.AutoWidth = false;
     this.gridViewMain.OptionsPrint.ExpandAllDetails = true;
     this.gridViewMain.OptionsPrint.PrintDetails = true;
     this.gridViewMain.OptionsPrint.PrintFilterInfo = true;
     this.gridViewMain.OptionsView.EnableAppearanceEvenRow = true;
     this.gridViewMain.OptionsView.EnableAppearanceOddRow = true;
     this.gridViewMain.OptionsView.ShowFooter = true;
     //
     // gridColumn5
     //
     this.gridColumn5.AppearanceCell.Options.UseTextOptions = true;
     this.gridColumn5.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn5.AppearanceHeader.Options.UseTextOptions = true;
     this.gridColumn5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.gridColumn5.Caption = "الاسم";
     this.gridColumn5.FieldName = "EMPNAME";
     this.gridColumn5.Name = "gridColumn5";
     this.gridColumn5.Visible = true;
     this.gridColumn5.VisibleIndex = 0;
     this.gridColumn5.Width = 220;
     //
     // GCSanfName
     //
     this.GCSanfName.AppearanceCell.Options.UseTextOptions = true;
     this.GCSanfName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.GCSanfName.AppearanceHeader.Options.UseTextOptions = true;
     this.GCSanfName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.GCSanfName.Caption = "اسم الصنف";
     this.GCSanfName.FieldName = "SanfName";
     this.GCSanfName.Name = "GCSanfName";
     this.GCSanfName.Visible = true;
     this.GCSanfName.VisibleIndex = 1;
     this.GCSanfName.Width = 208;
     //
     // GCQuantity
     //
     this.GCQuantity.AppearanceCell.Options.UseTextOptions = true;
     this.GCQuantity.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.GCQuantity.AppearanceHeader.Options.UseTextOptions = true;
     this.GCQuantity.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.GCQuantity.Caption = "الكميه";
     this.GCQuantity.FieldName = "Quantity";
     this.GCQuantity.Name = "GCQuantity";
     this.GCQuantity.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)});
     this.GCQuantity.Visible = true;
     this.GCQuantity.VisibleIndex = 2;
     this.GCQuantity.Width = 204;
     //
     // GCPrice
     //
     this.GCPrice.AppearanceCell.Options.UseTextOptions = true;
     this.GCPrice.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.GCPrice.AppearanceHeader.Options.UseTextOptions = true;
     this.GCPrice.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.GCPrice.Caption = "المبلغ";
     this.GCPrice.FieldName = "Price";
     this.GCPrice.Name = "GCPrice";
     this.GCPrice.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] {
     new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)});
     this.GCPrice.Visible = true;
     this.GCPrice.VisibleIndex = 3;
     this.GCPrice.Width = 224;
     //
     // GCStoreTrDate
     //
     this.GCStoreTrDate.AppearanceCell.Options.UseTextOptions = true;
     this.GCStoreTrDate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.GCStoreTrDate.AppearanceHeader.Options.UseTextOptions = true;
     this.GCStoreTrDate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.GCStoreTrDate.Caption = "التاريخ";
     this.GCStoreTrDate.ColumnEdit = this.repositoryItemDateEdit1;
     this.GCStoreTrDate.FieldName = "StoreTrDate";
     this.GCStoreTrDate.Name = "GCStoreTrDate";
     this.GCStoreTrDate.Visible = true;
     this.GCStoreTrDate.VisibleIndex = 4;
     this.GCStoreTrDate.Width = 284;
     //
     // repositoryItemDateEdit1
     //
     this.repositoryItemDateEdit1.AutoHeight = false;
     this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit1.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.repositoryItemDateEdit1.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEdit1.EditFormat.FormatString = "dd/MM/yyyy";
     this.repositoryItemDateEdit1.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEdit1.Mask.EditMask = "dd/MM/yyyy";
     this.repositoryItemDateEdit1.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
     this.repositoryItemDateEdit1.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // 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.DisplayFormat.FormatString = "dd/MM/yyyy";
     this.repositoryItemDateEdit2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEdit2.EditFormat.FormatString = "dd/MM/yyyy";
     this.repositoryItemDateEdit2.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime;
     this.repositoryItemDateEdit2.Mask.EditMask = "dd/MM/yyyy";
     this.repositoryItemDateEdit2.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2";
     this.repositoryItemDateEdit2.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     //
     // cardViewSells
     //
     this.cardViewSells.Appearance.CardCaption.BackColor = System.Drawing.Color.DarkGray;
     this.cardViewSells.Appearance.CardCaption.BorderColor = System.Drawing.Color.DarkGray;
     this.cardViewSells.Appearance.CardCaption.Options.UseBackColor = true;
     this.cardViewSells.Appearance.CardCaption.Options.UseBorderColor = true;
     this.cardViewSells.Appearance.EmptySpace.BackColor = System.Drawing.Color.DimGray;
     this.cardViewSells.Appearance.EmptySpace.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal;
     this.cardViewSells.Appearance.EmptySpace.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FieldCaption.BackColor = System.Drawing.Color.White;
     this.cardViewSells.Appearance.FieldCaption.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FieldValue.BackColor = System.Drawing.Color.White;
     this.cardViewSells.Appearance.FieldValue.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.Gray;
     this.cardViewSells.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.Gray;
     this.cardViewSells.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FilterCloseButton.Options.UseBorderColor = true;
     this.cardViewSells.Appearance.FilterPanel.BackColor = System.Drawing.Color.Gray;
     this.cardViewSells.Appearance.FilterPanel.ForeColor = System.Drawing.Color.Black;
     this.cardViewSells.Appearance.FilterPanel.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FilterPanel.Options.UseForeColor = true;
     this.cardViewSells.Appearance.FocusedCardCaption.BackColor = System.Drawing.Color.Black;
     this.cardViewSells.Appearance.FocusedCardCaption.BorderColor = System.Drawing.Color.Black;
     this.cardViewSells.Appearance.FocusedCardCaption.ForeColor = System.Drawing.Color.White;
     this.cardViewSells.Appearance.FocusedCardCaption.Options.UseBackColor = true;
     this.cardViewSells.Appearance.FocusedCardCaption.Options.UseBorderColor = true;
     this.cardViewSells.Appearance.FocusedCardCaption.Options.UseForeColor = true;
     this.cardViewSells.Appearance.HideSelectionCardCaption.BackColor = System.Drawing.Color.LightSlateGray;
     this.cardViewSells.Appearance.HideSelectionCardCaption.BorderColor = System.Drawing.Color.LightSlateGray;
     this.cardViewSells.Appearance.HideSelectionCardCaption.Options.UseBackColor = true;
     this.cardViewSells.Appearance.HideSelectionCardCaption.Options.UseBorderColor = true;
     this.cardViewSells.Appearance.SelectedCardCaption.BackColor = System.Drawing.Color.DimGray;
     this.cardViewSells.Appearance.SelectedCardCaption.Options.UseBackColor = true;
     this.cardViewSells.Appearance.SeparatorLine.BackColor = System.Drawing.Color.LightGray;
     this.cardViewSells.Appearance.SeparatorLine.Options.UseBackColor = true;
     this.cardViewSells.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn6,
     this.gridColumn1,
     this.gridColumn2,
     this.gridColumn3,
     this.gridColumn4});
     this.cardViewSells.FocusedCardTopFieldIndex = 0;
     this.cardViewSells.GridControl = this.gridControlMain;
     this.cardViewSells.Name = "cardViewSells";
     this.cardViewSells.OptionsBehavior.ReadOnly = true;
     this.cardViewSells.OptionsPrint.PrintFilterInfo = true;
     this.cardViewSells.VertScrollVisibility = DevExpress.XtraGrid.Views.Base.ScrollVisibility.Auto;
     //
     // gridColumn1
     //
     this.gridColumn1.Caption = "اسم الصنف";
     this.gridColumn1.FieldName = "SanfName";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 1;
     //
     // gridColumn2
     //
     this.gridColumn2.Caption = "الكميه";
     this.gridColumn2.FieldName = "Quantity";
     this.gridColumn2.Name = "gridColumn2";
     this.gridColumn2.Visible = true;
     this.gridColumn2.VisibleIndex = 2;
     //
     // gridColumn3
     //
     this.gridColumn3.Caption = "السعر";
     this.gridColumn3.FieldName = "Price";
     this.gridColumn3.Name = "gridColumn3";
     this.gridColumn3.Visible = true;
     this.gridColumn3.VisibleIndex = 3;
     //
     // gridColumn4
     //
     this.gridColumn4.Caption = "التاريخ";
     this.gridColumn4.ColumnEdit = this.repositoryItemDateEdit2;
     this.gridColumn4.FieldName = "StoreTrDate";
     this.gridColumn4.Name = "gridColumn4";
     this.gridColumn4.Visible = true;
     this.gridColumn4.VisibleIndex = 4;
     //
     // gridColumn6
     //
     this.gridColumn6.Caption = "الاسم";
     this.gridColumn6.FieldName = "EMPNAME";
     this.gridColumn6.Name = "gridColumn6";
     this.gridColumn6.Visible = true;
     this.gridColumn6.VisibleIndex = 0;
     //
     // QryReservedsellsFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(643, 462);
     this.Controls.Add(this.gridControlMain);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "QryReservedsellsFrm";
     this.Text = "استعلام المبيعات";
     this.Load += new System.EventHandler(this.QryPartnerStaffFrm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControlMain)).EndInit();
     this.CMS.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridViewMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.VistaTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardViewSells)).EndInit();
     this.ResumeLayout(false);
 }
示例#19
0
文件: MainForm.cs 项目: fflorat/IRAP
 //自定义cardview标题
 private void cardView1_CustomDrawCardCaption(object sender, DevExpress.XtraGrid.Views.Card.CardCaptionCustomDrawEventArgs e)
 {
     DevExpress.XtraGrid.Views.Card.CardView view = sender as DevExpress.XtraGrid.Views.Card.CardView;
     (e.CardInfo as DevExpress.XtraGrid.Views.Card.ViewInfo.CardInfo).CaptionInfo.CardCaption = "ExChangeXML";
 }
示例#20
0
 public CustomCardView1Info(DevExpress.XtraGrid.Views.Card.CardView view) : base(view)
 {
 }
示例#21
0
文件: MainForm.cs 项目: fflorat/IRAP
 private void cardView2_CustomDrawCardCaption(object sender, DevExpress.XtraGrid.Views.Card.CardCaptionCustomDrawEventArgs e)
 {
     DevExpress.XtraGrid.Views.Card.CardView view = sender as DevExpress.XtraGrid.Views.Card.CardView;
     (e.CardInfo as DevExpress.XtraGrid.Views.Card.ViewInfo.CardInfo).CaptionInfo.CardCaption = "MaterialStore";
 }