Example #1
0
        private void luCompany_EditValueChanged(object sender, EventArgs e)
        {
            Company.CurrentId = (int)luCompany.EditValue;
            myBar.ClearLinks();

            this.Text = $"Reflex {LoginUser.CurrUser.LoginName} has logged into {Company.GetCurrCompany().CompanyName}";

            DevExpress.XtraBars.BarLargeButtonItem mainItem = new DevExpress.XtraBars.BarLargeButtonItem(barManager1, $"Reflex Field Services");
            mainItem.Tag        = 999;
            mainItem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(TerminalItem_ItemClick);
            myBar.AddItem(mainItem);

            DevExpress.XtraBars.BarMdiChildrenListItem Windows = new DevExpress.XtraBars.BarMdiChildrenListItem();
            Windows.Caption = "&Windows";
            myBar.AddItem(Windows);

            DevExpress.XtraBars.BarLargeButtonItem About = new DevExpress.XtraBars.BarLargeButtonItem(barManager1, "About");
            About.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(About_ItemClick);
            myBar.AddItem(About);

            var providerList = new List <IInitProvider> {
                new MobileCompanyInitProvider(), new MobileUserInitProvider()
            };

            MobileCommon.HMCon = new HMCon(MobileCommon.DatabaseName, MobileCommon.ServerName, Company.CurrentId, LoginUser.CurrUser.MatchId, providerList);

            GuiCommon.HMDevXManager.AppInit(LoginUser.CurrUser.GetUserName());
            GuiCommon.HMDevXManager.FormInit(this);
        }
Example #2
0
        private void InitBarManager()
        {
            //string[] strMenus = { "系统管理", "会员管理", "财务管理", "报表管理", "基础资料", "货品管理", "客户管理", "物流管理" };
            //Utils.ImageCollection largeImgs;
            var query = CacheInfo.listMenuInfoModel().Where(p => p.MenuBig == true).ToList();

            if (query == null || query.Count() == 0)
            {
                return;
            }
            string imagePath = Application.StartupPath + "\\TempImage";
            int    imgindex  = 0;
            string fileName  = string.Empty;

            foreach (var model in query)
            {
                if (model.MenuBigImage == null)
                {
                    return;
                }
                //添加图标到资源文件
                fileName = string.Format("{0}.png", model.MenuFrmName);
                ImageTools.CreateImage(imagePath, fileName, model.MenuBigImage);
                System.Resources.IResourceWriter rw = new System.Resources.ResourceWriter("Resource.resx");
                rw.AddResource(model.MenuFrmName, (Image)Image.FromStream(new MemoryStream(model.MenuBigImage)).Clone());//Image.FromFile( imagePath + "\\" + fileName)
                rw.Close();
                //把资源文件中的图像添加到largeImgs中
                this.largeImgs.Images.Add((Image)Image.FromStream(new MemoryStream(model.MenuBigImage)).Clone(), model.MenuFrmName);
                //this.largeImgs.Images.SetKeyName(imgindex, fileName);
                //创建大图标菜单
                DevExpress.XtraBars.BarLargeButtonItem barLargeItem = new DevExpress.XtraBars.BarLargeButtonItem(barMain, model.MenuName);
                barLargeItem.LargeGlyph = largeImgs.Images[imgindex];//也可以设置 barLargeItem.LargeImageIndex,但是效果不是很好,可以试试
                barLargeItem.Hint       = model.MenuName;
                barLargeItem.Tag        = model.MenuName;
                barTop.LinksPersistInfo.Add(new DevExpress.XtraBars.LinkPersistInfo(barLargeItem, true));
                barMain.Items.Add(barLargeItem);
                imgindex++;
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition1 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition2 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition3 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition4 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition5 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition6 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition7 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition8 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition9 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition10 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition11 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition12 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition13 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition14 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition15 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition16 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     this.calcAPOSVsTargetDay = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcAPOSVsTargetMonth = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcINVVsTargetDay = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcINVVsTargetMonth = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcNPSVsTargetDay = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcNPSVsTargetMonth = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcDSVsTargetDay = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcDSVsTargetMonth = new DevExpress.XtraPivotGrid.PivotGridField();
     this.repositoryItemTextEditPers = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEditf2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.popupMenuMain = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barManagerMain = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1 = new DevExpress.XtraBars.Bar();
     this.barHeaderItem1 = new DevExpress.XtraBars.BarHeaderItem();
     this.bbiStartDate = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.barHeaderItem2 = new DevExpress.XtraBars.BarHeaderItem();
     this.bbiEndDate = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemDateEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.bbiGetData = new DevExpress.XtraBars.BarLargeButtonItem();
     this.bbiExport = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.pivotGridControlMain = new DevExpress.XtraPivotGrid.PivotGridControl();
     this.pro0001BindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.dsNMQry = new NestleICSales.DataSources.dsQry();
     this.fieldRouteNumber1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldRouteName1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldSupervisor1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldRouteBrand1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldPlantSalesDistrict1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldPlantName1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldPlantBaseName1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldDistributionChannel1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldAPOSLD = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldTargetAPOSDay = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldAPOS = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldTargetAPOS = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldINVLD = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldTargetINVDay = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldINV = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldTargetINV = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldNPSLD = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldTargetNPSDay = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldNPS = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldTargetNPS = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldDSLD1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldTargetDSDay = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldDS = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldTargetDS = new DevExpress.XtraPivotGrid.PivotGridField();
     this.dxValidationProviderMain = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
     this.pro_0001TableAdapter = new NestleICSales.DataSources.dsQryTableAdapters.Pro_0001TableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditPers)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditf2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManagerMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotGridControlMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pro0001BindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsNMQry)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderMain)).BeginInit();
     this.SuspendLayout();
     //
     // calcAPOSVsTargetDay
     //
     this.calcAPOSVsTargetDay.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcAPOSVsTargetDay.AreaIndex = 2;
     this.calcAPOSVsTargetDay.Caption = "APOS Vs Target LD";
     this.calcAPOSVsTargetDay.EmptyCellText = "0";
     this.calcAPOSVsTargetDay.EmptyValueText = "0";
     this.calcAPOSVsTargetDay.GrandTotalCellFormat.FormatString = "p";
     this.calcAPOSVsTargetDay.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcAPOSVsTargetDay.Name = "calcAPOSVsTargetDay";
     this.calcAPOSVsTargetDay.SummaryType = DevExpress.Data.PivotGrid.PivotSummaryType.Average;
     this.calcAPOSVsTargetDay.UnboundExpression = "([APOSLD] * 1.0) / [TargetAPOSDay]";
     this.calcAPOSVsTargetDay.UnboundFieldName = "calcAPOSVsTarget";
     this.calcAPOSVsTargetDay.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     //
     // calcAPOSVsTargetMonth
     //
     this.calcAPOSVsTargetMonth.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcAPOSVsTargetMonth.AreaIndex = 5;
     this.calcAPOSVsTargetMonth.Caption = "APOS Vs Target MTD";
     this.calcAPOSVsTargetMonth.EmptyCellText = "0";
     this.calcAPOSVsTargetMonth.EmptyValueText = "0";
     this.calcAPOSVsTargetMonth.GrandTotalCellFormat.FormatString = "p";
     this.calcAPOSVsTargetMonth.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcAPOSVsTargetMonth.Name = "calcAPOSVsTargetMonth";
     this.calcAPOSVsTargetMonth.SummaryType = DevExpress.Data.PivotGrid.PivotSummaryType.Average;
     this.calcAPOSVsTargetMonth.UnboundExpression = "([APOS] * 1.0) / [TargetAPOS]";
     this.calcAPOSVsTargetMonth.UnboundFieldName = "calcAPOSVsTargetMonth";
     this.calcAPOSVsTargetMonth.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     //
     // calcINVVsTargetDay
     //
     this.calcINVVsTargetDay.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcINVVsTargetDay.AreaIndex = 8;
     this.calcINVVsTargetDay.Caption = "INV Vs Target LD";
     this.calcINVVsTargetDay.EmptyCellText = "0";
     this.calcINVVsTargetDay.EmptyValueText = "0";
     this.calcINVVsTargetDay.GrandTotalCellFormat.FormatString = "p";
     this.calcINVVsTargetDay.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcINVVsTargetDay.Name = "calcINVVsTargetDay";
     this.calcINVVsTargetDay.SummaryType = DevExpress.Data.PivotGrid.PivotSummaryType.Average;
     this.calcINVVsTargetDay.UnboundExpression = "([INVLD] * 1.0) / [TargetINVDay]";
     this.calcINVVsTargetDay.UnboundFieldName = "calcINVVsTargetDay";
     this.calcINVVsTargetDay.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     //
     // calcINVVsTargetMonth
     //
     this.calcINVVsTargetMonth.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcINVVsTargetMonth.AreaIndex = 11;
     this.calcINVVsTargetMonth.Caption = "INV Vs Target MTD";
     this.calcINVVsTargetMonth.EmptyCellText = "0";
     this.calcINVVsTargetMonth.EmptyValueText = "0";
     this.calcINVVsTargetMonth.GrandTotalCellFormat.FormatString = "p";
     this.calcINVVsTargetMonth.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcINVVsTargetMonth.Name = "calcINVVsTargetMonth";
     this.calcINVVsTargetMonth.SummaryType = DevExpress.Data.PivotGrid.PivotSummaryType.Average;
     this.calcINVVsTargetMonth.UnboundExpression = "([INV] * 1.0) / [TargetINV]";
     this.calcINVVsTargetMonth.UnboundFieldName = "calcINVVsTargetMonth";
     this.calcINVVsTargetMonth.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     //
     // calcNPSVsTargetDay
     //
     this.calcNPSVsTargetDay.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcNPSVsTargetDay.AreaIndex = 14;
     this.calcNPSVsTargetDay.Caption = "NPS Vs Target LD";
     this.calcNPSVsTargetDay.EmptyCellText = "0";
     this.calcNPSVsTargetDay.EmptyValueText = "0";
     this.calcNPSVsTargetDay.GrandTotalCellFormat.FormatString = "p";
     this.calcNPSVsTargetDay.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcNPSVsTargetDay.Name = "calcNPSVsTargetDay";
     this.calcNPSVsTargetDay.SummaryType = DevExpress.Data.PivotGrid.PivotSummaryType.Average;
     this.calcNPSVsTargetDay.UnboundExpression = "([NPSLD] * 1.0) / [TargetNPSDay]";
     this.calcNPSVsTargetDay.UnboundFieldName = "calcNPSVsTargetDay";
     this.calcNPSVsTargetDay.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     //
     // calcNPSVsTargetMonth
     //
     this.calcNPSVsTargetMonth.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcNPSVsTargetMonth.AreaIndex = 17;
     this.calcNPSVsTargetMonth.Caption = "NPS Vs Target MTD";
     this.calcNPSVsTargetMonth.EmptyCellText = "0";
     this.calcNPSVsTargetMonth.EmptyValueText = "0";
     this.calcNPSVsTargetMonth.GrandTotalCellFormat.FormatString = "p";
     this.calcNPSVsTargetMonth.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcNPSVsTargetMonth.Name = "calcNPSVsTargetMonth";
     this.calcNPSVsTargetMonth.SummaryType = DevExpress.Data.PivotGrid.PivotSummaryType.Average;
     this.calcNPSVsTargetMonth.UnboundExpression = "([NPS] * 1.0) / [TargetNPS]";
     this.calcNPSVsTargetMonth.UnboundFieldName = "calcNPSVsTargetMonth";
     this.calcNPSVsTargetMonth.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     //
     // calcDSVsTargetDay
     //
     this.calcDSVsTargetDay.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcDSVsTargetDay.AreaIndex = 20;
     this.calcDSVsTargetDay.Caption = "DS Vs Target LD";
     this.calcDSVsTargetDay.EmptyCellText = "0";
     this.calcDSVsTargetDay.EmptyValueText = "0";
     this.calcDSVsTargetDay.GrandTotalCellFormat.FormatString = "p";
     this.calcDSVsTargetDay.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcDSVsTargetDay.Name = "calcDSVsTargetDay";
     this.calcDSVsTargetDay.SummaryType = DevExpress.Data.PivotGrid.PivotSummaryType.Average;
     this.calcDSVsTargetDay.UnboundExpression = "([DSLD] * 1.0) / [TargetDSDay]";
     this.calcDSVsTargetDay.UnboundFieldName = "calcDSVsTargetDay";
     this.calcDSVsTargetDay.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     //
     // calcDSVsTargetMonth
     //
     this.calcDSVsTargetMonth.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcDSVsTargetMonth.AreaIndex = 23;
     this.calcDSVsTargetMonth.Caption = "DS Vs Target MTD";
     this.calcDSVsTargetMonth.EmptyCellText = "0";
     this.calcDSVsTargetMonth.EmptyValueText = "0";
     this.calcDSVsTargetMonth.GrandTotalCellFormat.FormatString = "p";
     this.calcDSVsTargetMonth.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcDSVsTargetMonth.Name = "calcDSVsTargetMonth";
     this.calcDSVsTargetMonth.SummaryType = DevExpress.Data.PivotGrid.PivotSummaryType.Average;
     this.calcDSVsTargetMonth.UnboundExpression = "([DS] * 1.0) / [TargetDS]";
     this.calcDSVsTargetMonth.UnboundFieldName = "calcDSVsTargetMonth";
     this.calcDSVsTargetMonth.UnboundType = DevExpress.Data.UnboundColumnType.Decimal;
     //
     // repositoryItemTextEditPers
     //
     this.repositoryItemTextEditPers.AutoHeight = false;
     this.repositoryItemTextEditPers.EditFormat.FormatString = "P1";
     this.repositoryItemTextEditPers.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEditPers.ExportMode = DevExpress.XtraEditors.Repository.ExportMode.DisplayText;
     this.repositoryItemTextEditPers.Mask.EditMask = "P1";
     this.repositoryItemTextEditPers.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEditPers.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemTextEditPers.Name = "repositoryItemTextEditPers";
     //
     // repositoryItemTextEditf2
     //
     this.repositoryItemTextEditf2.AutoHeight = false;
     this.repositoryItemTextEditf2.DisplayFormat.FormatString = "f2";
     this.repositoryItemTextEditf2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEditf2.Mask.EditMask = "f2";
     this.repositoryItemTextEditf2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEditf2.Name = "repositoryItemTextEditf2";
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     //
     // popupMenuMain
     //
     this.popupMenuMain.Manager = this.barManagerMain;
     this.popupMenuMain.Name = "popupMenuMain";
     //
     // barManagerMain
     //
     this.barManagerMain.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar1});
     this.barManagerMain.DockControls.Add(this.barDockControlTop);
     this.barManagerMain.DockControls.Add(this.barDockControlBottom);
     this.barManagerMain.DockControls.Add(this.barDockControlLeft);
     this.barManagerMain.DockControls.Add(this.barDockControlRight);
     this.barManagerMain.Form = this;
     this.barManagerMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.bbiExport,
     this.bbiStartDate,
     this.barHeaderItem1,
     this.bbiGetData,
     this.barHeaderItem2,
     this.bbiEndDate});
     this.barManagerMain.MaxItemId = 12;
     this.barManagerMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemDateEdit1,
     this.repositoryItemDateEdit2,
     this.repositoryItemDateEdit3});
     //
     // bar1
     //
     this.bar1.BarName = "Main";
     this.bar1.DockCol = 0;
     this.bar1.DockRow = 0;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barHeaderItem1),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiStartDate),
     new DevExpress.XtraBars.LinkPersistInfo(this.barHeaderItem2),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiEndDate),
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.bbiGetData, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiExport)});
     this.bar1.Text = "Custom 2";
     //
     // barHeaderItem1
     //
     this.barHeaderItem1.Caption = "Start Date";
     this.barHeaderItem1.Id = 3;
     this.barHeaderItem1.Name = "barHeaderItem1";
     //
     // bbiStartDate
     //
     this.bbiStartDate.Caption = "Start Date";
     this.bbiStartDate.Edit = this.repositoryItemDateEdit1;
     this.bbiStartDate.Id = 2;
     this.bbiStartDate.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D1));
     this.bbiStartDate.Name = "bbiStartDate";
     this.bbiStartDate.Width = 120;
     //
     // 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.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
     //
     // barHeaderItem2
     //
     this.barHeaderItem2.Caption = "EndDate";
     this.barHeaderItem2.Id = 10;
     this.barHeaderItem2.Name = "barHeaderItem2";
     //
     // bbiEndDate
     //
     this.bbiEndDate.Caption = "End Date";
     this.bbiEndDate.Edit = this.repositoryItemDateEdit3;
     this.bbiEndDate.Id = 11;
     this.bbiEndDate.Name = "bbiEndDate";
     this.bbiEndDate.Width = 120;
     //
     // 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.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit3.Name = "repositoryItemDateEdit3";
     //
     // bbiGetData
     //
     this.bbiGetData.Caption = "Get Data";
     this.bbiGetData.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.bbiGetData.Glyph = global::NestleICSales.Properties.Resources.apply_16x16;
     this.bbiGetData.Id = 9;
     this.bbiGetData.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.G));
     this.bbiGetData.Name = "bbiGetData";
     this.bbiGetData.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiGetData_ItemClick);
     //
     // bbiExport
     //
     this.bbiExport.Caption = "Export";
     this.bbiExport.Glyph = global::NestleICSales.Properties.Resources.Export;
     this.bbiExport.Id = 1;
     this.bbiExport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E));
     this.bbiExport.Name = "bbiExport";
     this.bbiExport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiExport_ItemClick);
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(1132, 31);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 311);
     this.barDockControlBottom.Size = new System.Drawing.Size(1132, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 31);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 280);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(1132, 31);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 280);
     //
     // repositoryItemDateEdit2
     //
     this.repositoryItemDateEdit2.AutoHeight = false;
     this.repositoryItemDateEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit2.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2";
     //
     // pivotGridControlMain
     //
     this.pivotGridControlMain.DataSource = this.pro0001BindingSource;
     this.pivotGridControlMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pivotGridControlMain.Fields.AddRange(new DevExpress.XtraPivotGrid.PivotGridField[] {
     this.fieldRouteNumber1,
     this.fieldRouteName1,
     this.fieldSupervisor1,
     this.fieldRouteBrand1,
     this.fieldPlantSalesDistrict1,
     this.fieldPlantName1,
     this.fieldPlantBaseName1,
     this.fieldDistributionChannel1,
     this.fieldAPOSLD,
     this.fieldTargetAPOSDay,
     this.fieldAPOS,
     this.fieldTargetAPOS,
     this.fieldINVLD,
     this.fieldTargetINVDay,
     this.fieldINV,
     this.fieldTargetINV,
     this.fieldNPSLD,
     this.fieldTargetNPSDay,
     this.fieldNPS,
     this.fieldTargetNPS,
     this.fieldDSLD1,
     this.fieldTargetDSDay,
     this.fieldDS,
     this.fieldTargetDS,
     this.calcAPOSVsTargetDay,
     this.calcAPOSVsTargetMonth,
     this.calcINVVsTargetDay,
     this.calcINVVsTargetMonth,
     this.calcNPSVsTargetDay,
     this.calcNPSVsTargetMonth,
     this.calcDSVsTargetDay,
     this.calcDSVsTargetMonth});
     pivotGridStyleFormatCondition1.Appearance.BackColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition1.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition1.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition1.Field = this.calcAPOSVsTargetDay;
     pivotGridStyleFormatCondition1.FieldName = "calcAPOSVsTargetDay";
     pivotGridStyleFormatCondition1.Value1 = "1";
     pivotGridStyleFormatCondition2.Appearance.BackColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition2.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition2.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition2.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition2.Field = this.calcAPOSVsTargetDay;
     pivotGridStyleFormatCondition2.FieldName = "calcAPOSVsTargetDay";
     pivotGridStyleFormatCondition2.Value1 = "1";
     pivotGridStyleFormatCondition3.Appearance.BackColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition3.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition3.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition3.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition3.Field = this.calcAPOSVsTargetMonth;
     pivotGridStyleFormatCondition3.FieldName = "calcAPOSVsTargetMonth";
     pivotGridStyleFormatCondition3.Value1 = "1";
     pivotGridStyleFormatCondition4.Appearance.BackColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition4.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition4.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition4.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition4.Field = this.calcAPOSVsTargetMonth;
     pivotGridStyleFormatCondition4.FieldName = "calcAPOSVsTargetMonth";
     pivotGridStyleFormatCondition4.Value1 = "1";
     pivotGridStyleFormatCondition5.Appearance.BackColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition5.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition5.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition5.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition5.Field = this.calcINVVsTargetDay;
     pivotGridStyleFormatCondition5.FieldName = "calcINVVsTargetDay";
     pivotGridStyleFormatCondition5.Value1 = "1";
     pivotGridStyleFormatCondition6.Appearance.BackColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition6.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition6.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition6.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition6.Field = this.calcINVVsTargetDay;
     pivotGridStyleFormatCondition6.FieldName = "calcINVVsTargetDay";
     pivotGridStyleFormatCondition6.Value1 = "1";
     pivotGridStyleFormatCondition7.Appearance.BackColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition7.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition7.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition7.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition7.Field = this.calcINVVsTargetMonth;
     pivotGridStyleFormatCondition7.FieldName = "calcINVVsTargetMonth";
     pivotGridStyleFormatCondition7.Value1 = "1";
     pivotGridStyleFormatCondition8.Appearance.BackColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition8.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition8.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition8.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition8.Field = this.calcINVVsTargetMonth;
     pivotGridStyleFormatCondition8.FieldName = "calcINVVsTargetMonth";
     pivotGridStyleFormatCondition8.Value1 = "1";
     pivotGridStyleFormatCondition9.Appearance.BackColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition9.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition9.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition9.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition9.Field = this.calcNPSVsTargetDay;
     pivotGridStyleFormatCondition9.FieldName = "calcNPSVsTargetDay";
     pivotGridStyleFormatCondition9.Value1 = "1";
     pivotGridStyleFormatCondition10.Appearance.BackColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition10.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition10.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition10.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition10.Field = this.calcNPSVsTargetDay;
     pivotGridStyleFormatCondition10.FieldName = "calcNPSVsTargetDay";
     pivotGridStyleFormatCondition10.Value1 = "1";
     pivotGridStyleFormatCondition11.Appearance.BackColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition11.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition11.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition11.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition11.Field = this.calcNPSVsTargetMonth;
     pivotGridStyleFormatCondition11.FieldName = "calcNPSVsTargetMonth";
     pivotGridStyleFormatCondition11.Value1 = "1";
     pivotGridStyleFormatCondition12.Appearance.BackColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition12.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition12.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition12.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition12.Field = this.calcNPSVsTargetMonth;
     pivotGridStyleFormatCondition12.FieldName = "calcNPSVsTargetMonth";
     pivotGridStyleFormatCondition12.Value1 = "1";
     pivotGridStyleFormatCondition13.Appearance.BackColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition13.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition13.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition13.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition13.Field = this.calcDSVsTargetDay;
     pivotGridStyleFormatCondition13.FieldName = "calcDSVsTargetDay";
     pivotGridStyleFormatCondition13.Value1 = "1";
     pivotGridStyleFormatCondition14.Appearance.BackColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition14.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition14.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition14.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition14.Field = this.calcDSVsTargetDay;
     pivotGridStyleFormatCondition14.FieldName = "calcDSVsTargetDay";
     pivotGridStyleFormatCondition14.Value1 = "1";
     pivotGridStyleFormatCondition15.Appearance.BackColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition15.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition15.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition15.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition15.Field = this.calcDSVsTargetMonth;
     pivotGridStyleFormatCondition15.FieldName = "calcDSVsTargetMonth";
     pivotGridStyleFormatCondition15.Value1 = "1";
     pivotGridStyleFormatCondition16.Appearance.BackColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition16.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition16.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition16.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition16.Field = this.calcDSVsTargetMonth;
     pivotGridStyleFormatCondition16.FieldName = "calcDSVsTargetMonth";
     pivotGridStyleFormatCondition16.Value1 = "1";
     this.pivotGridControlMain.FormatConditions.AddRange(new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition[] {
     pivotGridStyleFormatCondition1,
     pivotGridStyleFormatCondition2,
     pivotGridStyleFormatCondition3,
     pivotGridStyleFormatCondition4,
     pivotGridStyleFormatCondition5,
     pivotGridStyleFormatCondition6,
     pivotGridStyleFormatCondition7,
     pivotGridStyleFormatCondition8,
     pivotGridStyleFormatCondition9,
     pivotGridStyleFormatCondition10,
     pivotGridStyleFormatCondition11,
     pivotGridStyleFormatCondition12,
     pivotGridStyleFormatCondition13,
     pivotGridStyleFormatCondition14,
     pivotGridStyleFormatCondition15,
     pivotGridStyleFormatCondition16});
     this.pivotGridControlMain.Location = new System.Drawing.Point(0, 31);
     this.pivotGridControlMain.Name = "pivotGridControlMain";
     this.pivotGridControlMain.OptionsPrint.PrintColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
     this.pivotGridControlMain.OptionsPrint.PrintDataHeaders = DevExpress.Utils.DefaultBoolean.False;
     this.pivotGridControlMain.OptionsPrint.PrintFilterHeaders = DevExpress.Utils.DefaultBoolean.False;
     this.pivotGridControlMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemTextEditPers});
     this.pivotGridControlMain.Size = new System.Drawing.Size(1132, 280);
     this.pivotGridControlMain.TabIndex = 9;
     //
     // pro0001BindingSource
     //
     this.pro0001BindingSource.DataMember = "Pro_0001";
     this.pro0001BindingSource.DataSource = this.dsNMQry;
     //
     // dsNMQry
     //
     this.dsNMQry.DataSetName = "dsNMQry";
     this.dsNMQry.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // fieldRouteNumber1
     //
     this.fieldRouteNumber1.AreaIndex = 0;
     this.fieldRouteNumber1.Caption = "Route Number";
     this.fieldRouteNumber1.FieldName = "RouteNumber";
     this.fieldRouteNumber1.Name = "fieldRouteNumber1";
     //
     // fieldRouteName1
     //
     this.fieldRouteName1.Area = DevExpress.XtraPivotGrid.PivotArea.RowArea;
     this.fieldRouteName1.AreaIndex = 1;
     this.fieldRouteName1.Caption = "Route Name";
     this.fieldRouteName1.FieldName = "RouteName";
     this.fieldRouteName1.Name = "fieldRouteName1";
     //
     // fieldSupervisor1
     //
     this.fieldSupervisor1.Area = DevExpress.XtraPivotGrid.PivotArea.RowArea;
     this.fieldSupervisor1.AreaIndex = 0;
     this.fieldSupervisor1.Caption = "Supervisor";
     this.fieldSupervisor1.FieldName = "Supervisor";
     this.fieldSupervisor1.Name = "fieldSupervisor1";
     //
     // fieldRouteBrand1
     //
     this.fieldRouteBrand1.AreaIndex = 1;
     this.fieldRouteBrand1.Caption = "Route Brand";
     this.fieldRouteBrand1.FieldName = "RouteBrand";
     this.fieldRouteBrand1.Name = "fieldRouteBrand1";
     //
     // fieldPlantSalesDistrict1
     //
     this.fieldPlantSalesDistrict1.AreaIndex = 2;
     this.fieldPlantSalesDistrict1.Caption = "Plant Sales District";
     this.fieldPlantSalesDistrict1.FieldName = "PlantSalesDistrict";
     this.fieldPlantSalesDistrict1.Name = "fieldPlantSalesDistrict1";
     //
     // fieldPlantName1
     //
     this.fieldPlantName1.AreaIndex = 3;
     this.fieldPlantName1.Caption = "Plant Name";
     this.fieldPlantName1.FieldName = "PlantName";
     this.fieldPlantName1.Name = "fieldPlantName1";
     //
     // fieldPlantBaseName1
     //
     this.fieldPlantBaseName1.AreaIndex = 4;
     this.fieldPlantBaseName1.Caption = "Plant Base Name";
     this.fieldPlantBaseName1.FieldName = "PlantBaseName";
     this.fieldPlantBaseName1.Name = "fieldPlantBaseName1";
     //
     // fieldDistributionChannel1
     //
     this.fieldDistributionChannel1.AreaIndex = 5;
     this.fieldDistributionChannel1.Caption = "Distribution Channel";
     this.fieldDistributionChannel1.FieldName = "DistributionChannel";
     this.fieldDistributionChannel1.Name = "fieldDistributionChannel1";
     //
     // fieldAPOSLD
     //
     this.fieldAPOSLD.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldAPOSLD.AreaIndex = 0;
     this.fieldAPOSLD.Caption = "APOS LD";
     this.fieldAPOSLD.CellFormat.FormatString = "f2";
     this.fieldAPOSLD.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldAPOSLD.EmptyCellText = "0";
     this.fieldAPOSLD.EmptyValueText = "0";
     this.fieldAPOSLD.FieldName = "APOSLD";
     this.fieldAPOSLD.Name = "fieldAPOSLD";
     //
     // fieldTargetAPOSDay
     //
     this.fieldTargetAPOSDay.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldTargetAPOSDay.AreaIndex = 1;
     this.fieldTargetAPOSDay.Caption = "APOS Target LD";
     this.fieldTargetAPOSDay.CellFormat.FormatString = "f2";
     this.fieldTargetAPOSDay.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldTargetAPOSDay.EmptyCellText = "0";
     this.fieldTargetAPOSDay.EmptyValueText = "0";
     this.fieldTargetAPOSDay.FieldName = "TargetAPOSDay";
     this.fieldTargetAPOSDay.Name = "fieldTargetAPOSDay";
     //
     // fieldAPOS
     //
     this.fieldAPOS.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldAPOS.AreaIndex = 3;
     this.fieldAPOS.Caption = "APOS MTD";
     this.fieldAPOS.CellFormat.FormatString = "f2";
     this.fieldAPOS.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldAPOS.EmptyCellText = "0";
     this.fieldAPOS.EmptyValueText = "0";
     this.fieldAPOS.FieldName = "APOS";
     this.fieldAPOS.Name = "fieldAPOS";
     //
     // fieldTargetAPOS
     //
     this.fieldTargetAPOS.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldTargetAPOS.AreaIndex = 4;
     this.fieldTargetAPOS.Caption = "APOS Target MTD";
     this.fieldTargetAPOS.CellFormat.FormatString = "f2";
     this.fieldTargetAPOS.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldTargetAPOS.EmptyCellText = "0";
     this.fieldTargetAPOS.EmptyValueText = "0";
     this.fieldTargetAPOS.FieldName = "TargetAPOS";
     this.fieldTargetAPOS.Name = "fieldTargetAPOS";
     //
     // fieldINVLD
     //
     this.fieldINVLD.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldINVLD.AreaIndex = 6;
     this.fieldINVLD.Caption = "INV LD";
     this.fieldINVLD.CellFormat.FormatString = "f2";
     this.fieldINVLD.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldINVLD.EmptyCellText = "0";
     this.fieldINVLD.EmptyValueText = "0";
     this.fieldINVLD.FieldName = "INVLD";
     this.fieldINVLD.Name = "fieldINVLD";
     //
     // fieldTargetINVDay
     //
     this.fieldTargetINVDay.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldTargetINVDay.AreaIndex = 7;
     this.fieldTargetINVDay.Caption = "INV Target LD";
     this.fieldTargetINVDay.CellFormat.FormatString = "f2";
     this.fieldTargetINVDay.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldTargetINVDay.EmptyCellText = "0";
     this.fieldTargetINVDay.EmptyValueText = "0";
     this.fieldTargetINVDay.FieldName = "TargetINVDay";
     this.fieldTargetINVDay.Name = "fieldTargetINVDay";
     //
     // fieldINV
     //
     this.fieldINV.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldINV.AreaIndex = 9;
     this.fieldINV.Caption = "INV MTD";
     this.fieldINV.CellFormat.FormatString = "f2";
     this.fieldINV.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldINV.EmptyCellText = "0";
     this.fieldINV.EmptyValueText = "0";
     this.fieldINV.FieldName = "INV";
     this.fieldINV.Name = "fieldINV";
     //
     // fieldTargetINV
     //
     this.fieldTargetINV.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldTargetINV.AreaIndex = 10;
     this.fieldTargetINV.Caption = "INV Target MTD";
     this.fieldTargetINV.CellFormat.FormatString = "f2";
     this.fieldTargetINV.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldTargetINV.EmptyCellText = "0";
     this.fieldTargetINV.EmptyValueText = "0";
     this.fieldTargetINV.FieldName = "TargetINV";
     this.fieldTargetINV.Name = "fieldTargetINV";
     //
     // fieldNPSLD
     //
     this.fieldNPSLD.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldNPSLD.AreaIndex = 12;
     this.fieldNPSLD.Caption = "NPS LD";
     this.fieldNPSLD.CellFormat.FormatString = "f2";
     this.fieldNPSLD.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldNPSLD.EmptyCellText = "0";
     this.fieldNPSLD.EmptyValueText = "0";
     this.fieldNPSLD.FieldName = "NPSLD";
     this.fieldNPSLD.Name = "fieldNPSLD";
     //
     // fieldTargetNPSDay
     //
     this.fieldTargetNPSDay.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldTargetNPSDay.AreaIndex = 13;
     this.fieldTargetNPSDay.Caption = "NPS Target LD";
     this.fieldTargetNPSDay.CellFormat.FormatString = "f2";
     this.fieldTargetNPSDay.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldTargetNPSDay.EmptyCellText = "0";
     this.fieldTargetNPSDay.EmptyValueText = "0";
     this.fieldTargetNPSDay.FieldName = "TargetNPSDay";
     this.fieldTargetNPSDay.Name = "fieldTargetNPSDay";
     //
     // fieldNPS
     //
     this.fieldNPS.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldNPS.AreaIndex = 15;
     this.fieldNPS.Caption = "NPS MTD";
     this.fieldNPS.CellFormat.FormatString = "f2";
     this.fieldNPS.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldNPS.EmptyCellText = "0";
     this.fieldNPS.EmptyValueText = "0";
     this.fieldNPS.FieldName = "NPS";
     this.fieldNPS.Name = "fieldNPS";
     //
     // fieldTargetNPS
     //
     this.fieldTargetNPS.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldTargetNPS.AreaIndex = 16;
     this.fieldTargetNPS.Caption = "NPS Target MTD";
     this.fieldTargetNPS.CellFormat.FormatString = "f2";
     this.fieldTargetNPS.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldTargetNPS.EmptyCellText = "0";
     this.fieldTargetNPS.EmptyValueText = "0";
     this.fieldTargetNPS.FieldName = "TargetNPS";
     this.fieldTargetNPS.Name = "fieldTargetNPS";
     //
     // fieldDSLD1
     //
     this.fieldDSLD1.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldDSLD1.AreaIndex = 18;
     this.fieldDSLD1.Caption = "DS LD";
     this.fieldDSLD1.CellFormat.FormatString = "f2";
     this.fieldDSLD1.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldDSLD1.EmptyCellText = "0";
     this.fieldDSLD1.EmptyValueText = "0";
     this.fieldDSLD1.FieldName = "DSLD";
     this.fieldDSLD1.Name = "fieldDSLD1";
     //
     // fieldTargetDSDay
     //
     this.fieldTargetDSDay.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldTargetDSDay.AreaIndex = 19;
     this.fieldTargetDSDay.Caption = "DS Target LD";
     this.fieldTargetDSDay.CellFormat.FormatString = "f2";
     this.fieldTargetDSDay.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldTargetDSDay.EmptyCellText = "0";
     this.fieldTargetDSDay.EmptyValueText = "0";
     this.fieldTargetDSDay.FieldName = "TargetDSDay";
     this.fieldTargetDSDay.Name = "fieldTargetDSDay";
     //
     // fieldDS
     //
     this.fieldDS.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldDS.AreaIndex = 21;
     this.fieldDS.Caption = "DS MTD";
     this.fieldDS.CellFormat.FormatString = "f2";
     this.fieldDS.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldDS.EmptyCellText = "0";
     this.fieldDS.EmptyValueText = "0";
     this.fieldDS.FieldName = "DS";
     this.fieldDS.Name = "fieldDS";
     //
     // fieldTargetDS
     //
     this.fieldTargetDS.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldTargetDS.AreaIndex = 22;
     this.fieldTargetDS.Caption = "DS Target MTD";
     this.fieldTargetDS.CellFormat.FormatString = "f2";
     this.fieldTargetDS.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldTargetDS.EmptyCellText = "0";
     this.fieldTargetDS.EmptyValueText = "0";
     this.fieldTargetDS.FieldName = "TargetDS";
     this.fieldTargetDS.Name = "fieldTargetDS";
     //
     // pro_0001TableAdapter
     //
     this.pro_0001TableAdapter.ClearBeforeFill = true;
     //
     // QryPro_0001BFrm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1132, 311);
     this.Controls.Add(this.pivotGridControlMain);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Icon = global::NestleICSales.Properties.Resources.Qry16;
     this.Name = "QryPro_0001BFrm";
     this.Text = "Actual KPI Vs Target";
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditPers)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditf2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManagerMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotGridControlMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pro0001BindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsNMQry)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderMain)).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();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition1 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition2 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition3 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition4 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition5 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition6 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition7 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition8 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     this.calcCases = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcNPS = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcVolume = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcPPL = new DevExpress.XtraPivotGrid.PivotGridField();
     this.repositoryItemTextEditf2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.popupMenuMain = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barManagerMain = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1 = new DevExpress.XtraBars.Bar();
     this.barHeaderItem1 = new DevExpress.XtraBars.BarHeaderItem();
     this.bbiStartDate = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.barHeaderItem2 = new DevExpress.XtraBars.BarHeaderItem();
     this.bbiEndDate = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemDateEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.bbiGetData = new DevExpress.XtraBars.BarLargeButtonItem();
     this.bbiExport = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.dxValidationProviderMain = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
     this.pivotGridControlMain = new DevExpress.XtraPivotGrid.PivotGridControl();
     this.pro0004BindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.dsNMQry = new NestleICSales.DataSources.dsQry();
     this.fieldMaterialNumber1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldTypeName1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldDistributionChannel1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldMaterialName1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldProductBase1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldBrand1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldProductGroup31 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldProductGroup21 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldProductGroup11 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldPriceChanges1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldPricePointRang1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldMaterialType1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldFlavor1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldNPDS1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldPricePoint1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldCases1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldNPS1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldVolume1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldPPL1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldYearNo = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldCustHierLevel3Name = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldCustomerGroup = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldCustomerType = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldCustomerType2 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldRouteNumber = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldSubchannelName = new DevExpress.XtraPivotGrid.PivotGridField();
     this.repositoryItemTextEditPer = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.pro_0004TableAdapter = new NestleICSales.DataSources.dsQryTableAdapters.Pro_0004TableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditf2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManagerMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotGridControlMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pro0004BindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsNMQry)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditPer)).BeginInit();
     this.SuspendLayout();
     //
     // calcCases
     //
     this.calcCases.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcCases.AreaIndex = 1;
     this.calcCases.Caption = "Cases%";
     this.calcCases.CellFormat.FormatString = "p2";
     this.calcCases.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcCases.DisplayFolder = "0.0%";
     this.calcCases.EmptyCellText = "0.0%";
     this.calcCases.FieldName = "Cases";
     this.calcCases.GrandTotalCellFormat.FormatString = "p2";
     this.calcCases.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcCases.Name = "calcCases";
     this.calcCases.Options.ShowGrandTotal = false;
     this.calcCases.Options.ShowUnboundExpressionMenu = true;
     this.calcCases.TotalCellFormat.FormatString = "p2";
     this.calcCases.TotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcCases.TotalValueFormat.FormatString = "p2";
     this.calcCases.TotalValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcCases.ValueFormat.FormatString = "p2";
     this.calcCases.ValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     //
     // calcNPS
     //
     this.calcNPS.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcNPS.AreaIndex = 3;
     this.calcNPS.Caption = "NPS%";
     this.calcNPS.CellFormat.FormatString = "p2";
     this.calcNPS.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcNPS.DisplayFolder = "0.0%";
     this.calcNPS.EmptyCellText = "0.0%";
     this.calcNPS.FieldName = "NPS";
     this.calcNPS.GrandTotalCellFormat.FormatString = "p2";
     this.calcNPS.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcNPS.Name = "calcNPS";
     this.calcNPS.Options.ShowGrandTotal = false;
     this.calcNPS.Options.ShowUnboundExpressionMenu = true;
     this.calcNPS.TotalCellFormat.FormatString = "p2";
     this.calcNPS.TotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcNPS.TotalValueFormat.FormatString = "p2";
     this.calcNPS.TotalValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcNPS.ValueFormat.FormatString = "p2";
     this.calcNPS.ValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     //
     // calcVolume
     //
     this.calcVolume.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcVolume.AreaIndex = 5;
     this.calcVolume.Caption = "Volume%";
     this.calcVolume.CellFormat.FormatString = "p2";
     this.calcVolume.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcVolume.DisplayFolder = "0.0%";
     this.calcVolume.EmptyCellText = "0.0%";
     this.calcVolume.FieldName = "Volume";
     this.calcVolume.GrandTotalCellFormat.FormatString = "p2";
     this.calcVolume.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcVolume.Name = "calcVolume";
     this.calcVolume.Options.ShowGrandTotal = false;
     this.calcVolume.Options.ShowUnboundExpressionMenu = true;
     this.calcVolume.TotalCellFormat.FormatString = "p2";
     this.calcVolume.TotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcVolume.TotalValueFormat.FormatString = "p2";
     this.calcVolume.TotalValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcVolume.ValueFormat.FormatString = "p2";
     this.calcVolume.ValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     //
     // calcPPL
     //
     this.calcPPL.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcPPL.AreaIndex = 7;
     this.calcPPL.Caption = "PPL%";
     this.calcPPL.CellFormat.FormatString = "p2";
     this.calcPPL.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcPPL.DisplayFolder = "0.0%";
     this.calcPPL.EmptyCellText = "0.0%";
     this.calcPPL.FieldName = "PPL";
     this.calcPPL.GrandTotalCellFormat.FormatString = "p2";
     this.calcPPL.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcPPL.Name = "calcPPL";
     this.calcPPL.Options.ShowGrandTotal = false;
     this.calcPPL.Options.ShowUnboundExpressionMenu = true;
     this.calcPPL.TotalCellFormat.FormatString = "p2";
     this.calcPPL.TotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcPPL.TotalValueFormat.FormatString = "p2";
     this.calcPPL.TotalValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.calcPPL.ValueFormat.FormatString = "p2";
     this.calcPPL.ValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     //
     // repositoryItemTextEditf2
     //
     this.repositoryItemTextEditf2.AutoHeight = false;
     this.repositoryItemTextEditf2.DisplayFormat.FormatString = "f2";
     this.repositoryItemTextEditf2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEditf2.Mask.EditMask = "f2";
     this.repositoryItemTextEditf2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEditf2.Name = "repositoryItemTextEditf2";
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     //
     // popupMenuMain
     //
     this.popupMenuMain.Manager = this.barManagerMain;
     this.popupMenuMain.Name = "popupMenuMain";
     //
     // barManagerMain
     //
     this.barManagerMain.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar1});
     this.barManagerMain.DockControls.Add(this.barDockControlTop);
     this.barManagerMain.DockControls.Add(this.barDockControlBottom);
     this.barManagerMain.DockControls.Add(this.barDockControlLeft);
     this.barManagerMain.DockControls.Add(this.barDockControlRight);
     this.barManagerMain.Form = this;
     this.barManagerMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.bbiExport,
     this.bbiStartDate,
     this.barHeaderItem1,
     this.bbiGetData,
     this.barHeaderItem2,
     this.bbiEndDate});
     this.barManagerMain.MaxItemId = 13;
     this.barManagerMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemDateEdit1,
     this.repositoryItemDateEdit2,
     this.repositoryItemDateEdit3});
     //
     // bar1
     //
     this.bar1.BarName = "Main";
     this.bar1.DockCol = 0;
     this.bar1.DockRow = 0;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barHeaderItem1),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiStartDate),
     new DevExpress.XtraBars.LinkPersistInfo(this.barHeaderItem2),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiEndDate),
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.bbiGetData, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiExport)});
     this.bar1.Text = "Custom 2";
     //
     // barHeaderItem1
     //
     this.barHeaderItem1.Caption = "Select Date";
     this.barHeaderItem1.Id = 3;
     this.barHeaderItem1.Name = "barHeaderItem1";
     //
     // bbiStartDate
     //
     this.bbiStartDate.Caption = "Date Start";
     this.bbiStartDate.Edit = this.repositoryItemDateEdit1;
     this.bbiStartDate.Id = 2;
     this.bbiStartDate.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D1));
     this.bbiStartDate.Name = "bbiStartDate";
     this.bbiStartDate.Width = 120;
     //
     // 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.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
     //
     // barHeaderItem2
     //
     this.barHeaderItem2.Caption = "End Date";
     this.barHeaderItem2.Id = 11;
     this.barHeaderItem2.Name = "barHeaderItem2";
     //
     // bbiEndDate
     //
     this.bbiEndDate.Caption = "Date End";
     this.bbiEndDate.Edit = this.repositoryItemDateEdit3;
     this.bbiEndDate.Id = 12;
     this.bbiEndDate.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D2));
     this.bbiEndDate.Name = "bbiEndDate";
     this.bbiEndDate.Width = 120;
     //
     // 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.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit3.Name = "repositoryItemDateEdit3";
     //
     // bbiGetData
     //
     this.bbiGetData.Caption = "Get Data";
     this.bbiGetData.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.bbiGetData.Glyph = global::NestleICSales.Properties.Resources.apply_16x16;
     this.bbiGetData.Id = 9;
     this.bbiGetData.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.G));
     this.bbiGetData.Name = "bbiGetData";
     this.bbiGetData.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiGetData_ItemClick);
     //
     // bbiExport
     //
     this.bbiExport.Caption = "Export";
     this.bbiExport.Glyph = global::NestleICSales.Properties.Resources.Export;
     this.bbiExport.Id = 1;
     this.bbiExport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E));
     this.bbiExport.Name = "bbiExport";
     this.bbiExport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiExport_ItemClick);
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(1132, 31);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 311);
     this.barDockControlBottom.Size = new System.Drawing.Size(1132, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 31);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 280);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(1132, 31);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 280);
     //
     // repositoryItemDateEdit2
     //
     this.repositoryItemDateEdit2.AutoHeight = false;
     this.repositoryItemDateEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit2.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2";
     //
     // pivotGridControlMain
     //
     this.pivotGridControlMain.DataSource = this.pro0004BindingSource;
     this.pivotGridControlMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pivotGridControlMain.Fields.AddRange(new DevExpress.XtraPivotGrid.PivotGridField[] {
     this.fieldMaterialNumber1,
     this.fieldTypeName1,
     this.fieldDistributionChannel1,
     this.fieldMaterialName1,
     this.fieldProductBase1,
     this.fieldBrand1,
     this.fieldProductGroup31,
     this.fieldProductGroup21,
     this.fieldProductGroup11,
     this.fieldPriceChanges1,
     this.fieldPricePointRang1,
     this.fieldMaterialType1,
     this.fieldFlavor1,
     this.fieldNPDS1,
     this.fieldPricePoint1,
     this.fieldCases1,
     this.fieldNPS1,
     this.fieldVolume1,
     this.fieldPPL1,
     this.calcCases,
     this.calcNPS,
     this.calcVolume,
     this.calcPPL,
     this.fieldYearNo,
     this.fieldCustHierLevel3Name,
     this.fieldCustomerGroup,
     this.fieldCustomerType,
     this.fieldCustomerType2,
     this.fieldRouteNumber,
     this.fieldSubchannelName});
     pivotGridStyleFormatCondition1.Appearance.ForeColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition1.Appearance.Options.UseForeColor = true;
     pivotGridStyleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition1.Field = this.calcCases;
     pivotGridStyleFormatCondition1.FieldName = "calcCases";
     pivotGridStyleFormatCondition1.Value1 = "1";
     pivotGridStyleFormatCondition2.Appearance.ForeColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition2.Appearance.Options.UseForeColor = true;
     pivotGridStyleFormatCondition2.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition2.Field = this.calcCases;
     pivotGridStyleFormatCondition2.FieldName = "calcCases";
     pivotGridStyleFormatCondition2.Value1 = "1";
     pivotGridStyleFormatCondition3.Appearance.ForeColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition3.Appearance.Options.UseForeColor = true;
     pivotGridStyleFormatCondition3.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition3.Field = this.calcNPS;
     pivotGridStyleFormatCondition3.FieldName = "calcNPS";
     pivotGridStyleFormatCondition3.Value1 = "1";
     pivotGridStyleFormatCondition4.Appearance.ForeColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition4.Appearance.Options.UseForeColor = true;
     pivotGridStyleFormatCondition4.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition4.Field = this.calcNPS;
     pivotGridStyleFormatCondition4.FieldName = "calcNPS";
     pivotGridStyleFormatCondition4.Value1 = "1";
     pivotGridStyleFormatCondition5.Appearance.ForeColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition5.Appearance.Options.UseForeColor = true;
     pivotGridStyleFormatCondition5.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition5.Field = this.calcVolume;
     pivotGridStyleFormatCondition5.FieldName = "calcVolume";
     pivotGridStyleFormatCondition5.Value1 = "1";
     pivotGridStyleFormatCondition6.Appearance.ForeColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition6.Appearance.Options.UseForeColor = true;
     pivotGridStyleFormatCondition6.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition6.Field = this.calcVolume;
     pivotGridStyleFormatCondition6.FieldName = "calcVolume";
     pivotGridStyleFormatCondition6.Value1 = "1";
     pivotGridStyleFormatCondition7.Appearance.ForeColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition7.Appearance.Options.UseForeColor = true;
     pivotGridStyleFormatCondition7.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition7.Field = this.calcPPL;
     pivotGridStyleFormatCondition7.FieldName = "calcPPL";
     pivotGridStyleFormatCondition7.Value1 = "1";
     pivotGridStyleFormatCondition8.Appearance.ForeColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition8.Appearance.Options.UseForeColor = true;
     pivotGridStyleFormatCondition8.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition8.Field = this.calcPPL;
     pivotGridStyleFormatCondition8.FieldName = "calcPPL";
     pivotGridStyleFormatCondition8.Value1 = "1";
     this.pivotGridControlMain.FormatConditions.AddRange(new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition[] {
     pivotGridStyleFormatCondition1,
     pivotGridStyleFormatCondition2,
     pivotGridStyleFormatCondition3,
     pivotGridStyleFormatCondition4,
     pivotGridStyleFormatCondition5,
     pivotGridStyleFormatCondition6,
     pivotGridStyleFormatCondition7,
     pivotGridStyleFormatCondition8});
     this.pivotGridControlMain.Location = new System.Drawing.Point(0, 31);
     this.pivotGridControlMain.Name = "pivotGridControlMain";
     this.pivotGridControlMain.OptionsData.DataFieldUnboundExpressionMode = DevExpress.XtraPivotGrid.DataFieldUnboundExpressionMode.UseSummaryValues;
     this.pivotGridControlMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemTextEditPer});
     this.pivotGridControlMain.Size = new System.Drawing.Size(1132, 280);
     this.pivotGridControlMain.TabIndex = 14;
     this.pivotGridControlMain.CustomCellValue += new System.EventHandler<DevExpress.XtraPivotGrid.PivotCellValueEventArgs>(this.pivotGridControlMain_CustomCellValue);
     this.pivotGridControlMain.CellDoubleClick += new DevExpress.XtraPivotGrid.PivotCellEventHandler(this.pivotGridControlMain_CellDoubleClick);
     //
     // pro0004BindingSource
     //
     this.pro0004BindingSource.DataMember = "Pro_0004";
     this.pro0004BindingSource.DataSource = this.dsNMQry;
     //
     // dsNMQry
     //
     this.dsNMQry.DataSetName = "dsNMQry";
     this.dsNMQry.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // fieldMaterialNumber1
     //
     this.fieldMaterialNumber1.AreaIndex = 0;
     this.fieldMaterialNumber1.Caption = "Material Number";
     this.fieldMaterialNumber1.FieldName = "MaterialNumber";
     this.fieldMaterialNumber1.Name = "fieldMaterialNumber1";
     //
     // fieldTypeName1
     //
     this.fieldTypeName1.AreaIndex = 1;
     this.fieldTypeName1.Caption = "Type Name";
     this.fieldTypeName1.FieldName = "TypeName";
     this.fieldTypeName1.Name = "fieldTypeName1";
     //
     // fieldDistributionChannel1
     //
     this.fieldDistributionChannel1.AreaIndex = 2;
     this.fieldDistributionChannel1.Caption = "Distribution Channel";
     this.fieldDistributionChannel1.FieldName = "DistributionChannel";
     this.fieldDistributionChannel1.Name = "fieldDistributionChannel1";
     //
     // fieldMaterialName1
     //
     this.fieldMaterialName1.AreaIndex = 3;
     this.fieldMaterialName1.Caption = "Material Name";
     this.fieldMaterialName1.FieldName = "MaterialName";
     this.fieldMaterialName1.Name = "fieldMaterialName1";
     //
     // fieldProductBase1
     //
     this.fieldProductBase1.Area = DevExpress.XtraPivotGrid.PivotArea.RowArea;
     this.fieldProductBase1.AreaIndex = 1;
     this.fieldProductBase1.Caption = "Product Base";
     this.fieldProductBase1.FieldName = "ProductBase";
     this.fieldProductBase1.Name = "fieldProductBase1";
     //
     // fieldBrand1
     //
     this.fieldBrand1.Area = DevExpress.XtraPivotGrid.PivotArea.RowArea;
     this.fieldBrand1.AreaIndex = 0;
     this.fieldBrand1.Caption = "Brand";
     this.fieldBrand1.FieldName = "Brand";
     this.fieldBrand1.Name = "fieldBrand1";
     this.fieldBrand1.Width = 255;
     //
     // fieldProductGroup31
     //
     this.fieldProductGroup31.AreaIndex = 4;
     this.fieldProductGroup31.Caption = "Product Group3";
     this.fieldProductGroup31.FieldName = "ProductGroup3";
     this.fieldProductGroup31.Name = "fieldProductGroup31";
     //
     // fieldProductGroup21
     //
     this.fieldProductGroup21.AreaIndex = 5;
     this.fieldProductGroup21.Caption = "Product Group2";
     this.fieldProductGroup21.FieldName = "ProductGroup2";
     this.fieldProductGroup21.Name = "fieldProductGroup21";
     //
     // fieldProductGroup11
     //
     this.fieldProductGroup11.AreaIndex = 6;
     this.fieldProductGroup11.Caption = "Product Group1";
     this.fieldProductGroup11.FieldName = "ProductGroup1";
     this.fieldProductGroup11.Name = "fieldProductGroup11";
     //
     // fieldPriceChanges1
     //
     this.fieldPriceChanges1.AreaIndex = 7;
     this.fieldPriceChanges1.Caption = "Price Changes";
     this.fieldPriceChanges1.FieldName = "PriceChanges";
     this.fieldPriceChanges1.Name = "fieldPriceChanges1";
     //
     // fieldPricePointRang1
     //
     this.fieldPricePointRang1.AreaIndex = 8;
     this.fieldPricePointRang1.Caption = "Price Point Rang";
     this.fieldPricePointRang1.FieldName = "PricePointRang";
     this.fieldPricePointRang1.Name = "fieldPricePointRang1";
     //
     // fieldMaterialType1
     //
     this.fieldMaterialType1.AreaIndex = 9;
     this.fieldMaterialType1.Caption = "Material Type";
     this.fieldMaterialType1.FieldName = "MaterialType";
     this.fieldMaterialType1.Name = "fieldMaterialType1";
     //
     // fieldFlavor1
     //
     this.fieldFlavor1.AreaIndex = 10;
     this.fieldFlavor1.Caption = "Flavor";
     this.fieldFlavor1.FieldName = "Flavor";
     this.fieldFlavor1.Name = "fieldFlavor1";
     //
     // fieldNPDS1
     //
     this.fieldNPDS1.AreaIndex = 11;
     this.fieldNPDS1.Caption = "NPDS";
     this.fieldNPDS1.FieldName = "NPDS";
     this.fieldNPDS1.Name = "fieldNPDS1";
     //
     // fieldPricePoint1
     //
     this.fieldPricePoint1.AreaIndex = 12;
     this.fieldPricePoint1.Caption = "Price Point";
     this.fieldPricePoint1.FieldName = "PricePoint";
     this.fieldPricePoint1.Name = "fieldPricePoint1";
     //
     // fieldCases1
     //
     this.fieldCases1.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldCases1.AreaIndex = 0;
     this.fieldCases1.Caption = "Cases";
     this.fieldCases1.CellFormat.FormatString = "f2";
     this.fieldCases1.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldCases1.EmptyCellText = "0.0";
     this.fieldCases1.EmptyValueText = "0.0";
     this.fieldCases1.FieldName = "Cases";
     this.fieldCases1.GrandTotalCellFormat.FormatString = "f2";
     this.fieldCases1.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldCases1.Name = "fieldCases1";
     this.fieldCases1.Options.ShowGrandTotal = false;
     this.fieldCases1.TotalCellFormat.FormatString = "f2";
     this.fieldCases1.TotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldCases1.TotalValueFormat.FormatString = "f2";
     this.fieldCases1.TotalValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldCases1.ValueFormat.FormatString = "f2";
     this.fieldCases1.ValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     //
     // fieldNPS1
     //
     this.fieldNPS1.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldNPS1.AreaIndex = 2;
     this.fieldNPS1.Caption = "NPS";
     this.fieldNPS1.CellFormat.FormatString = "f2";
     this.fieldNPS1.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldNPS1.EmptyCellText = "0.0";
     this.fieldNPS1.EmptyValueText = "0.0";
     this.fieldNPS1.FieldName = "NPS";
     this.fieldNPS1.GrandTotalCellFormat.FormatString = "f2";
     this.fieldNPS1.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldNPS1.Name = "fieldNPS1";
     this.fieldNPS1.Options.ShowGrandTotal = false;
     this.fieldNPS1.TotalCellFormat.FormatString = "f2";
     this.fieldNPS1.TotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldNPS1.TotalValueFormat.FormatString = "f2";
     this.fieldNPS1.TotalValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldNPS1.ValueFormat.FormatString = "f2";
     this.fieldNPS1.ValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     //
     // fieldVolume1
     //
     this.fieldVolume1.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldVolume1.AreaIndex = 4;
     this.fieldVolume1.Caption = "Volume";
     this.fieldVolume1.CellFormat.FormatString = "f2";
     this.fieldVolume1.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldVolume1.EmptyCellText = "0.0";
     this.fieldVolume1.EmptyValueText = "0.0";
     this.fieldVolume1.FieldName = "Volume";
     this.fieldVolume1.GrandTotalCellFormat.FormatString = "f2";
     this.fieldVolume1.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldVolume1.Name = "fieldVolume1";
     this.fieldVolume1.Options.ShowGrandTotal = false;
     this.fieldVolume1.TotalCellFormat.FormatString = "f2";
     this.fieldVolume1.TotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldVolume1.TotalValueFormat.FormatString = "f2";
     this.fieldVolume1.TotalValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldVolume1.ValueFormat.FormatString = "f2";
     this.fieldVolume1.ValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     //
     // fieldPPL1
     //
     this.fieldPPL1.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldPPL1.AreaIndex = 6;
     this.fieldPPL1.Caption = "PPL";
     this.fieldPPL1.CellFormat.FormatString = "f2";
     this.fieldPPL1.CellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldPPL1.EmptyCellText = "0.0";
     this.fieldPPL1.EmptyValueText = "0.0";
     this.fieldPPL1.FieldName = "PPL";
     this.fieldPPL1.GrandTotalCellFormat.FormatString = "f2";
     this.fieldPPL1.GrandTotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldPPL1.Name = "fieldPPL1";
     this.fieldPPL1.Options.ShowGrandTotal = false;
     this.fieldPPL1.TotalCellFormat.FormatString = "f2";
     this.fieldPPL1.TotalCellFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldPPL1.TotalValueFormat.FormatString = "f2";
     this.fieldPPL1.TotalValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.fieldPPL1.ValueFormat.FormatString = "f2";
     this.fieldPPL1.ValueFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     //
     // fieldYearNo
     //
     this.fieldYearNo.Area = DevExpress.XtraPivotGrid.PivotArea.ColumnArea;
     this.fieldYearNo.AreaIndex = 0;
     this.fieldYearNo.Caption = "Year";
     this.fieldYearNo.FieldName = "YearNo";
     this.fieldYearNo.Name = "fieldYearNo";
     //
     // fieldCustHierLevel3Name
     //
     this.fieldCustHierLevel3Name.AreaIndex = 13;
     this.fieldCustHierLevel3Name.Caption = "CustHierLevel3";
     this.fieldCustHierLevel3Name.FieldName = "CustHierLevel3Name";
     this.fieldCustHierLevel3Name.Name = "fieldCustHierLevel3Name";
     //
     // fieldCustomerGroup
     //
     this.fieldCustomerGroup.AreaIndex = 14;
     this.fieldCustomerGroup.Caption = "CustomerGroup";
     this.fieldCustomerGroup.FieldName = "CustomerGroup";
     this.fieldCustomerGroup.Name = "fieldCustomerGroup";
     //
     // fieldCustomerType
     //
     this.fieldCustomerType.AreaIndex = 15;
     this.fieldCustomerType.Caption = "CustomerType";
     this.fieldCustomerType.FieldName = "CustomerType";
     this.fieldCustomerType.Name = "fieldCustomerType";
     //
     // fieldCustomerType2
     //
     this.fieldCustomerType2.AreaIndex = 16;
     this.fieldCustomerType2.Caption = "CustomerType2";
     this.fieldCustomerType2.FieldName = "CustomerType2";
     this.fieldCustomerType2.Name = "fieldCustomerType2";
     //
     // fieldRouteNumber
     //
     this.fieldRouteNumber.AreaIndex = 17;
     this.fieldRouteNumber.Caption = "RouteNumber";
     this.fieldRouteNumber.FieldName = "RouteNumber";
     this.fieldRouteNumber.Name = "fieldRouteNumber";
     //
     // fieldSubchannelName
     //
     this.fieldSubchannelName.AreaIndex = 18;
     this.fieldSubchannelName.Caption = "Subchannel";
     this.fieldSubchannelName.FieldName = "SubchannelName";
     this.fieldSubchannelName.Name = "fieldSubchannelName";
     //
     // repositoryItemTextEditPer
     //
     this.repositoryItemTextEditPer.AutoHeight = false;
     this.repositoryItemTextEditPer.DisplayFormat.FormatString = "c";
     this.repositoryItemTextEditPer.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEditPer.Mask.EditMask = "p";
     this.repositoryItemTextEditPer.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEditPer.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemTextEditPer.Name = "repositoryItemTextEditPer";
     //
     // pro_0004TableAdapter
     //
     this.pro_0004TableAdapter.ClearBeforeFill = true;
     //
     // QryPro_0004Frm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1132, 311);
     this.Controls.Add(this.pivotGridControlMain);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Icon = global::NestleICSales.Properties.Resources.Qry16;
     this.Name = "QryPro_0004Frm";
     this.Text = "Sales Per SKU";
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditf2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManagerMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotGridControlMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pro0004BindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsNMQry)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditPer)).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(frmWebBrowser));
     this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1 = new DevExpress.XtraBars.Bar();
     this.iBack = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iForward = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iStop = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iRefresh = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iHome = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iSearch = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iFavorites = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iHistory = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iMail = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iPrint = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iEdit = new DevExpress.XtraBars.BarLargeButtonItem();
     this.bar2 = new DevExpress.XtraBars.Bar();
     this.siFile = new DevExpress.XtraBars.BarSubItem();
     this.iOpen = new DevExpress.XtraBars.BarButtonItem();
     this.iSave = new DevExpress.XtraBars.BarButtonItem();
     this.iExit = new DevExpress.XtraBars.BarButtonItem();
     this.siView = new DevExpress.XtraBars.BarSubItem();
     this.iToolBars = new DevExpress.XtraBars.BarToolbarsListItem();
     this.siFavorites = new DevExpress.XtraBars.BarSubItem();
     this.iAdd = new DevExpress.XtraBars.BarButtonItem();
     this.siHelp = new DevExpress.XtraBars.BarSubItem();
     this.iAbout = new DevExpress.XtraBars.BarButtonItem();
     this.bar3 = new DevExpress.XtraBars.Bar();
     this.eAddress = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.iGo = new DevExpress.XtraBars.BarButtonItem();
     this.bar4 = new DevExpress.XtraBars.Bar();
     this.iText = new DevExpress.XtraBars.BarStaticItem();
     this.eProgress = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemProgressBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar();
     this.barAndDockingController1 = new DevExpress.XtraBars.BarAndDockingController(this.components);
     this.barDockControl1 = new DevExpress.XtraBars.BarDockControl();
     this.barDockControl2 = new DevExpress.XtraBars.BarDockControl();
     this.barDockControl3 = new DevExpress.XtraBars.BarDockControl();
     this.barDockControl4 = new DevExpress.XtraBars.BarDockControl();
     this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components);
     this.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel();
     this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
     this.ctrlFavorites1 = new ctrlFavorites();
     this.imageList2 = new System.Windows.Forms.ImageList(this.components);
     this.iMedia = new DevExpress.XtraBars.BarLargeButtonItem();
     this.ipsWXP = new DevExpress.XtraBars.BarButtonItem();
     this.ipsOXP = new DevExpress.XtraBars.BarButtonItem();
     this.ipsO2K = new DevExpress.XtraBars.BarButtonItem();
     this.ipsO3 = new DevExpress.XtraBars.BarButtonItem();
     this.ipsDefault = new DevExpress.XtraBars.BarButtonItem();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this._Browser = new System.Windows.Forms.WebBrowser();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.hideContainerLeft = new DevExpress.XtraBars.Docking.AutoHideContainer();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barAndDockingController1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit();
     this.dockPanel1.SuspendLayout();
     this.dockPanel1_Container.SuspendLayout();
     this.hideContainerLeft.SuspendLayout();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar1,
     this.bar2,
     this.bar3,
     this.bar4});
     this.barManager1.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] {
     new DevExpress.XtraBars.BarManagerCategory("Built-in Menus", new System.Guid("4712321c-b9cd-461f-b453-4a7791063abb")),
     new DevExpress.XtraBars.BarManagerCategory("Standard", new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b")),
     new DevExpress.XtraBars.BarManagerCategory("Address", new System.Guid("fb82a187-cdf0-4f39-a566-c00dbaba593d")),
     new DevExpress.XtraBars.BarManagerCategory("StatusBar", new System.Guid("2ca54f89-3af6-4cbb-93d8-4a4a9387f283")),
     new DevExpress.XtraBars.BarManagerCategory("Items", new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13")),
     new DevExpress.XtraBars.BarManagerCategory("Favorites", new System.Guid("e1ba440c-33dc-4df6-b712-79cdc4dcd983"))});
     this.barManager1.Controller = this.barAndDockingController1;
     this.barManager1.DockControls.Add(this.barDockControl1);
     this.barManager1.DockControls.Add(this.barDockControl2);
     this.barManager1.DockControls.Add(this.barDockControl3);
     this.barManager1.DockControls.Add(this.barDockControl4);
     this.barManager1.DockManager = this.dockManager1;
     this.barManager1.Form = this;
     this.barManager1.Images = this.imageList2;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.siFile,
     this.siView,
     this.siFavorites,
     this.siHelp,
     this.iBack,
     this.iForward,
     this.iStop,
     this.iRefresh,
     this.iHome,
     this.iSearch,
     this.iFavorites,
     this.iMedia,
     this.iHistory,
     this.iMail,
     this.iPrint,
     this.iEdit,
     this.iGo,
     this.eAddress,
     this.iText,
     this.eProgress,
     this.iToolBars,
     this.iAbout,
     this.iExit,
     this.iAdd,
     this.iOpen,
     this.iSave,
     this.ipsWXP,
     this.ipsOXP,
     this.ipsO2K,
     this.ipsO3,
     this.ipsDefault});
     this.barManager1.LargeImages = this.imageList1;
     this.barManager1.MainMenu = this.bar2;
     this.barManager1.MaxItemId = 38;
     this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemComboBox1,
     this.repositoryItemProgressBar1});
     this.barManager1.StatusBar = this.bar4;
     //
     // bar1
     //
     this.bar1.BarName = "Standard Buttons";
     this.bar1.DockCol = 0;
     this.bar1.DockRow = 1;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.FloatLocation = new System.Drawing.Point(48, 104);
     this.bar1.FloatSize = new System.Drawing.Size(20, 22);
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.iBack),
     new DevExpress.XtraBars.LinkPersistInfo(this.iForward),
     new DevExpress.XtraBars.LinkPersistInfo(this.iStop),
     new DevExpress.XtraBars.LinkPersistInfo(this.iRefresh),
     new DevExpress.XtraBars.LinkPersistInfo(this.iHome),
     new DevExpress.XtraBars.LinkPersistInfo(this.iSearch, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.iFavorites),
     new DevExpress.XtraBars.LinkPersistInfo(this.iHistory),
     new DevExpress.XtraBars.LinkPersistInfo(this.iMail, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.iPrint),
     new DevExpress.XtraBars.LinkPersistInfo(this.iEdit)});
     this.bar1.Text = "Standard Buttons";
     //
     // iBack
     //
     this.iBack.Caption = "Back";
     this.iBack.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.iBack.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iBack.Enabled = false;
     this.iBack.Hint = "Back";
     this.iBack.Id = 6;
     this.iBack.LargeImageIndex = 0;
     this.iBack.LargeImageIndexDisabled = 12;
     this.iBack.Name = "iBack";
     this.iBack.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iBack_ItemClick);
     //
     // iForward
     //
     this.iForward.Caption = "Forward";
     this.iForward.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iForward.Enabled = false;
     this.iForward.Hint = "Forward";
     this.iForward.Id = 8;
     this.iForward.LargeImageIndex = 3;
     this.iForward.LargeImageIndexDisabled = 13;
     this.iForward.Name = "iForward";
     this.iForward.ShowCaptionOnBar = false;
     this.iForward.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iForward_ItemClick);
     //
     // iStop
     //
     this.iStop.Caption = "Stop";
     this.iStop.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iStop.Hint = "Stop";
     this.iStop.Id = 9;
     this.iStop.LargeImageIndex = 11;
     this.iStop.Name = "iStop";
     this.iStop.ShowCaptionOnBar = false;
     this.iStop.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iStop_ItemClick);
     //
     // iRefresh
     //
     this.iRefresh.Caption = "Refresh";
     this.iRefresh.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iRefresh.Hint = "Refresh";
     this.iRefresh.Id = 10;
     this.iRefresh.LargeImageIndex = 9;
     this.iRefresh.Name = "iRefresh";
     this.iRefresh.ShowCaptionOnBar = false;
     this.iRefresh.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iRefresh_ItemClick);
     //
     // iHome
     //
     this.iHome.Caption = "Home";
     this.iHome.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iHome.Hint = "Home";
     this.iHome.Id = 11;
     this.iHome.LargeImageIndex = 5;
     this.iHome.Name = "iHome";
     this.iHome.ShowCaptionOnBar = false;
     this.iHome.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iHome_ItemClick);
     //
     // iSearch
     //
     this.iSearch.Caption = "Search";
     this.iSearch.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.iSearch.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iSearch.Hint = "Search";
     this.iSearch.Id = 12;
     this.iSearch.LargeImageIndex = 10;
     this.iSearch.Name = "iSearch";
     this.iSearch.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iSearch_ItemClick);
     //
     // iFavorites
     //
     this.iFavorites.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check;
     this.iFavorites.Caption = "Favorites";
     this.iFavorites.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.iFavorites.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iFavorites.Down = true;
     this.iFavorites.Hint = "Favorites";
     this.iFavorites.Id = 13;
     this.iFavorites.LargeImageIndex = 2;
     this.iFavorites.Name = "iFavorites";
     this.iFavorites.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iFavorites_ItemClick);
     //
     // iHistory
     //
     this.iHistory.Caption = "History";
     this.iHistory.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iHistory.Enabled = false;
     this.iHistory.Hint = "History";
     this.iHistory.Id = 16;
     this.iHistory.LargeImageIndex = 4;
     this.iHistory.LargeImageIndexDisabled = 14;
     this.iHistory.Name = "iHistory";
     this.iHistory.ShowCaptionOnBar = false;
     //
     // iMail
     //
     this.iMail.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown;
     this.iMail.Caption = "Mail";
     this.iMail.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iMail.Enabled = false;
     this.iMail.Hint = "Mail";
     this.iMail.Id = 17;
     this.iMail.LargeImageIndex = 6;
     this.iMail.LargeImageIndexDisabled = 15;
     this.iMail.Name = "iMail";
     this.iMail.ShowCaptionOnBar = false;
     //
     // iPrint
     //
     this.iPrint.Caption = "&Print...";
     this.iPrint.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iPrint.Hint = "Print";
     this.iPrint.Id = 18;
     this.iPrint.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P));
     this.iPrint.LargeImageIndex = 8;
     this.iPrint.Name = "iPrint";
     this.iPrint.ShowCaptionOnBar = false;
     this.iPrint.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iPrint_ItemClick);
     //
     // iEdit
     //
     this.iEdit.Caption = "Edit";
     this.iEdit.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iEdit.Hint = "Open Notepad";
     this.iEdit.Id = 19;
     this.iEdit.LargeImageIndex = 1;
     this.iEdit.Name = "iEdit";
     this.iEdit.ShowCaptionOnBar = false;
     this.iEdit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iEdit_ItemClick);
     //
     // bar2
     //
     this.bar2.BarItemHorzIndent = 6;
     this.bar2.BarName = "MainMenu";
     this.bar2.DockCol = 0;
     this.bar2.DockRow = 0;
     this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar2.FloatLocation = new System.Drawing.Point(39, 106);
     this.bar2.FloatSize = new System.Drawing.Size(20, 22);
     this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.siFile),
     new DevExpress.XtraBars.LinkPersistInfo(this.siView),
     new DevExpress.XtraBars.LinkPersistInfo(this.siFavorites),
     new DevExpress.XtraBars.LinkPersistInfo(this.siHelp)});
     this.bar2.OptionsBar.AllowQuickCustomization = false;
     this.bar2.OptionsBar.DrawDragBorder = false;
     this.bar2.OptionsBar.MultiLine = true;
     this.bar2.OptionsBar.RotateWhenVertical = false;
     this.bar2.OptionsBar.UseWholeRow = true;
     this.bar2.Text = "MainMenu";
     //
     // siFile
     //
     this.siFile.Caption = "&File";
     this.siFile.CategoryGuid = new System.Guid("4712321c-b9cd-461f-b453-4a7791063abb");
     this.siFile.Id = 0;
     this.siFile.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.iOpen),
     new DevExpress.XtraBars.LinkPersistInfo(this.iSave),
     new DevExpress.XtraBars.LinkPersistInfo(this.iPrint, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.iExit, true)});
     this.siFile.Name = "siFile";
     //
     // iOpen
     //
     this.iOpen.Caption = "&Open...";
     this.iOpen.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.iOpen.Id = 29;
     this.iOpen.ImageIndex = 0;
     this.iOpen.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O));
     this.iOpen.Name = "iOpen";
     this.iOpen.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iOpen_ItemClick);
     //
     // iSave
     //
     this.iSave.Caption = "&Save";
     this.iSave.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.iSave.Enabled = false;
     this.iSave.Id = 30;
     this.iSave.ImageIndex = 1;
     this.iSave.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S));
     this.iSave.Name = "iSave";
     //
     // iExit
     //
     this.iExit.Caption = "E&xit";
     this.iExit.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.iExit.Id = 27;
     this.iExit.Name = "iExit";
     this.iExit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iExit_ItemClick);
     //
     // siView
     //
     this.siView.Caption = "&View";
     this.siView.CategoryGuid = new System.Guid("4712321c-b9cd-461f-b453-4a7791063abb");
     this.siView.Id = 2;
     this.siView.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.iToolBars)});
     this.siView.Name = "siView";
     //
     // iToolBars
     //
     this.iToolBars.Caption = "ToolBarsList";
     this.iToolBars.CategoryGuid = new System.Guid("4712321c-b9cd-461f-b453-4a7791063abb");
     this.iToolBars.Id = 25;
     this.iToolBars.Name = "iToolBars";
     //
     // siFavorites
     //
     this.siFavorites.Caption = "F&avorites";
     this.siFavorites.CategoryGuid = new System.Guid("4712321c-b9cd-461f-b453-4a7791063abb");
     this.siFavorites.Id = 3;
     this.siFavorites.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.iAdd)});
     this.siFavorites.Name = "siFavorites";
     //
     // iAdd
     //
     this.iAdd.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.iAdd.Appearance.Options.UseFont = true;
     this.iAdd.Caption = "Add to Favorites...";
     this.iAdd.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.iAdd.Id = 28;
     this.iAdd.Name = "iAdd";
     this.iAdd.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iAdd_ItemClick);
     //
     // siHelp
     //
     this.siHelp.Caption = "&Help";
     this.siHelp.CategoryGuid = new System.Guid("4712321c-b9cd-461f-b453-4a7791063abb");
     this.siHelp.Id = 4;
     this.siHelp.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.iAbout)});
     this.siHelp.Name = "siHelp";
     //
     // iAbout
     //
     this.iAbout.Caption = "&About";
     this.iAbout.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.iAbout.Id = 26;
     this.iAbout.Name = "iAbout";
     this.iAbout.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iAbout_ItemClick);
     //
     // bar3
     //
     this.bar3.BarName = "Address Bar";
     this.bar3.DockCol = 0;
     this.bar3.DockRow = 2;
     this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.eAddress),
     new DevExpress.XtraBars.LinkPersistInfo(this.iGo)});
     this.bar3.Text = "Address Bar";
     //
     // eAddress
     //
     this.eAddress.AutoFillWidth = true;
     this.eAddress.Caption = "Addresss";
     this.eAddress.CategoryGuid = new System.Guid("fb82a187-cdf0-4f39-a566-c00dbaba593d");
     this.eAddress.Edit = this.repositoryItemComboBox1;
     this.eAddress.Id = 21;
     this.eAddress.IEBehavior = true;
     this.eAddress.Name = "eAddress";
     this.eAddress.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.eAddress.Width = 400;
     //
     // repositoryItemComboBox1
     //
     this.repositoryItemComboBox1.AllowFocused = false;
     this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemComboBox1.CycleOnDblClick = false;
     this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
     this.repositoryItemComboBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.repositoryItemComboBox1_KeyDown);
     this.repositoryItemComboBox1.CloseUp += new DevExpress.XtraEditors.Controls.CloseUpEventHandler(this.repositoryItemComboBox1_CloseUp);
     this.repositoryItemComboBox1.SelectedIndexChanged += new System.EventHandler(this.repositoryItemComboBox1_SelectedItemChanged);
     //
     // iGo
     //
     this.iGo.Caption = "Go";
     this.iGo.CategoryGuid = new System.Guid("fb82a187-cdf0-4f39-a566-c00dbaba593d");
     this.iGo.Glyph = ((System.Drawing.Image)(resources.GetObject("iGo.Glyph")));
     this.iGo.Hint = "Go to ...";
     this.iGo.Id = 20;
     this.iGo.Name = "iGo";
     this.iGo.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.iGo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iGo_ItemClick);
     //
     // bar4
     //
     this.bar4.BarName = "Status Bar";
     this.bar4.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
     this.bar4.DockCol = 0;
     this.bar4.DockRow = 0;
     this.bar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
     this.bar4.FloatLocation = new System.Drawing.Point(30, 434);
     this.bar4.FloatSize = new System.Drawing.Size(20, 22);
     this.bar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.iText),
     new DevExpress.XtraBars.LinkPersistInfo(this.eProgress)});
     this.bar4.OptionsBar.AllowQuickCustomization = false;
     this.bar4.OptionsBar.DrawDragBorder = false;
     this.bar4.OptionsBar.DrawSizeGrip = true;
     this.bar4.OptionsBar.RotateWhenVertical = false;
     this.bar4.OptionsBar.UseWholeRow = true;
     this.bar4.Text = "Status Bar";
     //
     // iText
     //
     this.iText.AutoSize = DevExpress.XtraBars.BarStaticItemSize.Spring;
     this.iText.CategoryGuid = new System.Guid("2ca54f89-3af6-4cbb-93d8-4a4a9387f283");
     this.iText.Id = 22;
     this.iText.Name = "iText";
     this.iText.RightIndent = 3;
     this.iText.TextAlignment = System.Drawing.StringAlignment.Near;
     this.iText.Width = 32;
     //
     // eProgress
     //
     this.eProgress.CanOpenEdit = false;
     this.eProgress.CategoryGuid = new System.Guid("2ca54f89-3af6-4cbb-93d8-4a4a9387f283");
     this.eProgress.Edit = this.repositoryItemProgressBar1;
     this.eProgress.EditHeight = 10;
     this.eProgress.Id = 24;
     this.eProgress.Name = "eProgress";
     this.eProgress.Width = 70;
     //
     // repositoryItemProgressBar1
     //
     this.repositoryItemProgressBar1.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.repositoryItemProgressBar1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.repositoryItemProgressBar1.Name = "repositoryItemProgressBar1";
     //
     // barAndDockingController1
     //
     this.barAndDockingController1.PaintStyleName = "Skin";
     this.barAndDockingController1.PropertiesBar.AllowLinkLighting = false;
     //
     // dockManager1
     //
     this.dockManager1.AutoHideContainers.AddRange(new DevExpress.XtraBars.Docking.AutoHideContainer[] {
     this.hideContainerLeft});
     this.dockManager1.Controller = this.barAndDockingController1;
     this.dockManager1.Form = this;
     this.dockManager1.TopZIndexControls.AddRange(new string[] {
     "DevExpress.XtraBars.BarDockControl",
     "System.Windows.Forms.StatusBar"});
     //
     // dockPanel1
     //
     this.dockPanel1.Controls.Add(this.dockPanel1_Container);
     this.dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left;
     this.dockPanel1.ID = new System.Guid("1734463f-4924-485e-9b75-59ea0e8bfee3");
     this.dockPanel1.Location = new System.Drawing.Point(0, 0);
     this.dockPanel1.Name = "dockPanel1";
     this.dockPanel1.Options.ShowCloseButton = false;
     this.dockPanel1.OriginalSize = new System.Drawing.Size(200, 200);
     this.dockPanel1.SavedDock = DevExpress.XtraBars.Docking.DockingStyle.Left;
     this.dockPanel1.SavedIndex = 0;
     this.dockPanel1.Size = new System.Drawing.Size(200, 377);
     this.dockPanel1.Text = "Favorites";
     this.dockPanel1.Visibility = DevExpress.XtraBars.Docking.DockVisibility.AutoHide;
     this.dockPanel1.VisibilityChanged += new DevExpress.XtraBars.Docking.VisibilityChangedEventHandler(this.dockPanel1_VisibilityChanged);
     //
     // dockPanel1_Container
     //
     this.dockPanel1_Container.Controls.Add(this.ctrlFavorites1);
     this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25);
     this.dockPanel1_Container.Name = "dockPanel1_Container";
     this.dockPanel1_Container.Size = new System.Drawing.Size(194, 349);
     this.dockPanel1_Container.TabIndex = 0;
     //
     // ctrlFavorites1
     //
     this.ctrlFavorites1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ctrlFavorites1.Location = new System.Drawing.Point(0, 0);
     this.ctrlFavorites1.Name = "ctrlFavorites1";
     this.ctrlFavorites1.Size = new System.Drawing.Size(194, 349);
     this.ctrlFavorites1.TabIndex = 0;
     this.ctrlFavorites1.AddNewFavorite += new System.EventHandler(this.ctrlFavorites1_AddNewFavorite);
     this.ctrlFavorites1.OpenFavorite += new System.EventHandler(this.ctrlFavorites1_OpenFavorite);
     this.ctrlFavorites1.EditFavorite += new System.EventHandler(this.ctrlFavorites1_EditFavorite);
     this.ctrlFavorites1.DeleteFavorite += new System.EventHandler(this.ctrlFavorites1_DeleteFavorite);
     //
     // imageList2
     //
     this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
     this.imageList2.TransparentColor = System.Drawing.Color.Magenta;
     this.imageList2.Images.SetKeyName(0, "");
     this.imageList2.Images.SetKeyName(1, "");
     this.imageList2.Images.SetKeyName(2, "");
     this.imageList2.Images.SetKeyName(3, "");
     this.imageList2.Images.SetKeyName(4, "");
     this.imageList2.Images.SetKeyName(5, "");
     //
     // iMedia
     //
     this.iMedia.Caption = "Media";
     this.iMedia.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.iMedia.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iMedia.Hint = "Media";
     this.iMedia.Id = 15;
     this.iMedia.LargeImageIndex = 7;
     this.iMedia.Name = "iMedia";
     //
     // ipsWXP
     //
     this.ipsWXP.Caption = "Windows XP";
     this.ipsWXP.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.ipsWXP.Description = "WindowsXP";
     this.ipsWXP.Id = 32;
     this.ipsWXP.ImageIndex = 4;
     this.ipsWXP.Name = "ipsWXP";
     this.ipsWXP.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ips_ItemClick);
     //
     // ipsOXP
     //
     this.ipsOXP.Caption = "Office XP";
     this.ipsOXP.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.ipsOXP.Description = "OfficeXP";
     this.ipsOXP.Id = 33;
     this.ipsOXP.ImageIndex = 2;
     this.ipsOXP.Name = "ipsOXP";
     this.ipsOXP.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ips_ItemClick);
     //
     // ipsO2K
     //
     this.ipsO2K.Caption = "Office 2000";
     this.ipsO2K.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.ipsO2K.Description = "Office2000";
     this.ipsO2K.Id = 34;
     this.ipsO2K.ImageIndex = 3;
     this.ipsO2K.Name = "ipsO2K";
     this.ipsO2K.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ips_ItemClick);
     //
     // ipsO3
     //
     this.ipsO3.Caption = "Office 2003";
     this.ipsO3.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.ipsO3.Description = "Office2003";
     this.ipsO3.Id = 36;
     this.ipsO3.ImageIndex = 5;
     this.ipsO3.Name = "ipsO3";
     this.ipsO3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ips_ItemClick);
     //
     // ipsDefault
     //
     this.ipsDefault.Caption = "Default";
     this.ipsDefault.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.ipsDefault.Description = "Default";
     this.ipsDefault.Id = 37;
     this.ipsDefault.Name = "ipsDefault";
     this.ipsDefault.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ips_ItemClick);
     //
     // 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, "");
     this.imageList1.Images.SetKeyName(7, "");
     this.imageList1.Images.SetKeyName(8, "");
     this.imageList1.Images.SetKeyName(9, "");
     this.imageList1.Images.SetKeyName(10, "");
     this.imageList1.Images.SetKeyName(11, "");
     this.imageList1.Images.SetKeyName(12, "");
     this.imageList1.Images.SetKeyName(13, "");
     this.imageList1.Images.SetKeyName(14, "");
     this.imageList1.Images.SetKeyName(15, "");
     //
     // webBrowser1
     //
     this._Browser.Dock = System.Windows.Forms.DockStyle.Fill;
     this._Browser.Location = new System.Drawing.Point(19, 90);
     this._Browser.Name = "webBrowser1";
     this._Browser.Size = new System.Drawing.Size(785, 377);
     this._Browser.TabIndex = 4;
     this._Browser.ProgressChanged += new System.Windows.Forms.WebBrowserProgressChangedEventHandler(this.webBrowser1_ProgressChanged);
     this._Browser.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted);
     this._Browser.Navigated += new System.Windows.Forms.WebBrowserNavigatedEventHandler(this.webBrowser1_Navigated);
     //
     // timer1
     //
     this.timer1.Enabled = true;
     this.timer1.Interval = 200;
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // hideContainerLeft
     //
     this.hideContainerLeft.Controls.Add(this.dockPanel1);
     this.hideContainerLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.hideContainerLeft.Location = new System.Drawing.Point(0, 90);
     this.hideContainerLeft.Name = "hideContainerLeft";
     this.hideContainerLeft.Size = new System.Drawing.Size(19, 377);
     //
     // frmWebBrowser
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize = new System.Drawing.Size(804, 490);
     this.Controls.Add(this._Browser);
     this.Controls.Add(this.hideContainerLeft);
     this.Controls.Add(this.barDockControl3);
     this.Controls.Add(this.barDockControl4);
     this.Controls.Add(this.barDockControl2);
     this.Controls.Add(this.barDockControl1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "frmWebBrowser";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Web Browser";
     this.Load += new System.EventHandler(this.frmMain_Load);
     this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barAndDockingController1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit();
     this.dockPanel1.ResumeLayout(false);
     this.dockPanel1_Container.ResumeLayout(false);
     this.hideContainerLeft.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFWFURLBrowser));
     this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1 = new DevExpress.XtraBars.Bar();
     this.iBack = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iForward = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iRefresh = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iHome = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iSearch = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iFavorites = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iEdit = new DevExpress.XtraBars.BarLargeButtonItem();
     this.bar2 = new DevExpress.XtraBars.Bar();
     this.siFavorites = new DevExpress.XtraBars.BarSubItem();
     this.iAdd = new DevExpress.XtraBars.BarButtonItem();
     this.siFile = new DevExpress.XtraBars.BarSubItem();
     this.bar3 = new DevExpress.XtraBars.Bar();
     this.eAddress = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
     this.iGo = new DevExpress.XtraBars.BarButtonItem();
     this.bar4 = new DevExpress.XtraBars.Bar();
     this.iText = new DevExpress.XtraBars.BarStaticItem();
     this.eProgress = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemProgressBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar();
     this.barAndDockingController1 = new DevExpress.XtraBars.BarAndDockingController(this.components);
     this.barDockControl1 = new DevExpress.XtraBars.BarDockControl();
     this.barDockControl2 = new DevExpress.XtraBars.BarDockControl();
     this.barDockControl3 = new DevExpress.XtraBars.BarDockControl();
     this.barDockControl4 = new DevExpress.XtraBars.BarDockControl();
     this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components);
     this.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel();
     this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
     this.ctrlFavorites1 = new ctrlFURLFavorites();
     this.imageList2 = new System.Windows.Forms.ImageList(this.components);
     this.iMedia = new DevExpress.XtraBars.BarLargeButtonItem();
     this.iToolBars = new DevExpress.XtraBars.BarToolbarsListItem();
     this.iExit = new DevExpress.XtraBars.BarButtonItem();
     this.ipsWXP = new DevExpress.XtraBars.BarButtonItem();
     this.ipsOXP = new DevExpress.XtraBars.BarButtonItem();
     this.ipsO2K = new DevExpress.XtraBars.BarButtonItem();
     this.iPaintStyle = new DevExpress.XtraBars.BarSubItem();
     this.ipsDefault = new DevExpress.XtraBars.BarButtonItem();
     this.ipsO3 = new DevExpress.XtraBars.BarButtonItem();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.ctrMdiMain = new DevExpress.XtraTabbedMdi.XtraTabbedMdiManager(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barAndDockingController1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit();
     this.dockPanel1.SuspendLayout();
     this.dockPanel1_Container.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ctrMdiMain)).BeginInit();
     this.SuspendLayout();
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar1,
     this.bar2,
     this.bar3,
     this.bar4});
     this.barManager1.Categories.AddRange(new DevExpress.XtraBars.BarManagerCategory[] {
     new DevExpress.XtraBars.BarManagerCategory("Built-in Menus", new System.Guid("4712321c-b9cd-461f-b453-4a7791063abb")),
     new DevExpress.XtraBars.BarManagerCategory("Standard", new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b")),
     new DevExpress.XtraBars.BarManagerCategory("Address", new System.Guid("fb82a187-cdf0-4f39-a566-c00dbaba593d")),
     new DevExpress.XtraBars.BarManagerCategory("StatusBar", new System.Guid("2ca54f89-3af6-4cbb-93d8-4a4a9387f283")),
     new DevExpress.XtraBars.BarManagerCategory("Items", new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13")),
     new DevExpress.XtraBars.BarManagerCategory("Favorites", new System.Guid("e1ba440c-33dc-4df6-b712-79cdc4dcd983"))});
     this.barManager1.Controller = this.barAndDockingController1;
     this.barManager1.DockControls.Add(this.barDockControl1);
     this.barManager1.DockControls.Add(this.barDockControl2);
     this.barManager1.DockControls.Add(this.barDockControl3);
     this.barManager1.DockControls.Add(this.barDockControl4);
     this.barManager1.DockManager = this.dockManager1;
     this.barManager1.Form = this;
     this.barManager1.Images = this.imageList2;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.siFile,
     this.siFavorites,
     this.iBack,
     this.iForward,
     this.iRefresh,
     this.iHome,
     this.iSearch,
     this.iFavorites,
     this.iMedia,
     this.iEdit,
     this.iGo,
     this.eAddress,
     this.iText,
     this.eProgress,
     this.iToolBars,
     this.iExit,
     this.iAdd,
     this.ipsWXP,
     this.ipsOXP,
     this.ipsO2K,
     this.iPaintStyle,
     this.ipsO3,
     this.ipsDefault});
     this.barManager1.LargeImages = this.imageList1;
     this.barManager1.MainMenu = this.bar2;
     this.barManager1.MaxItemId = 39;
     this.barManager1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemComboBox1,
     this.repositoryItemProgressBar1});
     this.barManager1.StatusBar = this.bar4;
     //
     // bar1
     //
     this.bar1.BarName = "Standard Buttons";
     this.bar1.DockCol = 0;
     this.bar1.DockRow = 1;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.FloatLocation = new System.Drawing.Point(48, 104);
     this.bar1.FloatSize = new System.Drawing.Size(20, 22);
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.iBack),
     new DevExpress.XtraBars.LinkPersistInfo(this.iForward),
     new DevExpress.XtraBars.LinkPersistInfo(this.iRefresh),
     new DevExpress.XtraBars.LinkPersistInfo(this.iHome),
     new DevExpress.XtraBars.LinkPersistInfo(this.iSearch, true),
     new DevExpress.XtraBars.LinkPersistInfo(this.iFavorites),
     new DevExpress.XtraBars.LinkPersistInfo(this.iEdit)});
     this.bar1.OptionsBar.AllowQuickCustomization = false;
     this.bar1.Text = "Standard Buttons";
     //
     // iBack
     //
     this.iBack.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.iBack.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iBack.Enabled = false;
     this.iBack.Hint = "Back";
     this.iBack.Id = 6;
     this.iBack.LargeImageIndex = 0;
     this.iBack.LargeImageIndexDisabled = 12;
     this.iBack.Name = "iBack";
     this.iBack.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iBack_ItemClick);
     //
     // iForward
     //
     this.iForward.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iForward.Enabled = false;
     this.iForward.Hint = "Forward";
     this.iForward.Id = 8;
     this.iForward.LargeImageIndex = 3;
     this.iForward.LargeImageIndexDisabled = 13;
     this.iForward.Name = "iForward";
     this.iForward.ShowCaptionOnBar = false;
     this.iForward.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iForward_ItemClick);
     //
     // iRefresh
     //
     this.iRefresh.Caption = "Refresh";
     this.iRefresh.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iRefresh.Hint = "Refresh";
     this.iRefresh.Id = 10;
     this.iRefresh.LargeImageIndex = 9;
     this.iRefresh.Name = "iRefresh";
     this.iRefresh.ShowCaptionOnBar = false;
     this.iRefresh.Visibility = DevExpress.XtraBars.BarItemVisibility.OnlyInCustomizing;
     this.iRefresh.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iRefresh_ItemClick);
     //
     // iHome
     //
     this.iHome.Caption = "Home";
     this.iHome.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iHome.Hint = "Home";
     this.iHome.Id = 11;
     this.iHome.LargeImageIndex = 5;
     this.iHome.Name = "iHome";
     this.iHome.ShowCaptionOnBar = false;
     this.iHome.Visibility = DevExpress.XtraBars.BarItemVisibility.OnlyInCustomizing;
     this.iHome.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iHome_ItemClick);
     //
     // iSearch
     //
     this.iSearch.Caption = "Tìm FURL";
     this.iSearch.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.iSearch.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iSearch.Hint = "Search";
     this.iSearch.Id = 12;
     this.iSearch.LargeImageIndex = 10;
     this.iSearch.Name = "iSearch";
     this.iSearch.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iSearch_ItemClick);
     //
     // iFavorites
     //
     this.iFavorites.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check;
     this.iFavorites.Caption = "Sổ địa chỉ";
     this.iFavorites.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.iFavorites.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iFavorites.Down = true;
     this.iFavorites.Hint = "Favorites";
     this.iFavorites.Id = 13;
     this.iFavorites.LargeImageIndex = 2;
     this.iFavorites.Name = "iFavorites";
     this.iFavorites.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iFavorites_ItemClick);
     //
     // iEdit
     //
     this.iEdit.Caption = "Edit";
     this.iEdit.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iEdit.Hint = "Open Notepad";
     this.iEdit.Id = 19;
     this.iEdit.LargeImageIndex = 1;
     this.iEdit.Name = "iEdit";
     this.iEdit.ShowCaptionOnBar = false;
     this.iEdit.Visibility = DevExpress.XtraBars.BarItemVisibility.Never;
     this.iEdit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iEdit_ItemClick);
     //
     // bar2
     //
     this.bar2.BarItemHorzIndent = 6;
     this.bar2.BarName = "MainMenu";
     this.bar2.DockCol = 0;
     this.bar2.DockRow = 0;
     this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar2.FloatLocation = new System.Drawing.Point(39, 106);
     this.bar2.FloatSize = new System.Drawing.Size(20, 22);
     this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.siFavorites),
     new DevExpress.XtraBars.LinkPersistInfo(this.siFile)});
     this.bar2.OptionsBar.AllowQuickCustomization = false;
     this.bar2.OptionsBar.DrawDragBorder = false;
     this.bar2.OptionsBar.MultiLine = true;
     this.bar2.OptionsBar.RotateWhenVertical = false;
     this.bar2.OptionsBar.UseWholeRow = true;
     this.bar2.Text = "MainMenu";
     //
     // siFavorites
     //
     this.siFavorites.Caption = "Sổ địa chỉ";
     this.siFavorites.CategoryGuid = new System.Guid("4712321c-b9cd-461f-b453-4a7791063abb");
     this.siFavorites.Id = 3;
     this.siFavorites.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.iAdd)});
     this.siFavorites.Name = "siFavorites";
     //
     // iAdd
     //
     this.iAdd.Caption = "Thêm FURL vào sổ";
     this.iAdd.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.iAdd.Id = 28;
     this.iAdd.Name = "iAdd";
     this.iAdd.OwnFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
     this.iAdd.UseOwnFont = true;
     this.iAdd.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iAdd_ItemClick);
     //
     // siFile
     //
     this.siFile.Caption = "Đóng";
     this.siFile.CategoryGuid = new System.Guid("4712321c-b9cd-461f-b453-4a7791063abb");
     this.siFile.Id = 0;
     this.siFile.Name = "siFile";
     this.siFile.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.siFile_ItemClick);
     //
     // bar3
     //
     this.bar3.BarName = "Address Bar";
     this.bar3.DockCol = 1;
     this.bar3.DockRow = 1;
     this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.eAddress),
     new DevExpress.XtraBars.LinkPersistInfo(this.iGo)});
     this.bar3.Offset = 401;
     this.bar3.OptionsBar.AllowQuickCustomization = false;
     this.bar3.Text = "Address Bar";
     //
     // eAddress
     //
     this.eAddress.AutoFillWidth = true;
     this.eAddress.Caption = "FURL";
     this.eAddress.CategoryGuid = new System.Guid("fb82a187-cdf0-4f39-a566-c00dbaba593d");
     this.eAddress.Edit = this.repositoryItemComboBox1;
     this.eAddress.Id = 21;
     this.eAddress.IEBehavior = true;
     this.eAddress.Name = "eAddress";
     this.eAddress.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.eAddress.Width = 400;
     //
     // repositoryItemComboBox1
     //
     this.repositoryItemComboBox1.AllowFocused = false;
     this.repositoryItemComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemComboBox1.CycleOnDblClick = false;
     this.repositoryItemComboBox1.Name = "repositoryItemComboBox1";
     this.repositoryItemComboBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.repositoryItemComboBox1_KeyDown);
     this.repositoryItemComboBox1.SelectedIndexChanged += new System.EventHandler(this.repositoryItemComboBox1_SelectedItemChanged);
     //
     // iGo
     //
     this.iGo.Caption = "Truy cập";
     this.iGo.CategoryGuid = new System.Guid("fb82a187-cdf0-4f39-a566-c00dbaba593d");
     this.iGo.Glyph = ((System.Drawing.Image)(resources.GetObject("iGo.Glyph")));
     this.iGo.Hint = "Go to ...";
     this.iGo.Id = 20;
     this.iGo.Name = "iGo";
     this.iGo.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     this.iGo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iGo_ItemClick);
     //
     // bar4
     //
     this.bar4.BarName = "Status Bar";
     this.bar4.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom;
     this.bar4.DockCol = 0;
     this.bar4.DockRow = 0;
     this.bar4.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom;
     this.bar4.FloatLocation = new System.Drawing.Point(30, 434);
     this.bar4.FloatSize = new System.Drawing.Size(20, 22);
     this.bar4.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.iText),
     new DevExpress.XtraBars.LinkPersistInfo(this.eProgress)});
     this.bar4.OptionsBar.AllowQuickCustomization = false;
     this.bar4.OptionsBar.DrawDragBorder = false;
     this.bar4.OptionsBar.DrawSizeGrip = true;
     this.bar4.OptionsBar.RotateWhenVertical = false;
     this.bar4.OptionsBar.UseWholeRow = true;
     this.bar4.Text = "Status Bar";
     this.bar4.Visible = false;
     //
     // iText
     //
     this.iText.AutoSize = DevExpress.XtraBars.BarStaticItemSize.Spring;
     this.iText.CategoryGuid = new System.Guid("2ca54f89-3af6-4cbb-93d8-4a4a9387f283");
     this.iText.Id = 22;
     this.iText.Name = "iText";
     this.iText.RightIndent = 3;
     this.iText.TextAlignment = System.Drawing.StringAlignment.Near;
     this.iText.Width = 32;
     //
     // eProgress
     //
     this.eProgress.CanOpenEdit = false;
     this.eProgress.CategoryGuid = new System.Guid("2ca54f89-3af6-4cbb-93d8-4a4a9387f283");
     this.eProgress.Edit = this.repositoryItemProgressBar1;
     this.eProgress.EditHeight = 10;
     this.eProgress.Id = 24;
     this.eProgress.Name = "eProgress";
     this.eProgress.Width = 70;
     //
     // repositoryItemProgressBar1
     //
     this.repositoryItemProgressBar1.Appearance.BackColor = System.Drawing.SystemColors.Control;
     this.repositoryItemProgressBar1.Appearance.Options.UseBackColor = true;
     this.repositoryItemProgressBar1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.repositoryItemProgressBar1.Name = "repositoryItemProgressBar1";
     //
     // barAndDockingController1
     //
     this.barAndDockingController1.PaintStyleName = "Skin";
     this.barAndDockingController1.PropertiesBar.AllowLinkLighting = false;
     //
     // dockManager1
     //
     this.dockManager1.Controller = this.barAndDockingController1;
     this.dockManager1.Form = this;
     this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] {
     this.dockPanel1});
     this.dockManager1.TopZIndexControls.AddRange(new string[] {
     "DevExpress.XtraBars.BarDockControl",
     "System.Windows.Forms.StatusBar"});
     //
     // dockPanel1
     //
     this.dockPanel1.Controls.Add(this.dockPanel1_Container);
     this.dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left;
     this.dockPanel1.ID = new System.Guid("1734463f-4924-485e-9b75-59ea0e8bfee3");
     this.dockPanel1.Location = new System.Drawing.Point(0, 60);
     this.dockPanel1.Name = "dockPanel1";
     this.dockPanel1.Options.AllowDockBottom = false;
     this.dockPanel1.Options.AllowDockFill = false;
     this.dockPanel1.Options.AllowDockRight = false;
     this.dockPanel1.Options.AllowDockTop = false;
     this.dockPanel1.Options.AllowFloating = false;
     this.dockPanel1.Options.FloatOnDblClick = false;
     this.dockPanel1.Options.ShowCloseButton = false;
     this.dockPanel1.Options.ShowMaximizeButton = false;
     this.dockPanel1.Size = new System.Drawing.Size(159, 404);
     this.dockPanel1.Text = "Sổ địa chỉ";
     this.dockPanel1.VisibilityChanged += new DevExpress.XtraBars.Docking.VisibilityChangedEventHandler(this.dockPanel1_VisibilityChanged);
     //
     // dockPanel1_Container
     //
     this.dockPanel1_Container.Controls.Add(this.ctrlFavorites1);
     this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25);
     this.dockPanel1_Container.Name = "dockPanel1_Container";
     this.dockPanel1_Container.Size = new System.Drawing.Size(153, 376);
     this.dockPanel1_Container.TabIndex = 0;
     //
     // ctrlFavorites1
     //
     this.ctrlFavorites1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ctrlFavorites1.Location = new System.Drawing.Point(0, 0);
     this.ctrlFavorites1.Name = "ctrlFavorites1";
     this.ctrlFavorites1.Size = new System.Drawing.Size(153, 376);
     this.ctrlFavorites1.TabIndex = 0;
     this.ctrlFavorites1.AddNewFavorite += new System.EventHandler(this.ctrlFavorites1_AddNewFavorite);
     this.ctrlFavorites1.OpenFavorite += new System.EventHandler(this.ctrlFavorites1_OpenFavorite);
     this.ctrlFavorites1.EditFavorite += new System.EventHandler(this.ctrlFavorites1_EditFavorite);
     this.ctrlFavorites1.DeleteFavorite += new System.EventHandler(this.ctrlFavorites1_DeleteFavorite);
     //
     // imageList2
     //
     this.imageList2.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
     this.imageList2.TransparentColor = System.Drawing.Color.Magenta;
     this.imageList2.Images.SetKeyName(0, "");
     this.imageList2.Images.SetKeyName(1, "");
     this.imageList2.Images.SetKeyName(2, "");
     this.imageList2.Images.SetKeyName(3, "");
     this.imageList2.Images.SetKeyName(4, "");
     this.imageList2.Images.SetKeyName(5, "");
     //
     // iMedia
     //
     this.iMedia.Caption = "Media";
     this.iMedia.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.iMedia.CategoryGuid = new System.Guid("8e707040-b093-4d7e-8f27-277ae2456d3b");
     this.iMedia.Hint = "Media";
     this.iMedia.Id = 15;
     this.iMedia.LargeImageIndex = 7;
     this.iMedia.Name = "iMedia";
     //
     // iToolBars
     //
     this.iToolBars.Caption = "ToolBarsList";
     this.iToolBars.CategoryGuid = new System.Guid("4712321c-b9cd-461f-b453-4a7791063abb");
     this.iToolBars.Id = 25;
     this.iToolBars.Name = "iToolBars";
     //
     // iExit
     //
     this.iExit.Caption = "Đóng";
     this.iExit.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.iExit.Id = 27;
     this.iExit.Name = "iExit";
     this.iExit.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.iExit_ItemClick);
     //
     // ipsWXP
     //
     this.ipsWXP.Caption = "Windows XP";
     this.ipsWXP.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.ipsWXP.Description = "WindowsXP";
     this.ipsWXP.Id = 32;
     this.ipsWXP.ImageIndex = 4;
     this.ipsWXP.Name = "ipsWXP";
     this.ipsWXP.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ips_ItemClick);
     //
     // ipsOXP
     //
     this.ipsOXP.Caption = "Office XP";
     this.ipsOXP.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.ipsOXP.Description = "OfficeXP";
     this.ipsOXP.Id = 33;
     this.ipsOXP.ImageIndex = 2;
     this.ipsOXP.Name = "ipsOXP";
     this.ipsOXP.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ips_ItemClick);
     //
     // ipsO2K
     //
     this.ipsO2K.Caption = "Office 2000";
     this.ipsO2K.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.ipsO2K.Description = "Office2000";
     this.ipsO2K.Id = 34;
     this.ipsO2K.ImageIndex = 3;
     this.ipsO2K.Name = "ipsO2K";
     this.ipsO2K.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ips_ItemClick);
     //
     // iPaintStyle
     //
     this.iPaintStyle.Caption = "Paint Style";
     this.iPaintStyle.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.iPaintStyle.Id = 35;
     this.iPaintStyle.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.ipsDefault),
     new DevExpress.XtraBars.LinkPersistInfo(this.ipsWXP),
     new DevExpress.XtraBars.LinkPersistInfo(this.ipsOXP),
     new DevExpress.XtraBars.LinkPersistInfo(this.ipsO2K),
     new DevExpress.XtraBars.LinkPersistInfo(this.ipsO3)});
     this.iPaintStyle.Name = "iPaintStyle";
     this.iPaintStyle.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph;
     //
     // ipsDefault
     //
     this.ipsDefault.Caption = "Default";
     this.ipsDefault.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.ipsDefault.Description = "Default";
     this.ipsDefault.Id = 37;
     this.ipsDefault.Name = "ipsDefault";
     this.ipsDefault.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ips_ItemClick);
     //
     // ipsO3
     //
     this.ipsO3.Caption = "Office 2003";
     this.ipsO3.CategoryGuid = new System.Guid("b086ef9d-c758-46ba-a35f-058eada7ad13");
     this.ipsO3.Description = "Office2003";
     this.ipsO3.Id = 36;
     this.ipsO3.ImageIndex = 5;
     this.ipsO3.Name = "ipsO3";
     this.ipsO3.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.ips_ItemClick);
     //
     // 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, "");
     this.imageList1.Images.SetKeyName(7, "");
     this.imageList1.Images.SetKeyName(8, "");
     this.imageList1.Images.SetKeyName(9, "");
     this.imageList1.Images.SetKeyName(10, "");
     this.imageList1.Images.SetKeyName(11, "");
     this.imageList1.Images.SetKeyName(12, "");
     this.imageList1.Images.SetKeyName(13, "");
     this.imageList1.Images.SetKeyName(14, "");
     this.imageList1.Images.SetKeyName(15, "");
     //
     // ctrMdiMain
     //
     this.ctrMdiMain.Controller = this.barAndDockingController1;
     this.ctrMdiMain.MdiParent = this;
     this.ctrMdiMain.SelectedPageChanged += new System.EventHandler(this.ctrMdiMain_SelectedPageChanged);
     this.ctrMdiMain.PageRemoved += new DevExpress.XtraTabbedMdi.MdiTabPageEventHandler(this.ctrMdiMain_PageRemoved);
     //
     // frmBrowser
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize = new System.Drawing.Size(668, 490);
     this.Controls.Add(this.dockPanel1);
     this.Controls.Add(this.barDockControl3);
     this.Controls.Add(this.barDockControl4);
     this.Controls.Add(this.barDockControl2);
     this.Controls.Add(this.barDockControl1);
     this.IsMdiContainer = true;
     this.Name = "frmBrowser";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Trình duyệt FURL";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMain_Closing);
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barAndDockingController1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit();
     this.dockPanel1.ResumeLayout(false);
     this.dockPanel1_Container.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ctrMdiMain)).EndInit();
     this.ResumeLayout(false);
 }
Example #7
0
        /// <summary>
        /// 权限列表
        /// </summary>
        /// <returns></returns>
        //private List<EntitySysModule> GetFuncButton()
        //{
        //    using (ProxyLogin proxy = new ProxyLogin())
        //    {
        //        return proxy.Service.GetFormFuncButton(Function.Int(GlobalLoginInfo.objLoginInfo.EmpId), this.GetType().FullName);
        //    }

        //    return null;
        //}

        /// <summary>
        /// SetToolBar
        /// </summary>
        private void SetToolBar()
        {
            List <EntitySysModule> lstFuncButton = this.FuncItems;

            if (lstFuncButton == null || lstFuncButton.Count == 0)
            {
                this.barTools.Visible = false;
            }
            else
            {
                #region 默认统一按钮
                // 分辨率
                EntitySysModule vo = null;
                //vo = new EntitySysModule();
                //vo.FuncId = 9999901;
                //vo.FuncName = "分辨率";
                //vo.OperName = "ratio";
                //lstFuncButton.Add(vo);
                // 锁系统
                //vo = new EntitySysModule();
                //vo.FuncId = 9999902;
                //vo.FuncName = "锁系统";
                //vo.OperName = "locksys";
                //lstFuncButton.Add(vo);
                // 关闭窗口
                vo             = new EntitySysModule();
                vo.FuncId      = 9999903;
                vo.FuncName    = "关闭窗口";
                vo.OperName    = "close";
                vo.ImageSource = "Close";
                lstFuncButton.Add(vo);

                if (IsShowHaltIco)
                {
                    // 退出系统
                    vo          = new EntitySysModule();
                    vo.FuncId   = 9999904;
                    vo.FuncName = "退出系统";
                    vo.OperName = "halt";
                    lstFuncButton.Add(vo);
                }
                #endregion

                this.barManager.BeginInit();
                this.barManager.BeginUpdate();
                DevExpress.XtraBars.BarLargeButtonItem bbi = null;
                foreach (EntitySysModule item in lstFuncButton)
                {
                    // 一个窗体多个挂接参数
                    if (!string.IsNullOrEmpty(this.AccessibleName) && item.ParentId > 0)
                    {
                        if (!item.ParentId.ToString().Equals(this.AccessibleName))
                        {
                            continue;
                        }
                    }

                    bbi                 = new DevExpress.XtraBars.BarLargeButtonItem();
                    bbi.Id              = Function.Int(item.FuncCode);
                    bbi.Caption         = item.FuncName;
                    bbi.Name            = "bbi" + item.OperName.ToLower();
                    bbi.Appearance.Font = new System.Drawing.Font("宋体", 9.5f);
                    bbi.Glyph           = (rm.GetObject(item.ImageSource) as System.Drawing.Image);
                    switch (item.OperName.ToLower().Trim())
                    {
                    case "adjust":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiAdjust_ItemClick);
                        break;

                    case "load":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiLoad_ItemClick);
                        break;

                    case "template":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiTemplate_ItemClick);
                        break;

                    case "new":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiNew_ItemClick);
                        break;

                    case "save":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiSave_ItemClick);
                        break;

                    case "delete":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiDel_ItemClick);
                        break;

                    case "edit":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiEdit_ItemClick);
                        break;

                    case "cancel":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiCancel_ItemClick);
                        break;

                    case "confirm":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiConfirm_ItemClick);
                        break;

                    case "unconfirm":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiUnConfirm_ItemClick);
                        break;

                    case "stop":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiStop_ItemClick);
                        break;

                    case "print":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiPrint_ItemClick);
                        break;

                    case "export":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiExport_ItemClick);
                        break;

                    case "refresh":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiRefresh_ItemClick);
                        break;

                    case "search":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiSearch_ItemClick);
                        break;

                    case "complete":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiComplete_ItemClick);
                        break;

                    case "close":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiClose_ItemClick);
                        break;

                    case "halt":
                        bbi.Alignment  = DevExpress.XtraBars.BarItemLinkAlignment.Right;
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiHalt_ItemClick);
                        break;

                    case "design":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiDesign_ItemClick);
                        break;

                    case "customform":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiCustomForm_ItemClick);
                        break;

                    case "defineitem":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiDefineItem_ItemClick);
                        break;

                    case "stat":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiStatItemClick);
                        break;

                    case "aidfunc":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiAidFunc_ItemClick);
                        break;

                    case "remind":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiRemind_ItemClick);
                        break;

                    case "fuvtel":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiFuvTel_ItemClick);
                        break;

                    case "fuvmessage":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiFuvMessage_ItemClick);
                        break;

                    case "fuvwechat":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiFuvWeChat_ItemClick);
                        break;

                    case "fuvemail":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiFuvEmail_ItemClick);
                        break;

                    case "execfuv":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiExecFuv_ItemClick);
                        break;

                    case "basicinfo":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiBasicInfo_ItemClick);
                        break;

                    case "fuvtimes":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiFuvTimes_ItemClick);
                        break;

                    case "fuvcase":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiFuvCase_ItemClick);
                        break;

                    default:
                        break;
                    }

                    this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] { bbi });
                    this.barTools.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
                        new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, bbi, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)
                    });
                }
                this.barManager.EndUpdate();
                this.barManager.EndInit();
            }
        }
Example #8
0
        /// <summary>
        /// 权限列表
        /// </summary>
        /// <returns></returns>
        //private List<EntitySysModule> GetFuncButton()
        //{
        //    using (ProxyLogin proxy = new ProxyLogin())
        //    {
        //        return proxy.Service.GetFormFuncButton(Function.Int(GlobalLoginInfo.objLoginInfo.EmpId), this.ucCustom.GetType().FullName);
        //    }
        //}

        /// <summary>
        /// SetToolBar
        /// </summary>
        private void SetToolBar()
        {
            List <EntitySysModule> lstFuncButton = this.lstFuncItems;

            if (lstFuncButton == null || lstFuncButton.Count == 0)
            {
                this.barTools.Visible = false;
            }
            else
            {
                #region 默认统一按钮
                // 分辨率
                EntitySysModule vo = null;
                //vo = new EntitySysModule();
                //vo.FuncId = 9999901;
                //vo.FuncName = "分辨率";
                //vo.OperName = "ratio";
                //lstFuncButton.Add(vo);
                // 锁系统
                //vo = new EntitySysModule();
                //vo.FuncId = 9999902;
                //vo.FuncName = "锁系统";
                //vo.OperName = "locksys";
                //lstFuncButton.Add(vo);
                // 关闭窗口
                vo             = new EntitySysModule();
                vo.FuncId      = 9999903;
                vo.FuncName    = "关闭窗口";
                vo.OperName    = "close";
                vo.ImageSource = "Close";
                lstFuncButton.Add(vo);
                #endregion

                this.barManager.BeginInit();
                this.barManager.BeginUpdate();
                DevExpress.XtraBars.BarLargeButtonItem bbi = null;
                foreach (EntitySysModule item in lstFuncButton)
                {
                    bbi                 = new DevExpress.XtraBars.BarLargeButtonItem();
                    bbi.Id              = Function.Int(item.FuncCode);
                    bbi.Caption         = item.FuncName;
                    bbi.Name            = "bbi" + item.OperName.ToLower();
                    bbi.Appearance.Font = new System.Drawing.Font("宋体", 9.5f);
                    bbi.Glyph           = (rm.GetObject(item.ImageSource) as System.Drawing.Image);
                    switch (item.OperName.ToLower())
                    {
                    case "load":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiLoad_ItemClick);
                        break;

                    case "export":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiExport_ItemClick);
                        break;

                    case "new":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiNew_ItemClick);
                        break;

                    case "save":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiSave_ItemClick);
                        break;

                    case "delete":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiDel_ItemClick);
                        break;

                    case "edit":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiEdit_ItemClick);
                        break;

                    case "template":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiTemplate_ItemClick);
                        break;

                    case "check":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiCheck_ItemClick);
                        break;

                    case "cancel":
                        break;

                    case "confirm":
                        break;

                    case "stop":
                        break;

                    case "print":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiPrint_ItemClick);
                        break;

                    case "search":
                        break;

                    case "close":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiClose_ItemClick);
                        break;

                    case "design":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiDesign_ItemClick);
                        break;

                    case "customform":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiCustomForm_ItemClick);
                        break;

                    case "defineitem":
                        bbi.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(bbiDefineItem_ItemClick);
                        break;

                    default:
                        break;
                    }

                    this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] { bbi });
                    this.barTools.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
                        new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, bbi, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)
                    });
                }
                this.barManager.EndUpdate();
                this.barManager.EndInit();
            }
        }
 /// <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(QuanLyCamDo));
     this.bm = new DevExpress.XtraBars.BarManager(this.components);
     this.bar2 = new DevExpress.XtraBars.Bar();
     this.bbiLapPhieuCamDo = new DevExpress.XtraBars.BarLargeButtonItem();
     this.bbiDanhSach = new DevExpress.XtraBars.BarLargeButtonItem();
     this.bbiChiTiet = new DevExpress.XtraBars.BarLargeButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.img = new DevExpress.Utils.ImageCollection(this.components);
     this.plMain = new DevExpress.XtraEditors.GroupControl();
     ((System.ComponentModel.ISupportInitialize)(this.bm)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.img)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.plMain)).BeginInit();
     this.SuspendLayout();
     //
     // bm
     //
     this.bm.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar2});
     this.bm.DockControls.Add(this.barDockControlTop);
     this.bm.DockControls.Add(this.barDockControlBottom);
     this.bm.DockControls.Add(this.barDockControlLeft);
     this.bm.DockControls.Add(this.barDockControlRight);
     this.bm.Form = this;
     this.bm.Images = this.img;
     this.bm.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.bbiLapPhieuCamDo,
     this.bbiDanhSach,
     this.bbiChiTiet});
     this.bm.LargeImages = this.img;
     this.bm.MainMenu = this.bar2;
     this.bm.MaxItemId = 4;
     //
     // bar2
     //
     this.bar2.BarName = "Main menu";
     this.bar2.DockCol = 0;
     this.bar2.DockRow = 0;
     this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.bbiLapPhieuCamDo, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiDanhSach),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiChiTiet)});
     this.bar2.OptionsBar.MultiLine = true;
     this.bar2.OptionsBar.UseWholeRow = true;
     this.bar2.Text = "Main menu";
     //
     // bbiLapPhieuCamDo
     //
     this.bbiLapPhieuCamDo.Caption = "Lập Phiếu Cầm Đồ";
     this.bbiLapPhieuCamDo.Id = 0;
     this.bbiLapPhieuCamDo.LargeImageIndex = 0;
     this.bbiLapPhieuCamDo.Name = "bbiLapPhieuCamDo";
     this.bbiLapPhieuCamDo.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiLapPhieuCamDo_ItemClick);
     //
     // bbiDanhSach
     //
     this.bbiDanhSach.Caption = "Danh Sách";
     this.bbiDanhSach.Id = 2;
     this.bbiDanhSach.LargeImageIndex = 2;
     this.bbiDanhSach.Name = "bbiDanhSach";
     this.bbiDanhSach.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiDanhSach_ItemClick);
     //
     // bbiChiTiet
     //
     this.bbiChiTiet.Caption = "Chi Tiết";
     this.bbiChiTiet.Id = 3;
     this.bbiChiTiet.LargeImageIndex = 1;
     this.bbiChiTiet.Name = "bbiChiTiet";
     this.bbiChiTiet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiChiTiet_ItemClick);
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(1073, 42);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 627);
     this.barDockControlBottom.Size = new System.Drawing.Size(1073, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 42);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 585);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(1073, 42);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 585);
     //
     // img
     //
     this.img.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("img.ImageStream")));
     this.img.Images.SetKeyName(0, "archive.png");
     this.img.Images.SetKeyName(1, "applications.png");
     this.img.Images.SetKeyName(2, "edit.png");
     //
     // plMain
     //
     this.plMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.plMain.Location = new System.Drawing.Point(0, 42);
     this.plMain.Name = "plMain";
     this.plMain.Size = new System.Drawing.Size(1073, 585);
     this.plMain.TabIndex = 4;
     //
     // QuanLyCamDo
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1073, 627);
     this.Controls.Add(this.plMain);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "QuanLyCamDo";
     this.Text = "Quản Lý Cầm";
     ((System.ComponentModel.ISupportInitialize)(this.bm)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.img)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.plMain)).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();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition1 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition2 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition3 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition pivotGridStyleFormatCondition4 = new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition();
     this.fieldRouteBrand1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.repositoryItemTextEditPers = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEditf2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
     this.popupMenuMain = new DevExpress.XtraBars.PopupMenu(this.components);
     this.barManagerMain = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1 = new DevExpress.XtraBars.Bar();
     this.barHeaderItem1 = new DevExpress.XtraBars.BarHeaderItem();
     this.bbiStartDate = new DevExpress.XtraBars.BarEditItem();
     this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.bbiGetData = new DevExpress.XtraBars.BarLargeButtonItem();
     this.bbiExport = new DevExpress.XtraBars.BarButtonItem();
     this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
     this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.pivotGridControlMain = new DevExpress.XtraPivotGrid.PivotGridControl();
     this.dsNMQry = new NestleICSales.DataSources.dsQry();
     this.fieldRouteNumber1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldRouteName1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldSupervisor1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldPlantSalesDistrict1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldPlantName1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldPlantBaseName1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldDistributionChannel1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldActive1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldEquipment1 = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldCustomer = new DevExpress.XtraPivotGrid.PivotGridField();
     this.calcEqAvg = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldCType = new DevExpress.XtraPivotGrid.PivotGridField();
     this.fieldCustomerType = new DevExpress.XtraPivotGrid.PivotGridField();
     this.dxValidationProviderMain = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
     this.pro0002BindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.pro_0002TableAdapter = new NestleICSales.DataSources.dsQryTableAdapters.Pro_0002TableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditPers)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditf2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManagerMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotGridControlMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsNMQry)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderMain)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pro0002BindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // fieldRouteBrand1
     //
     this.fieldRouteBrand1.AreaIndex = 1;
     this.fieldRouteBrand1.Caption = "Route Brand";
     this.fieldRouteBrand1.FieldName = "RouteBrand";
     this.fieldRouteBrand1.Name = "fieldRouteBrand1";
     //
     // repositoryItemTextEditPers
     //
     this.repositoryItemTextEditPers.AutoHeight = false;
     this.repositoryItemTextEditPers.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEditPers.EditFormat.FormatString = "P1";
     this.repositoryItemTextEditPers.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEditPers.ExportMode = DevExpress.XtraEditors.Repository.ExportMode.DisplayText;
     this.repositoryItemTextEditPers.Mask.EditMask = "P1";
     this.repositoryItemTextEditPers.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEditPers.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemTextEditPers.Name = "repositoryItemTextEditPers";
     //
     // repositoryItemTextEditf2
     //
     this.repositoryItemTextEditf2.AutoHeight = false;
     this.repositoryItemTextEditf2.DisplayFormat.FormatString = "f2";
     this.repositoryItemTextEditf2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric;
     this.repositoryItemTextEditf2.Mask.EditMask = "f2";
     this.repositoryItemTextEditf2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
     this.repositoryItemTextEditf2.Name = "repositoryItemTextEditf2";
     //
     // repositoryItemTextEdit1
     //
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     //
     // popupMenuMain
     //
     this.popupMenuMain.Manager = this.barManagerMain;
     this.popupMenuMain.Name = "popupMenuMain";
     //
     // barManagerMain
     //
     this.barManagerMain.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
     this.bar1});
     this.barManagerMain.DockControls.Add(this.barDockControlTop);
     this.barManagerMain.DockControls.Add(this.barDockControlBottom);
     this.barManagerMain.DockControls.Add(this.barDockControlLeft);
     this.barManagerMain.DockControls.Add(this.barDockControlRight);
     this.barManagerMain.Form = this;
     this.barManagerMain.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
     this.bbiExport,
     this.bbiStartDate,
     this.barHeaderItem1,
     this.bbiGetData});
     this.barManagerMain.MaxItemId = 10;
     this.barManagerMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemDateEdit1,
     this.repositoryItemDateEdit2});
     //
     // bar1
     //
     this.bar1.BarName = "Main";
     this.bar1.DockCol = 0;
     this.bar1.DockRow = 0;
     this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
     new DevExpress.XtraBars.LinkPersistInfo(this.barHeaderItem1),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiStartDate),
     new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.bbiGetData, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
     new DevExpress.XtraBars.LinkPersistInfo(this.bbiExport)});
     this.bar1.Text = "Custom 2";
     //
     // barHeaderItem1
     //
     this.barHeaderItem1.Caption = "Select Date";
     this.barHeaderItem1.Id = 3;
     this.barHeaderItem1.Name = "barHeaderItem1";
     //
     // bbiStartDate
     //
     this.bbiStartDate.Caption = "Start Date";
     this.bbiStartDate.Edit = this.repositoryItemDateEdit1;
     this.bbiStartDate.Id = 2;
     this.bbiStartDate.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D1));
     this.bbiStartDate.Name = "bbiStartDate";
     this.bbiStartDate.Width = 120;
     //
     // 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.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1";
     //
     // bbiGetData
     //
     this.bbiGetData.Caption = "Get Data";
     this.bbiGetData.CaptionAlignment = DevExpress.XtraBars.BarItemCaptionAlignment.Right;
     this.bbiGetData.Glyph = global::NestleICSales.Properties.Resources.apply_16x16;
     this.bbiGetData.Id = 9;
     this.bbiGetData.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.G));
     this.bbiGetData.Name = "bbiGetData";
     this.bbiGetData.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiGetData_ItemClick);
     //
     // bbiExport
     //
     this.bbiExport.Caption = "Export";
     this.bbiExport.Glyph = global::NestleICSales.Properties.Resources.Export;
     this.bbiExport.Id = 1;
     this.bbiExport.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E));
     this.bbiExport.Name = "bbiExport";
     this.bbiExport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiExport_ItemClick);
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size = new System.Drawing.Size(1132, 31);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location = new System.Drawing.Point(0, 311);
     this.barDockControlBottom.Size = new System.Drawing.Size(1132, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location = new System.Drawing.Point(0, 31);
     this.barDockControlLeft.Size = new System.Drawing.Size(0, 280);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location = new System.Drawing.Point(1132, 31);
     this.barDockControlRight.Size = new System.Drawing.Size(0, 280);
     //
     // repositoryItemDateEdit2
     //
     this.repositoryItemDateEdit2.AutoHeight = false;
     this.repositoryItemDateEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit2.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
     this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2";
     //
     // pivotGridControlMain
     //
     this.pivotGridControlMain.DataSource = this.pro0002BindingSource;
     this.pivotGridControlMain.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pivotGridControlMain.Fields.AddRange(new DevExpress.XtraPivotGrid.PivotGridField[] {
     this.fieldRouteNumber1,
     this.fieldRouteName1,
     this.fieldSupervisor1,
     this.fieldRouteBrand1,
     this.fieldPlantSalesDistrict1,
     this.fieldPlantName1,
     this.fieldPlantBaseName1,
     this.fieldDistributionChannel1,
     this.fieldActive1,
     this.fieldEquipment1,
     this.fieldCustomer,
     this.calcEqAvg,
     this.fieldCType,
     this.fieldCustomerType});
     pivotGridStyleFormatCondition1.Appearance.BackColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition1.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition1.Appearance.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     pivotGridStyleFormatCondition1.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition1.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition1.Field = this.fieldRouteBrand1;
     pivotGridStyleFormatCondition1.FieldName = "fieldRouteBrand1";
     pivotGridStyleFormatCondition1.Value1 = "1";
     pivotGridStyleFormatCondition2.Appearance.BackColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition2.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition2.Appearance.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     pivotGridStyleFormatCondition2.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition2.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition2.Field = this.fieldRouteBrand1;
     pivotGridStyleFormatCondition2.FieldName = "fieldRouteBrand1";
     pivotGridStyleFormatCondition2.Value1 = "1";
     pivotGridStyleFormatCondition3.Appearance.BackColor = System.Drawing.Color.Red;
     pivotGridStyleFormatCondition3.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition3.Appearance.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     pivotGridStyleFormatCondition3.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition3.Condition = DevExpress.XtraGrid.FormatConditionEnum.Less;
     pivotGridStyleFormatCondition3.Field = this.fieldRouteBrand1;
     pivotGridStyleFormatCondition3.FieldName = "fieldRouteBrand1";
     pivotGridStyleFormatCondition3.Value1 = "1";
     pivotGridStyleFormatCondition4.Appearance.BackColor = System.Drawing.Color.Green;
     pivotGridStyleFormatCondition4.Appearance.BackColor2 = System.Drawing.Color.White;
     pivotGridStyleFormatCondition4.Appearance.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal;
     pivotGridStyleFormatCondition4.Appearance.Options.UseBackColor = true;
     pivotGridStyleFormatCondition4.Condition = DevExpress.XtraGrid.FormatConditionEnum.GreaterOrEqual;
     pivotGridStyleFormatCondition4.Field = this.fieldRouteBrand1;
     pivotGridStyleFormatCondition4.FieldName = "fieldRouteBrand1";
     pivotGridStyleFormatCondition4.Value1 = "1";
     this.pivotGridControlMain.FormatConditions.AddRange(new DevExpress.XtraPivotGrid.PivotGridStyleFormatCondition[] {
     pivotGridStyleFormatCondition1,
     pivotGridStyleFormatCondition2,
     pivotGridStyleFormatCondition3,
     pivotGridStyleFormatCondition4});
     this.pivotGridControlMain.Location = new System.Drawing.Point(0, 31);
     this.pivotGridControlMain.Name = "pivotGridControlMain";
     this.pivotGridControlMain.OptionsPrint.PrintColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
     this.pivotGridControlMain.OptionsPrint.PrintDataHeaders = DevExpress.Utils.DefaultBoolean.False;
     this.pivotGridControlMain.OptionsPrint.PrintFilterHeaders = DevExpress.Utils.DefaultBoolean.False;
     this.pivotGridControlMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemTextEditPers});
     this.pivotGridControlMain.Size = new System.Drawing.Size(1132, 280);
     this.pivotGridControlMain.TabIndex = 9;
     //
     // dsNMQry
     //
     this.dsNMQry.DataSetName = "dsNMQry";
     this.dsNMQry.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // fieldRouteNumber1
     //
     this.fieldRouteNumber1.AreaIndex = 0;
     this.fieldRouteNumber1.Caption = "Route Number";
     this.fieldRouteNumber1.FieldName = "RouteNumber";
     this.fieldRouteNumber1.Name = "fieldRouteNumber1";
     //
     // fieldRouteName1
     //
     this.fieldRouteName1.Area = DevExpress.XtraPivotGrid.PivotArea.RowArea;
     this.fieldRouteName1.AreaIndex = 1;
     this.fieldRouteName1.Caption = "Route Name";
     this.fieldRouteName1.FieldName = "RouteName";
     this.fieldRouteName1.Name = "fieldRouteName1";
     //
     // fieldSupervisor1
     //
     this.fieldSupervisor1.Area = DevExpress.XtraPivotGrid.PivotArea.RowArea;
     this.fieldSupervisor1.AreaIndex = 0;
     this.fieldSupervisor1.Caption = "Supervisor";
     this.fieldSupervisor1.FieldName = "Supervisor";
     this.fieldSupervisor1.Name = "fieldSupervisor1";
     //
     // fieldPlantSalesDistrict1
     //
     this.fieldPlantSalesDistrict1.AreaIndex = 2;
     this.fieldPlantSalesDistrict1.Caption = "Plant Sales District";
     this.fieldPlantSalesDistrict1.FieldName = "PlantSalesDistrict";
     this.fieldPlantSalesDistrict1.Name = "fieldPlantSalesDistrict1";
     //
     // fieldPlantName1
     //
     this.fieldPlantName1.AreaIndex = 3;
     this.fieldPlantName1.Caption = "Plant Name";
     this.fieldPlantName1.FieldName = "PlantName";
     this.fieldPlantName1.Name = "fieldPlantName1";
     //
     // fieldPlantBaseName1
     //
     this.fieldPlantBaseName1.AreaIndex = 4;
     this.fieldPlantBaseName1.Caption = "Plant Base Name";
     this.fieldPlantBaseName1.FieldName = "PlantBaseName";
     this.fieldPlantBaseName1.Name = "fieldPlantBaseName1";
     //
     // fieldDistributionChannel1
     //
     this.fieldDistributionChannel1.AreaIndex = 5;
     this.fieldDistributionChannel1.Caption = "Distribution Channel";
     this.fieldDistributionChannel1.FieldName = "DistributionChannel";
     this.fieldDistributionChannel1.Name = "fieldDistributionChannel1";
     //
     // fieldActive1
     //
     this.fieldActive1.Area = DevExpress.XtraPivotGrid.PivotArea.ColumnArea;
     this.fieldActive1.AreaIndex = 0;
     this.fieldActive1.Caption = "Active";
     this.fieldActive1.FieldName = "Active";
     this.fieldActive1.Name = "fieldActive1";
     //
     // fieldEquipment1
     //
     this.fieldEquipment1.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldEquipment1.AreaIndex = 1;
     this.fieldEquipment1.Caption = "Frz";
     this.fieldEquipment1.FieldName = "Equipment";
     this.fieldEquipment1.Name = "fieldEquipment1";
     //
     // fieldCustomer
     //
     this.fieldCustomer.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.fieldCustomer.AreaIndex = 0;
     this.fieldCustomer.Caption = "Customer";
     this.fieldCustomer.FieldName = "Customer";
     this.fieldCustomer.Name = "fieldCustomer";
     //
     // calcEqAvg
     //
     this.calcEqAvg.Appearance.Cell.ForeColor = System.Drawing.Color.Red;
     this.calcEqAvg.Appearance.Cell.Options.UseForeColor = true;
     this.calcEqAvg.Area = DevExpress.XtraPivotGrid.PivotArea.DataArea;
     this.calcEqAvg.AreaIndex = 2;
     this.calcEqAvg.Caption = "Arg Frz";
     this.calcEqAvg.FieldName = "Equipment";
     this.calcEqAvg.Name = "calcEqAvg";
     this.calcEqAvg.SummaryDisplayType = DevExpress.Data.PivotGrid.PivotSummaryDisplayType.PercentOfRow;
     //
     // fieldCType
     //
     this.fieldCType.AreaIndex = 6;
     this.fieldCType.Caption = "Frz Type";
     this.fieldCType.FieldName = "CType";
     this.fieldCType.Name = "fieldCType";
     //
     // fieldCustomerType
     //
     this.fieldCustomerType.AreaIndex = 7;
     this.fieldCustomerType.Caption = "Customer Type";
     this.fieldCustomerType.FieldName = "CustomerType";
     this.fieldCustomerType.Name = "fieldCustomerType";
     //
     // pro0002BindingSource
     //
     this.pro0002BindingSource.DataMember = "Pro_0002";
     this.pro0002BindingSource.DataSource = this.dsNMQry;
     //
     // pro_0002TableAdapter
     //
     this.pro_0002TableAdapter.ClearBeforeFill = true;
     //
     // QryPro_0002Frm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1132, 311);
     this.Controls.Add(this.pivotGridControlMain);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Icon = global::NestleICSales.Properties.Resources.Qry16;
     this.Name = "QryPro_0002Frm";
     this.Text = "Zero Sales MTD";
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditPers)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditf2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.popupMenuMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManagerMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotGridControlMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsNMQry)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderMain)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pro0002BindingSource)).EndInit();
     this.ResumeLayout(false);
 }