public static void Question14(string level, RulesElementary rules) { if (level == "Elementary") { Rule rule = new Rule("Elementary", 14); rule.Show(); rules.Close(); } if (level == "Pre-Intermediate") { Rule rule = new Rule("Pre-Intermediate", 14); rule.Show(); rules.Close(); } if (level == "Intermediate") { Rule rule = new Rule("Intermediate", 14); rule.Show(); rules.Close(); } if (level == "Upper-Intermediate") { Rule rule = new Rule("Upper-Intermediate", 14); rule.Show(); rules.Close(); } }
public static void OpenMainWindow(RulesElementary rules) { MainRules main = new MainRules(); main.Show(); rules.Close(); }