private void pushNews(object sender, EventArgs e) { // create a new subscreen and push it into the stack of subscreens TopLevelPage nextScreen = new TopLevelPage(ParentWindow, "News"); ParentWindow.pushScreenOnStack(nextScreen, Util.getLinks("News"), news.colour, new ScrollableView("News"), ""); nextScreen.AnimateIn(); dt.Stop(); }
/// <summary> /// Helper method to help animate the twitterBox screen /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void pushTwitterList(object sender, EventArgs e) { // create a new subscreen and push it into the stack of subscreens TopLevelPage nextScreen = new TopLevelPage(ParentWindow, "Twitter"); ParentWindow.pushScreenOnStack(nextScreen, Util.getLinks("Twitter"), Util._pageColDict["Extra"], new TwitterList(nextScreen), "Our Tweets"); nextScreen.AnimateIn(); dt.Stop(); }
private void pushHCIH(object sender, EventArgs e) { // create a new subscreen and push it into the stack of subscreens TopLevelPage nextScreen = new TopLevelPage(ParentWindow, "How Can I Help?"); ParentWindow.pushScreenOnStack(nextScreen, Util.getLinks("How Can I Help?"), howCanIHelp.colour, new hcihHomeControl(nextScreen), ""); nextScreen.AnimateIn(); dt.Stop(); }
private void pushFS(object sender, EventArgs e) { // create a new subscreen and push it into the stack of subscreens TopLevelPage nextScreen = new TopLevelPage(ParentWindow, "Family Support"); ParentWindow.pushScreenOnStack(nextScreen, Util.getLinks("Family Support"), familySupport.colour, new fsHomeControl(), ""); nextScreen.AnimateIn(); dt.Stop(); }
private void pushCU(object sender, EventArgs e) { // create a new subscreen and push it into the stack of subscreens TopLevelPage nextScreen = new TopLevelPage(ParentWindow, "Contact Us"); ParentWindow.pushScreenOnStack(nextScreen, Util.getLinks("Contact Us"), contactUs.colour, new ContactUs(), ""); nextScreen.AnimateIn(); dt.Stop(); }
private void pushBeads(object sender, EventArgs e) { // create a new subscreen and push it into the stack of subscreens TopLevelPage nextScreen = new TopLevelPage(ParentWindow, "Beads of Courage"); ParentWindow.pushScreenOnStack(nextScreen, Util.getLinks("Beads of Courage"), playBeads.colour, new BeadsOfCourage(), ""); nextScreen.AnimateIn(); dt.Stop(); }
private void pushAbout(object sender, EventArgs e) { TopLevelPage nextScreen = new TopLevelPage(ParentWindow, "About"); String path = Path.Combine(Path.GetFullPath("."), "Resources/xml/About.xml"); ParentWindow.pushScreenOnStack(nextScreen, Util.getLinks("About"), about.colour, new GridView(XMLUtilities.GetContentFromFile(path)), ""); nextScreen.AnimateIn(); dt.Stop(); }