Beispiel #1
0
        public AddMoreQ()
        {
            InitializeComponent();
            Identification          iden = new Identification();
            Identification_Question Q    = new Identification_Question();

            iden.IdentificationAddItem(Q.QuestionS, Q.CorrectAnswer, Q.AlternateAnswers.ToArray(), Q.Hint);
            Q = null;
        }
Beispiel #2
0
        private void IdentificationB_Click(object sender, RoutedEventArgs e)
        {
            Identification          iden = new Identification();
            Identification_Question Q    = new Identification_Question(uName, iden);

            this.Close();
            Q.Show();
            Q = null;
        }
Beispiel #3
0
 private void Yes_Click(object sender, RoutedEventArgs e)
 {
     if (selected == "I")
     {
         Identification_Question Q = new Identification_Question(uName, iden);
         Q.Show();
         this.Close();
         Q = null;
     }
     else if (selected == "M")
     {
         MultipleChoice_Question Q = new MultipleChoice_Question(uName, mul);
         Q.Show();
         this.Close();
         Q = null;
     }
     else if (selected == "E")
     {
         EnumerationQuestions Q = new EnumerationQuestions(uName, enu);
         Q.Show();
         this.Close();
         Q = null;
     }
 }