Exemplo n.º 1
0
        public void Show(string message)
        {
            IsActive = true;
            _programmaticallyDismissed = false;

            //show input prompt from the coding4fun toolkit
            _prompt = new CancelOnlyMessagePrompt();
            _prompt.Message = message;
            _prompt.Title = string.Empty;
            _prompt.Completed += MessagePrompt_Completed;
            _prompt.Show();
        }
Exemplo n.º 2
0
 void MessagePrompt_Completed(object sender, PopUpEventArgs<string, PopUpResult> popUpEventArgs)
 {
     _prompt = null;
     IsActive = false;
     RaisePromptClosedEvent(popUpEventArgs);
 }