uwp c# 覚え書き ContentDialog

2018/04/18

 var msg = new ContentDialog();
            msg.Content = "処理を継続します";
            msg.Title = "継続確認";
            msg.PrimaryButtonText = "継続";
            msg.SecondaryButtonText = "中止";
            var res = await msg.ShowAsync();
            if (res == ContentDialogResult.Primary)
            {
                //継続処理
            }

コメント

このブログの人気の投稿

uwp 進むボタン 戻るボタン