public void SectionExit(PracticeGeneralWebForm form) { if (navigator.HasNextSet) { GetNextSet(); form.Response.Redirect("descriptionWebForm.aspx"); } else { endPractice(form); } }
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"); }
private void endPractice(PracticeGeneralWebForm form) { end(form); }