private void MChoiceB_Click(object sender, RoutedEventArgs e) { MultipleChoice mul = new MultipleChoice(); MultipleChoice_Question M = new MultipleChoice_Question(uName, mul); this.Close(); M.Show(); M = null; }
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; } }