Exemple #1
0
        private void Initialize()
        {
            liveResource = LiveResources.GetInstance();
            Windows.ApplicationModel.Core.CoreApplicationView mainView = Windows.ApplicationModel.Core.CoreApplication.MainView;
            Windows.UI.Core.CoreWindow cw = mainView.CoreWindow;
            UIDispatcher = cw.Dispatcher;

            AllAchievements = new ObservableCollection <Achievement>();
        }
        private void Initialize()
        {
            xboxLiveUser = new XboxLiveUser();
            Windows.ApplicationModel.Core.CoreApplicationView mainView = Windows.ApplicationModel.Core.CoreApplication.MainView;
            Windows.UI.Core.CoreWindow cw = mainView.CoreWindow;

            UIDispatcher = cw.Dispatcher;

            Refresh();
        }