Example #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SmartLib;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.selectionModeAppButton = ((Sh.AdvancedApplicationBarIconButton)(this.FindName("selectionModeAppButton")));
     this.bacToNormalModeButton = ((Sh.AdvancedApplicationBarIconButton)(this.FindName("bacToNormalModeButton")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SmartLib;component/BookDetailsPivot.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 = ((Sh.AdvancedApplicationBarIconButton)(this.FindName("appbar_button1")));
 }