private void OnDownloadBegin(object sender, DownloadBeginEventArgs e) { // Show the Downloads tray if the view that triggered the download, // is presented in this window. if (this.Views.Any(tab => tab.Browser != null && tab.Browser.Identifier == e.Info.OriginViewId)) { this.DownloadsVisible = true; } }
private void OnDownloadBegin(object sender, DownloadBeginEventArgs e) { this.DownloadsVisible = true; }
private void OnDownloadBegin(object sender, DownloadBeginEventArgs e) { DownloadsWindow.Show(dockPanel, DockState.DockBottom); }
void webBrowserEvents2_DownloadBegin() { var eventArgs = new DownloadBeginEventArgs(); eventArgs.Uri = _webBrowser2.LocationURL; DownloadBegin( this, eventArgs ); }