Example #1
0
		public void OpenUrl([NotNull] string url)
		{
			if (url == null)
				throw new ArgumentNullException(nameof(url));

			if (_webBrowserForm == null || _webBrowserForm.IsDisposed)
				_webBrowserForm = new WebBrowserForm(_serviceProvider);

			_webBrowserForm.EnsureVisible();
			_webBrowserForm.NavigateTo(url);
		}
Example #2
0
        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);
        }
Example #3
0
 public JBrowserFormService(WebBrowserForm form)
 {
     _form = form;
 }
Example #4
0
		public JBrowserFormService(WebBrowserForm form)
		{
			_form = form;
		}