Beispiel #1
0
 public void SectionExit(PracticeGeneralWebForm form)
 {
     if (navigator.HasNextSet)
     {
         GetNextSet();
         form.Response.Redirect("descriptionWebForm.aspx");
     }
     else
     {
         endPractice(form);
     }
 }
Beispiel #2
0
        public void showHelp(PracticeGeneralWebForm form)
        {
            string path = mapPath + @"\help_templates.html";
            string help = (new StreamReader(path)).ReadToEnd();

            help = help.Replace("%url%", "\"http://GMATClubChallenge.com/practicewebform.aspx\"");
            StreamWriter sr = File.CreateText(mapPath + @"\help.html");

            sr.Write(help);
            sr.Close();
            form.Response.Redirect("help.html");
        }
Beispiel #3
0
 private void endPractice(PracticeGeneralWebForm form)
 {
     end(form);
 }