Пример #1
0
        public void RaiseNavigateComplete(String url)
        {
            BrowserNavigateEventArgs e = new BrowserNavigateEventArgs(url, false);

            if (NavigateComplete != null)
            {
                NavigateComplete(this, e);
            }
        }
Пример #2
0
        public void RaiseBeforeNavigate(String url, int flags, String
                                        targetFrameName, ref Object postData, String headers, ref Boolean cancel)
        {
            BrowserNavigateEventArgs e = new BrowserNavigateEventArgs(url, false);

            if (BeforeNavigate != null)
            {
                BeforeNavigate(this, e);
            }
            cancel = e.Cancel;
        }
Пример #3
0
        void Me_NavigateComplete(Object s, BrowserNavigateEventArgs e)
        {
            if (activate)
            {
                DoVerb(-4);
            }

            if (html != String.Empty)
            {
                File.Delete(url);
                this.html = String.Empty;
            }

            if (body != String.Empty)
            {
                SetBodyText(body);
                this.body = String.Empty;
            }
        }
Пример #4
0
        void Me_NavigateComplete(Object s, BrowserNavigateEventArgs e)
        {
            if (activate) DoVerb(-4);

            if (html != String.Empty)
            {
                File.Delete(url);
                this.html = String.Empty;
            }

            if (body != String.Empty)
            {
                SetBodyText(body);
                this.body = String.Empty;
            }
        }
Пример #5
0
 public void RaiseNavigateComplete(String url)
 {
     BrowserNavigateEventArgs e = new BrowserNavigateEventArgs(url, false);
     if (NavigateComplete != null) NavigateComplete(this, e);
 }
Пример #6
0
        public void RaiseBeforeNavigate(String url, int flags, String
			targetFrameName, ref Object postData, String headers, ref Boolean cancel)
        {
            BrowserNavigateEventArgs e = new BrowserNavigateEventArgs(url, false);
            if (BeforeNavigate != null) BeforeNavigate(this, e);
            cancel = e.Cancel;
        }