Beispiel #1
0
        /// <summary>
        /// Create the view display controls and link them into the QueryResultsControl and the ResultsView object
        /// </summary>
        /// <returns></returns>

        public override Control AllocateRenderingControl()
        {
            PageControl      = new PivotGridPageControl();
            PageControl.View = this;                  // link the rendering control to us
            PivotGridPanel.PivotGrid.Visible = false; // control is initially hidden
            PivotGridPanel.Dock = DockStyle.Fill;

            RenderingControl = PivotGridPanel;
            ConfigureCount   = 0;

            return(RenderingControl);
        }
Beispiel #2
0
        /// <summary>
        /// Clear any pointers to UI resources (e.g. forms, controls)
        /// </summary>

        public new void FreeResources()
        {
            RenderingControl = null;
            PageControl      = null;
            return;
        }