Esempio n. 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);
		}
Esempio n. 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);
        }
Esempio n. 3
0
 public JBrowserFormService(WebBrowserForm form)
 {
     _form = form;
 }
Esempio n. 4
0
		public JBrowserFormService(WebBrowserForm form)
		{
			_form = form;
		}