public GridsControl()
        {
            InitializeComponent();
            Dock         = DockStyle.Fill;
            DetailedGrid = new OutputDetailedGridControl();
            MultiGrid    = new OutputMultiGridControl();
            pnMain.Dock  = DockStyle.Fill;
            pnEmpty.Dock = DockStyle.Fill;
            var buttonInfos = new List <ButtonInfo>
            {
                new ButtonInfo {
                    Logo    = Resources.GridTotals,
                    Tooltip = "Open Totals",
                    Action  = () => { xtraTabControlOptions.SelectedTabPage = xtraTabPageSlideBullets; xtraTabControlOptions.MakePageVisible(xtraTabPagePrint); }
                },
                new ButtonInfo {
                    Logo    = Resources.GridSlideInfo,
                    Tooltip = "Open Slide Info",
                    Action  = () => { xtraTabControlOptions.SelectedTabPage = xtraTabPageSlideHeaders; xtraTabControlOptions.MakePageVisible(xtraTabPagePrint); }
                },
                new ButtonInfo {
                    Logo    = Resources.GridNotes,
                    Tooltip = "Open Notes",
                    Action  = () => { xtraTabControlOptions.SelectedTabPage = xtraTabPageAdNotes; xtraTabControlOptions.MakePageVisible(xtraTabPagePrint); }
                },
                new ButtonInfo {
                    Logo    = Resources.GridColumns,
                    Tooltip = "Open Columns",
                    Action  = () => { xtraTabControlOptions.SelectedTabPage = xtraTabPagePrint; xtraTabControlOptions.MakePageVisible(xtraTabPagePrint); }
                },
            };

            retractableBar.AddButtons(buttonInfos);
            retractableBar.StateChanged += retractableBar_StateChanged;
        }
		public GridsControl()
		{
			InitializeComponent();
			Dock = DockStyle.Fill;
			DetailedGrid = new OutputDetailedGridControl();
			MultiGrid = new OutputMultiGridControl();
			pnMain.Dock = DockStyle.Fill;
			pnEmpty.Dock = DockStyle.Fill;
			var buttonInfos = new List<ButtonInfo>
			{
				new ButtonInfo { 
					Logo = Resources.GridTotals, 
					Tooltip = "Open Totals", 
					Action = () => { xtraTabControlOptions.SelectedTabPage = xtraTabPageSlideBullets; xtraTabControlOptions.MakePageVisible(xtraTabPagePrint);} 
				}, 
				new ButtonInfo { 
					Logo = Resources.GridSlideInfo, 
					Tooltip = "Open Slide Info", 
					Action = () => { xtraTabControlOptions.SelectedTabPage = xtraTabPageSlideHeaders; xtraTabControlOptions.MakePageVisible(xtraTabPagePrint);} 
				}, 
				new ButtonInfo { 
					Logo = Resources.GridNotes, 
					Tooltip = "Open Notes", 
					Action = () => { xtraTabControlOptions.SelectedTabPage = xtraTabPageAdNotes; xtraTabControlOptions.MakePageVisible(xtraTabPagePrint);} 
				}, 
				new ButtonInfo { 
					Logo = Resources.GridColumns, 
					Tooltip = "Open Columns", 
					Action = () => { xtraTabControlOptions.SelectedTabPage = xtraTabPagePrint; xtraTabControlOptions.MakePageVisible(xtraTabPagePrint);} 
				}, 
			};
			retractableBar.AddButtons(buttonInfos);
			retractableBar.StateChanged += retractableBar_StateChanged;
		}