public void OpenUrl([NotNull] string url) { if (url == null) { throw new ArgumentNullException("url"); } if (_webBrowserForm == null || _webBrowserForm.IsDisposed) { _webBrowserForm = new WebBrowserForm(_serviceProvider); } _webBrowserForm.EnsureVisible(); _webBrowserForm.NavigateTo(url); }
public void NavigateTo(string url) { _form.NavigateTo(url); }