// **************************** 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(); }
/// <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; }