/// <summary>
        /// Construtor default
        /// </summary>
        /// <param name="customizarGridControl">Objeto do tipo customizarGridControl</param>
        public CustomizarGridControlVisaoGrafico(CustomizarGridControlDemo customizarGridControl)
        {
            InitializeComponent();
            _customizarGridControl = customizarGridControl;

            this.Dock = DockStyle.Fill;
        }
        private void smplBtnTelaCheia_Click(object sender, EventArgs e)
        {
            _telaCheia = true;
            MasterFormGlobus masterFormGlobus = new MasterFormGlobus();

            masterFormGlobus.ShowInTaskbar = true;
            masterFormGlobus.MaximizeBox   = false;
            masterFormGlobus.MinimizeBox   = false;
            masterFormGlobus.Size          = FGlobus.Util.Util.RetornarTamanhoDoForm(10);
            masterFormGlobus.MinimumSize   = masterFormGlobus.Size;

            Control control = new Control();

            control = _gridControl.Parent;

            DevExpress.XtraEditors.SimpleButton simpleButton = new DevExpress.XtraEditors.SimpleButton();
            simpleButton.Dock            = DockStyle.Fill;
            simpleButton.BorderStyle     = BorderStyles.NoBorder;
            simpleButton.Text            = "Formatando Grid...";
            simpleButton.Enabled         = false;
            simpleButton.Appearance.Font = new System.Drawing.Font(
                simpleButton.Appearance.Font.FontFamily, 30);

            control.Controls.Add(simpleButton);

            masterFormGlobus.Controls.Add(this);
            masterFormGlobus.Controls.Add(_gridControl);
            if (_customizarGridControlPivotGridGrafico != null && _customizarGridControlPivotGridGrafico.Visible)
            {
                masterFormGlobus.Controls.Add(_customizarGridControlPivotGridGrafico);
                _customizarGridControlPivotGridGrafico.BringToFront();
                this.nvBrCtrlCustonGrid.Enabled = false;
            }

            masterFormGlobus.Controls
            .OfType <GridControl>()
            .FirstOrDefault()
            .BringToFront();

            masterFormGlobus.FormClosing += delegate(object senderFormClosing, FormClosingEventArgs eFormClosing)
            {
                if (!_gridControl.Visible)
                {
                    smplBtnFecharVisaoGrafico_Click(_gridControl, null);
                }

                control.Controls.RemoveAt(0);

                GridControl gridControl = masterFormGlobus.Controls
                                          .OfType <GridControl>()
                                          .FirstOrDefault();

                masterFormGlobus.Controls.Remove(gridControl);

                if (_customizarGridControlPivotGridGrafico != null && _customizarGridControlPivotGridGrafico.Visible)
                {
                    masterFormGlobus.Controls.Add(_customizarGridControlPivotGridGrafico);
                }

                control.Controls.Add(gridControl);

                CustomizarGridControlDemo customizarGridControl = masterFormGlobus.Controls
                                                                  .OfType <CustomizarGridControlDemo>()
                                                                  .FirstOrDefault();

                customizarGridControl.nvBrCtrlCustonGrid.OptionsNavPane.NavPaneState = NavPaneState.Collapsed;
                _telaCheia = false;

                masterFormGlobus.Controls.Remove(customizarGridControl);
                control.Controls.Add(customizarGridControl);
            };


            masterFormGlobus.Text = (_masterFormGlobus == null ? "" : _masterFormGlobus.Text + @"\") + simpleButton.Text;

            try
            {
                masterFormGlobus.ShowDialog(_masterFormGlobus);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }