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

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -

angular - DownloadURL return null in below code -