Esempio n. 1
0
        public static StatisticsForm GetInstanceOfStaticsForm()
        {
            if (s_Instance == null)
            {
                s_Instance = new StatisticsForm();
            }

            return(s_Instance);
        }
Esempio n. 2
0
        private void statisticsButton_Click(object sender, EventArgs e)
        {
            if (m_StatisticsForm == null)
            {
                m_StatisticsForm = StatisticsForm.GetInstanceOfStaticsForm();
            }

            m_StatisticsForm.BestCourseValueToImprove(CourseDiffrencesInData());
            m_StatisticsForm.ShowDialog(GetDictionaryMarkByYears(), m_CalAvg);
        }