Provides data for the WebKitBrowser.ShowJavaScriptPromptPanel event.
Inheritance: System.EventArgs
Exemplo n.º 1
0
        private string uiDelegate_RunJavaScriptTextInputPanelWithPrompt(WebView sender, string message, string defaultText)
        {
            var args = new ShowJavaScriptPromptPanelEventArgs(message, defaultText);

            ShowJavaScriptPromptPanel(this, args);
            return(args.ReturnValue);
        }
Exemplo n.º 2
0
 private void webKitBrowser1_ShowJavaScriptPromptPanel(object sender, WebKit.ShowJavaScriptPromptPanelEventArgs e)
 {
     e.ReturnValue = Microsoft.VisualBasic.Interaction.InputBox(e.Message, "", e.DefaultValue);
 }
Exemplo n.º 3
0
 string uiDelegate_RunJavaScriptTextInputPanelWithPrompt(WebView sender, string message, string defaultText)
 {
     ShowJavaScriptPromptPanelEventArgs args = new ShowJavaScriptPromptPanelEventArgs(message, defaultText);
     ShowJavaScriptPromptPanel(this, args);
     return args.ReturnValue;
 }