コード例 #1
0
        private void btnStatistics_Click(object sender, EventArgs e)
        {
            //StatisticsForm myStats = new StatisticsForm();
            if (timeStampCounter == 20 && map.Statistics.Count() >= 1)
            {
                btnStatistics.Enabled = true;
            }

            try { myStats.Show(); }
            catch { myStats.Close(); }

            if (openOnce == true)
            {
                myStats = new StatisticsForm(map.Shops, map.Warehouses, this, map);
            }
        }