Beispiel #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightPivotViewer;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.PivotViewer = ((System.Windows.Pivot.PivotViewer)(this.FindName("PivotViewer")));
 }
Beispiel #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/BL!PPivotPiewer;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MainPivotViewer = ((System.Windows.Pivot.PivotViewer)(this.FindName("MainPivotViewer")));
     this.TitleBar        = ((System.Windows.Controls.Grid)(this.FindName("TitleBar")));
 }