예제 #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);
		}
예제 #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);
        }
예제 #3
0
 public JBrowserFormService(WebBrowserForm form)
 {
     _form = form;
 }
예제 #4
0
		public JBrowserFormService(WebBrowserForm form)
		{
			_form = form;
		}