public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp1;component/Views/AvailablePlayerPivot.xaml", System.UriKind.Relative));
     this.ShowPosition = ((PhoneApp1.Model.PositionVisibility)(this.FindName("ShowPosition")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.AvailablePlayerPivotItem = ((Microsoft.Phone.Controls.Pivot)(this.FindName("AvailablePlayerPivotItem")));
 }
Esempio n. 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp1;component/Views/AvailablePlayerPivot.xaml", System.UriKind.Relative));
     this.ShowPosition             = ((PhoneApp1.Model.PositionVisibility)(this.FindName("ShowPosition")));
     this.LayoutRoot               = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.AvailablePlayerPivotItem = ((Microsoft.Phone.Controls.Pivot)(this.FindName("AvailablePlayerPivotItem")));
 }