Пример #1
0
        private void OnDialog(PageJavascriptDialogOpeningResponse message)
        {
            var dialog = new Dialog(_client, message.Type, message.Message, message.DefaultPrompt);

            Dialog?.Invoke(this, new DialogEventArgs(dialog));
        }
Пример #2
0
 public DialogEventArgs(Dialog dialog) => Dialog = dialog;