/// <summary> /// push the given screen into the screen stack /// </summary> public void pushScreenOnStack(TopLevelPage nextScreen, String[] buttons, Color colour, UserControl content, String Subtitle) { nextScreen.setButtons(buttons); nextScreen.setTitleColour(colour); nextScreen.setContent(content); nextScreen.setSubtitle(Subtitle); popAll(); pushScreen(nextScreen); try { (content as Animatiable).AnimateIn(); } catch (NullReferenceException) { //Do nothing with this } }