//private DialogBox dialog; public GameWindow(MainWindow parent) { this.parent = parent; InitializeComponent(); this.game = new Game(); this.showQuestion(); this.labels = new Label[18] { label1, label2, label3, label4, label5, label6, label7, label8, label9, label10, label11, label12, label13, label14, label15, label16, label17, label18, }; this.labels[0].Foreground = Brushes.Turquoise; this.removeAnswerHelpsLeftLabel.Content = Game.REMOVE_INCORRECT_ANSWERS_HELPS; }
public AdminWindow(MainWindow parent) { InitializeComponent(); this.parent = parent; }