Пример #1
0
		public RecordsPage()
		{
			this.DataContext = App.Context.History;
			this.ReadRecords();
			this.navigationHelper = new NavigationHelper(this);
			InitializeComponent();			
		}
Пример #2
0
 public GamePage()
 {
     this.navigationHelper = new NavigationHelper(this);
     this.InitializeComponent();
     this.SizingHelper = (SizingHelper)this.Resources["SizingHelper"];
     this.SizingHelper.SetSource(this);
 }
Пример #3
0
 public GameLobbyPage()
 {
     this.navigationHelper = new NavigationHelper(this);
     InitializeComponent();
     this.DataContext = this.Model;
     this.Model.ServerGameStarted += Model_ServerGameStarted;
 }
 public CardSetChooserGroupDetailPage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.DataContext = App.Context.CardSetsModel;
 }
Пример #5
0
 public SettingsPage()
 {
     this.InitializeComponent();
     if (Cpu.IsARM())
     {
         this.X86Difficulty.Visibility = Visibility.Collapsed;
     }
     else
     {
         this.ARMDifficulty.Visibility = Visibility.Collapsed;
     }
     this.navigationHelper = new NavigationHelper(this);
     this.DataContext = App.Context.Difficulty;
     this.GameSetsList.DataContext = App.Context.SupportedSets;
     this.ServerAddressTextBox.DataContext = App.Context.ServerModel;
     this.EnableMultiplayerCheckBox.DataContext = App.Context.ServerModel;
     this.UserNameTextBox.DataContext = App.Context.ServerModel;
     this.SettingsPanel.DataContext = App.Context.Settings;
     this.ProhibitedCardsTextBox.DataContext = App.Context.ProhibitedCards;
 }
Пример #6
0
 public MainPage()
 {
     this.navigationHelper = new NavigationHelper(this);
     this.InitializeComponent();
 }
 public CardSetChooserItemDetailPage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
 }
Пример #8
0
 public GameRecordViewerPage()
 {
     this.navigationHelper = new NavigationHelper(this);
     this.InitializeComponent();
 }
Пример #9
0
 public About()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
 }
Пример #10
0
 public CardSetChooserPage()
 {
     this.InitializeComponent();
     this.DataContext = App.Context.CardSetsModel;
     this.navigationHelper = new NavigationHelper(this);
 }