Esempio n. 1
0
 // Sample code for building a localized ApplicationBar
 private void BuildLocalizedApplicationBar()
 {
     // Set the page's ApplicationBar to a new instance of ApplicationBar.
     ApplicationBar = new ApplicationBar();
     ApplicationBar.Buttons.Add(S1NyanThreadAppBarButton);
     ApplicationBar.Buttons.Add(SettingView.GetSettingAppBarButton());
     ApplicationBar.Buttons.Add(SettingView.GetAboutAppBarButton());
     ApplicationBar.IsVisible = false;
 }
Esempio n. 2
0
 public void ViewLoaded(object vm)
 {
     Popup.Visibility         = Visibility.Collapsed;
     ApplicationBar.IsVisible = true;
     SettingView.UpdateModelName();
 }