Example #1
0
        /// <summary>
        /// The constructor.
        /// </summary>
        /// <param name="col">Specifies the GymCollection of gyms to display.</param>
        public FormGyms(GymCollection col = null)
        {
            if (col == null)
            {
                col = new GymCollection();
                col.Load();
            }

            m_col = col;
            InitializeComponent();
        }