Exemplo n.º 1
0
        public void RaiseNavigateComplete(String url)
        {
            BrowserNavigateEventArgs e = new BrowserNavigateEventArgs(url, false);

            if (NavigateComplete != null)
            {
                NavigateComplete(this, e);
            }
        }
Exemplo n.º 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;
        }
Exemplo n.º 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;
            }
            //Test
            ApplyCascadingStyleSheet();
        }
Exemplo n.º 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;
            }
            //Test
            ApplyCascadingStyleSheet();
        }
Exemplo n.º 5
0
 public void RaiseNavigateComplete(String url)
 {
     BrowserNavigateEventArgs e = new BrowserNavigateEventArgs(url, false);
     if (NavigateComplete != null) NavigateComplete(this, e);
 }
Exemplo n.º 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;
 }