/// <summary> /// Initializes the phone application page for CnetNEWS_Detail and all its components. /// </summary> public CnetNEWS_Detail() { InitializeComponent(); if (Resources.Contains("PanoramaCnetNEWS_Detail0AppBar")) { PhonePage.SetApplicationBar(this, Resources["PanoramaCnetNEWS_Detail0AppBar"] as BindableApplicationBar); } }
/// <summary> /// Initializes the phone application page for info_Info and all its components. /// </summary> public info_Info() { InitializeComponent(); if (Resources.Contains("Panoramainfo_Info0AppBar")) { PhonePage.SetApplicationBar(this, Resources["Panoramainfo_Info0AppBar"] as BindableApplicationBar); } }
/// <summary> /// Initializes the phone application page for Connection_List and all its components. /// </summary> public Connection_List() { InitializeComponent(); if (Resources.Contains("PanoramaConnection_List0AppBar")) { PhonePage.SetApplicationBar(this, Resources["PanoramaConnection_List0AppBar"] as BindableApplicationBar); } }
/// <summary> /// Initializes the phone application page for NDTVGadgets_News and all its components. /// </summary> public NDTVGadgets_News() { InitializeComponent(); if (Resources.Contains("PanoramaNDTVGadgets_News0AppBar")) { PhonePage.SetApplicationBar(this, Resources["PanoramaNDTVGadgets_News0AppBar"] as BindableApplicationBar); } }
/// <summary> /// Initializes the phone application page for Videos_DetailVideos and all its components. /// </summary> public Videos_DetailVideos() { InitializeComponent(); if (Resources.Contains("PanoramaVideos_DetailVideos0AppBar")) { PhonePage.SetApplicationBar(this, Resources["PanoramaVideos_DetailVideos0AppBar"] as BindableApplicationBar); } }
private void InitializeAppBarpanoramaCnetNEWS_Detail(PanoramaItem panoramaItem) { if (Resources.Contains(panoramaItem.Name + "AppBar")) { PhonePage.SetApplicationBar(this, Resources[panoramaItem.Name + "AppBar"] as BindableApplicationBar); ApplicationBar.IsVisible = true; } else if (ApplicationBar != null) { ApplicationBar.IsVisible = false; } }