private void Start_Click(object sender, RoutedEventArgs e) { Quiz quiz = new Quiz(); quiz.Show(); this.Visibility = Visibility.Hidden; this.Close(); Flash flash = new Flash(); //flash.load_quiz(); Bridges bridges = new Bridges(); bridges.Load_Bridges(); bridges.Questions(0); bridges.Load(0); Answers answers = new Answers(); //quiz.Question.Text = flash.quiz1[3].name; //Questions questions1 = new Questions(); //questions1.Load_Questions(0); quiz.Question.Text = Convert.ToString(bridges.questions[0]); //quiz.Answer.Content = Convert.ToString(answers.answers1[0].isAnwser); }
private void Button_Click(object sender, RoutedEventArgs e) //Categories { Quiz quiz = new Quiz(); quiz.Show(); this.Visibility = Visibility.Hidden; this.Close(); Flash flash = new Flash(); //flash.load_quiz(); Bridges bridges = new Bridges(); bridges.Load_Bridges(); bridges.Questions(0); bridges.Load(0); }