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

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