コード例 #1
0
 void Browser_LoginRequest(object sender, LoginRequestEventArgs e)
 {
     e.Username = app.GUIUsername;
     e.Password = app.GUIPassword;
     e.Handled  = EventHandling.Modal;
     e.Cancel   = false;
 }
コード例 #2
0
ファイル: WinMessage.cs プロジェクト: timunrue/WinMessage
 private void WebControl1_LoginRequest(object sender, LoginRequestEventArgs e)
 {
     e.Username = Username;
     e.Password = Password;
     e.Handled  = EventHandling.Modal;
     e.Cancel   = false;
 }
コード例 #3
0
    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;
    }
コード例 #4
0
    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;
    }