Пример #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp1;component/Views/RosterPivot.xaml", System.UriKind.Relative));
     this.ShowOffense = ((PhoneApp1.Model.OffenseVisibility)(this.FindName("ShowOffense")));
     this.DisableBenchColor = ((PhoneApp1.Model.BenchColor)(this.FindName("DisableBenchColor")));
     this.ConvertedStat = ((PhoneApp1.Model.StatConverter)(this.FindName("ConvertedStat")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.RosterSelectListBox = ((System.Windows.Controls.ListBox)(this.FindName("RosterSelectListBox")));
     this.RushingContentPanel = ((System.Windows.Controls.Grid)(this.FindName("RushingContentPanel")));
     this.OffenseRosterSelectListBox = ((System.Windows.Controls.ListBox)(this.FindName("OffenseRosterSelectListBox")));
 }
Пример #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp1;component/Views/RosterPivot.xaml", System.UriKind.Relative));
     this.ShowOffense                = ((PhoneApp1.Model.OffenseVisibility)(this.FindName("ShowOffense")));
     this.DisableBenchColor          = ((PhoneApp1.Model.BenchColor)(this.FindName("DisableBenchColor")));
     this.ConvertedStat              = ((PhoneApp1.Model.StatConverter)(this.FindName("ConvertedStat")));
     this.LayoutRoot                 = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel               = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.RosterSelectListBox        = ((System.Windows.Controls.ListBox)(this.FindName("RosterSelectListBox")));
     this.RushingContentPanel        = ((System.Windows.Controls.Grid)(this.FindName("RushingContentPanel")));
     this.OffenseRosterSelectListBox = ((System.Windows.Controls.ListBox)(this.FindName("OffenseRosterSelectListBox")));
 }