Пример #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()
        {
            HtmlPageControl = new HtmlTablePageControl();
            HtmlPanel.View  = this;            // link the html table control panel to this view
            HtmlPanel.Dock  = DockStyle.Fill;  // dock full grid panel

            RenderingControl = HtmlPanel;
            ConfigureCount   = 0;

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

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