Example #1
0
        /// <summary>
        /// Tentatively add a new view of the specified type to the current page
        /// </summary>
        /// <param name="chartType"></param>
        /// <returns></returns>

        ResultsViewProps AddTentativeNewView(ResultsViewType viewType)
        {
            int intVal, max;

            DialogResult = DialogResult.OK;             // close the selection menu
            Hide();
            SessionManager.ActivateShell();
            ResultsViewProps view = AddViewHelper.AddTentativeNewView(viewType, Qm.Query, Qrc);

            return(view);
        }
Example #2
0
        /// <summary>
        /// Add a new empty results page
        /// </summary>

        void AddPage()
        {
            DialogResult = DialogResult.OK;             // close the selection menu
            Hide();
            SessionManager.ActivateShell();

            ResultsPage page = ResultsPages.AddNewPage(Qm.Query);

            Qrc.AddResultsPageTabPage(page);            // add tab for page
            Qrc.ConfigureResultsPage(page);             // render the empty page

            return;
        }
Example #3
0
 private void HistoryList_Deactivate(object sender, EventArgs e)
 {         // hide form when deactivated
     this.Hide();
     SessionManager.ActivateShell();
 }