private void SportsButton_Click(object sender, RoutedEventArgs e)
        {
            category = "Sports";
            Round3Form r1cs = new Round3Form(generalknowledgeround1, literatureround1, islamicstudiesround1, sportsround1, geographyround1, historyround1, entertainmentround1, generallistround2, category);

            r1cs.Show();
            this.Hide();
        }
        private void RandomButton_Click(object sender, RoutedEventArgs e)
        {
            int num = random.Next(7 + 1);

            category = String.Empty;
            if (num == 1)
            {
                category = "General Knowledge";
                Round3Form r1cs = new Round3Form(generalknowledgeround1, literatureround1, islamicstudiesround1, sportsround1, geographyround1, historyround1, entertainmentround1, generallistround2, category);
                r1cs.Show();
                this.Hide();
            }
            if (num == 2)
            {
                category = "Islamic Studies";
                Round3Form r1cs = new Round3Form(generalknowledgeround1, literatureround1, islamicstudiesround1, sportsround1, geographyround1, historyround1, entertainmentround1, generallistround2, category);
                r1cs.Show();
                this.Hide();
            }
            if (num == 3)
            {
                category = "History";
                Round3Form r1cs = new Round3Form(generalknowledgeround1, literatureround1, islamicstudiesround1, sportsround1, geographyround1, historyround1, entertainmentround1, generallistround2, category);
                r1cs.Show();
                this.Hide();
            }
            if (num == 4)
            {
                category = "Sports";
                Round3Form r1cs = new Round3Form(generalknowledgeround1, literatureround1, islamicstudiesround1, sportsround1, geographyround1, historyround1, entertainmentround1, generallistround2, category);
                r1cs.Show();
                this.Hide();
            }
            if (num == 5)
            {
                category = "Entertainment";
                Round3Form r1cs = new Round3Form(generalknowledgeround1, literatureround1, islamicstudiesround1, sportsround1, geographyround1, historyround1, entertainmentround1, generallistround2, category);
                r1cs.Show();
                this.Hide();
            }
            if (num == 6)
            {
                category = "Geography";
                Round3Form r1cs = new Round3Form(generalknowledgeround1, literatureround1, islamicstudiesround1, sportsround1, geographyround1, historyround1, entertainmentround1, generallistround2, category);
                r1cs.Show();
                this.Hide();
            }
            if (num == 7)
            {
                category = "Literature";
                Round3Form r1cs = new Round3Form(generalknowledgeround1, literatureround1, islamicstudiesround1, sportsround1, geographyround1, historyround1, entertainmentround1, generallistround2, category);
                r1cs.Show();
                this.Hide();
            }
        }