コード例 #1
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            share = new Share(String.Format("My score in #NexmoQuiz for #WindowsPhone is {0} of {1}. Can you beat me? Download it now!",
                App.player.Correct, App.player.Questions));

            txtQuestions.Text = App.player.Questions.ToString();
            txtCorrect.Text = App.player.Correct.ToString();
            txtWrong.Text = (App.player.Questions - App.player.Correct).ToString();
        }
コード例 #2
0
ファイル: About.xaml.cs プロジェクト: icebeam7/nexmo-game
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     share = new Share(AppInfo.Motto);
 }