c# - Replace PromptDialog with messages upon selection -


i've trying replace promptdialog accepted option along message once user selects. unfortunately i've been unable find solution it. because after user selects option, dialog can clicked again i'm trying avoid.

q. possible ? if can please help.

code

promptdialog.confirm(context, this.resumeafternone, message);   private async task resumeafternone(idialogcontext context, iawaitable<bool> result)  {      bool issure = await result;      string response = issure ? "awesome" : "sorry";      imessageactivity messageactivity = context.makemessage();      messageactivity.text = response;       await context.postasync(messageactivity);      context.done<object>(null);  } 


Comments

Popular posts from this blog

The SDK directory does not exist (ubuntu 16.04) (react native) -

python - How to clone or copy a list? -

python - How to use Celery in Tornado with redis as broker and backend? -