Example #1
0
        public static void ShowStats()
        {
            //No longer needed:
            //if (MainForm.LearnLogic.Dictionary.Statistics.Statistics.Count == 0)
            //{
            //    MessageBox.Show(Resources.STATISTICS_NO_STATS_MSGBOX_DESC, Resources.STATISTICS_NO_STATS_MSGBOX_CAPT, MessageBoxButtons.OK, MessageBoxIcon.Information);
            //    return;
            //}

            TStatsForm StatsForm = new TStatsForm();

            //TODO print functionality not yet implemented, therefore invisible
            StatsForm.btnPrintKnowledge.Visible = false;
            StatsForm.btnPrintMemory.Visible    = false;
            StatsForm.btnPrintOther.Visible     = false;
            StatsForm.ShowDialog();
        }
Example #2
0
        public static void ShowStats()
        {
            //No longer needed:
            //if (MainForm.LearnLogic.Dictionary.Statistics.Statistics.Count == 0)
            //{
            //    MessageBox.Show(Resources.STATISTICS_NO_STATS_MSGBOX_DESC, Resources.STATISTICS_NO_STATS_MSGBOX_CAPT, MessageBoxButtons.OK, MessageBoxIcon.Information);
            //    return;
            //}

            TStatsForm StatsForm = new TStatsForm();
            //TODO print functionality not yet implemented, therefore invisible
            StatsForm.btnPrintKnowledge.Visible = false;
            StatsForm.btnPrintMemory.Visible = false;
            StatsForm.btnPrintOther.Visible = false;
            StatsForm.ShowDialog();
        }