/// <summary> /// Button "Ok" Click. Start game. /// </summary> /// <param name="isManToe"> Is Man play "O". </param> private void OnButtonOkClick(bool isManToe) { if (isManToe) computer = new ComputerGo(false); else computer = new ComputerGo(true); this.LayoutRoot.Children.Clear(); InitializeButtons(); }
/// <summary> /// Button "Ok" Click. Start game. /// </summary> /// <param name="isManToe"> Is Man play "O". </param> private void OnButtonOkClick(bool isManToe) { if (isManToe) { computer = new ComputerGo(false); } else { computer = new ComputerGo(true); } this.LayoutRoot.Children.Clear(); InitializeButtons(); }