public MainWindow() { InitializeComponent(); this.Title = "Tic Tac Toe Ultimate Edition"; this.ResizeMode = ResizeMode.NoResize; this.WindowStyle = WindowStyle.None; this.WindowStartupLocation = WindowStartupLocation.CenterScreen; GameFlow gf = new GameFlow(this); }
public GameSettings(GameFlow gf) { this.InitializeComponent(); this.gf = gf; initializeMusic(); SdrMusic.Value = gf.Media.Volume; Debug.WriteLine("***GameFlow p1 fisrt: " + GameFlow.P1First); if (GameFlow.P1First) rdPlayerSettings.IsChecked = GameFlow.P1First; else rdPlayer2Settings.IsChecked = !GameFlow.P1First; rdPlayerSettings.Checked += rdPlayerSettings_Checked; rdPlayer2Settings.Checked += rdPlayerSettings_Checked; cmbMusic.SelectionChanged += cmbMusic_SelectionChanged; }
public GameTutorial(GameFlow gf) { InitializeComponent(); this.gf = gf; }