internal void Exit() { if (ActivePage != null) { ActivePage.Hide(); } }
public bool SetActive(Page pg) { if (pg != null && pg.Container == this) { if (ActivePage != null) { ActivePage.Hide(); } ActivePage = pg; ActivePage.Show(); return(true); } return(false); }