Ejemplo n.º 1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SmartLib;component/MVVM/Views/BookPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.pivotControl = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivotControl")));
     this.reviewsListBox = ((System.Windows.Controls.ListBox)(this.FindName("reviewsListBox")));
     this.appbar_button1 = ((WPExtensions.AdvancedApplicationBarIconButton)(this.FindName("appbar_button1")));
 }
Ejemplo n.º 2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SmartLib;component/MVVM/Views/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.selectionModeAppButton = ((WPExtensions.AdvancedApplicationBarIconButton)(this.FindName("selectionModeAppButton")));
     this.bacToNormalModeButton = ((WPExtensions.AdvancedApplicationBarIconButton)(this.FindName("bacToNormalModeButton")));
     this.logInMenuItem = ((WPExtensions.AdvancedApplicationBarMenuItem)(this.FindName("logInMenuItem")));
     this.signUpMenuItem = ((WPExtensions.AdvancedApplicationBarMenuItem)(this.FindName("signUpMenuItem")));
     this.changePasswordMenuItem = ((WPExtensions.AdvancedApplicationBarMenuItem)(this.FindName("changePasswordMenuItem")));
     this.logOutMenuItem = ((WPExtensions.AdvancedApplicationBarMenuItem)(this.FindName("logOutMenuItem")));
 }
 public static void SetIconUri(AdvancedApplicationBarIconButton element, Uri value)
 {
     element.SetValue(IconUriProperty, value);
 }
 public static Uri GetIconUri(AdvancedApplicationBarIconButton element)
 {
     return (Uri) element.GetValue(IconUriProperty);
 }
Ejemplo n.º 5
0
 public static void SetIconUri(AdvancedApplicationBarIconButton element, Uri value)
 {
     element.SetValue(IconUriProperty, value);
 }
Ejemplo n.º 6
0
 public static Uri GetIconUri(AdvancedApplicationBarIconButton element)
 {
     return((Uri)element.GetValue(IconUriProperty));
 }