Example #1
0
        private void EnumerationB_Click(object sender, RoutedEventArgs e)
        {
            Enumeration          enu = new Enumeration();
            EnumerationQuestions E   = new EnumerationQuestions(uName, enu);

            this.Close();
            E.Show();
            E = null;
        }
Example #2
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;
     }
 }