void Browser_LoginRequest(object sender, LoginRequestEventArgs e) { e.Username = app.GUIUsername; e.Password = app.GUIPassword; e.Handled = EventHandling.Modal; e.Cancel = false; }
private void WebControl1_LoginRequest(object sender, LoginRequestEventArgs e) { e.Username = Username; e.Password = Password; e.Handled = EventHandling.Modal; e.Cancel = false; }
private void OnLoginRequest(object sender, LoginRequestEventArgs e) { if (!CheckWebView()) { return; } // Ask user for credentials or provide them yourself. // Do not forget to set Cancel to false. e.Cancel = true; // Prevent further processing by the WebView. e.Handled = true; }
private void OnLoginRequest( object sender, LoginRequestEventArgs e ) { if ( !CheckWebView() ) return; // Ask user for credentials or provide them yourself. // Do not forget to set Cancel to false. e.Cancel = true; // Prevent further processing by the WebView. e.Handled = true; }