Ejemplo n.º 1
0
        public static void OpenUpperIntermediate(MainRules main)
        {
            RulesElementary rule = new RulesElementary("Upper-IntermediateRule");

            rule.Show();
            main.Close();
        }
Ejemplo n.º 2
0
        public static void OpenPreIntermediate(MainRules main)
        {
            RulesElementary rule = new RulesElementary("Pre-Intermediate");

            rule.Show();
            main.Close();
        }
Ejemplo n.º 3
0
        public static void OpenElementary(MainRules main)
        {
            RulesElementary rule = new RulesElementary("Elementary");

            rule.Show();
            main.Close();
        }
Ejemplo n.º 4
0
        public static void OpenRuleElementary(string level, Rule rule)
        {
            RulesElementary main = new RulesElementary(level);

            main.Show();
            rule.Close();
        }
Ejemplo n.º 5
0
        public static void OpenMainWindow(RulesElementary rules)
        {
            MainRules main = new MainRules();

            main.Show();
            rules.Close();
        }
Ejemplo n.º 6
0
 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();
     }
 }