Пример #1
0
        // **************************** Begin Setting the Game Board **************************** //

        /// <summary>
        /// initialize form, creates random object, sets the game board
        /// </summary>
        /// <param name="formGameSelect"></param>
        public frmMemoryGame(frmGameSelect formGameSelect)
        {
            InitializeComponent();
            random = new Random();
            this.formGameSelect = formGameSelect;
            SetBoard();
        }
Пример #2
0
 /// <summary>
 /// Initialize form, and sets instance(?) of main form
 /// </summary>
 /// <param name="formGameSelect">The name of the main form (Form)</param>
 public frmCustomSelection(frmGameSelect formGameSelect)
 {
     InitializeComponent();
     this.formGameSelect = formGameSelect;
 }