private void Next_Click(object sender, RoutedEventArgs e)
        {
            string   sel      = "I";
            AddMoreQ addMoreQ = new AddMoreQ(A, b, alternateAnswers, c, sel, uName, iden);

            addMoreQ.Show();
            this.Close();
            addMoreQ = null;
        }
        private void Next_Click_1(object sender, RoutedEventArgs e)
        {
            QuestionTextBox.IsReadOnly = false;;
            string   select = "E";
            AddMoreQ Add    = new AddMoreQ(QuestionS, correctAnswers, select, uName, enu);

            Add.Show();
            this.Close();
            Add = null;
        }
 private void Next_Click(object sender, RoutedEventArgs e)
 {
     A        = aTextBox.Text;
     B        = bTextBox.Text;
     C        = cTextBox.Text;
     D        = dTextBox.Text;
     question = QuestionTextBox.Text;
     cAns     = cAnswTextBox.Text;
     if (A != "" && B != "" && C != "" && D != "" && question != "" && cAns != "")
     {
         string   select = "M";
         AddMoreQ Add    = new AddMoreQ(A, B, C, D, question, cAns, select, uName, mul);
         Add.Show();
         this.Close();
         Add = null;
     }
     else
     {
         Status.Text = "Fill in the details.";
     }
 }