private void button_Copy_Click(object sender, RoutedEventArgs e)
 {
     var json = new FileDeserializer();
     var quiz = new Quiz();
     quiz = json.Deserialize(Properties.Settings.Default.FilePath);
     var quizview = new QuizView(quiz);
     quizview.Width = Width;
     quizview.Height = Height;
     Close();
     quizview.Show();
 }
        private void button_Copy_Click(object sender, RoutedEventArgs e)
        {
            var json = new FileDeserializer();
            var quiz = new Quiz();

            quiz = json.Deserialize(Properties.Settings.Default.FilePath);
            var quizview = new QuizView(quiz);

            quizview.Width  = Width;
            quizview.Height = Height;
            Close();
            quizview.Show();
        }