コード例 #1
0
        protected override void OpenStartPage()
        {
            IdlePageViewModel vm = new IdlePageViewModel(NavService);

            NavService.ShowPage(PageType.IDLE_PAGE, false, vm);
            vm.Initialize();
        }
コード例 #2
0
        protected override void HandleSettingsSavedMessage(SettingsSavedMessage msg)
        {
            base.HandleSettingsSavedMessage(msg);

            if (msg.IsFirstLaunch)
            {
                var vm = new IdlePageViewModel(NavService);
                NavService.ShowPage(PageType.IDLE_PAGE, false, vm);
                vm.Initialize();
            }
        }