AxSHDocVw.cs
上传用户:lxycoco
上传日期:2022-07-21
资源大小:38457k
文件大小:64k
源码类别:

C#编程

开发平台:

Others

  1. //------------------------------------------------------------------------------
  2. // <autogenerated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version: 1.1.4322.535
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if 
  7. //     the code is regenerated.
  8. // </autogenerated>
  9. //------------------------------------------------------------------------------
  10. [assembly: System.Reflection.AssemblyVersion("1.1.0.0")]
  11. [assembly: System.Windows.Forms.AxHost.TypeLibraryTimeStamp("5/23/2003 1:15:14 PM")]
  12. namespace AxSHDocVw {
  13.     
  14.     
  15.     [System.Windows.Forms.AxHost.ClsidAttribute("{8856f961-340a-11d0-a96b-00c04fd705a2}")]
  16.     [System.ComponentModel.DesignTimeVisibleAttribute(true)]
  17.     [System.ComponentModel.DefaultProperty("Name")]
  18.     public class AxWebBrowser : System.Windows.Forms.AxHost {
  19.         
  20.         private SHDocVw.IWebBrowser2 ocx;
  21.         
  22.         private AxWebBrowserEventMulticaster eventMulticaster;
  23.         
  24.         private System.Windows.Forms.AxHost.ConnectionPointCookie cookie;
  25.         
  26.         public AxWebBrowser() : 
  27.                 base("8856f961-340a-11d0-a96b-00c04fd705a2") {
  28.         }
  29.         
  30.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  31.         [System.Runtime.InteropServices.DispIdAttribute(200)]
  32.         public virtual object Application {
  33.             get {
  34.                 if ((this.ocx == null)) {
  35.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Application", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  36.                 }
  37.                 return this.ocx.Application;
  38.             }
  39.         }
  40.         
  41.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  42.         [System.Runtime.InteropServices.DispIdAttribute(201)]
  43.         public virtual object CtlParent {
  44.             get {
  45.                 if ((this.ocx == null)) {
  46.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlParent", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  47.                 }
  48.                 return this.ocx.Parent;
  49.             }
  50.         }
  51.         
  52.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  53.         [System.Runtime.InteropServices.DispIdAttribute(202)]
  54.         public virtual object CtlContainer {
  55.             get {
  56.                 if ((this.ocx == null)) {
  57.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlContainer", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  58.                 }
  59.                 return this.ocx.Container;
  60.             }
  61.         }
  62.         
  63.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  64.         [System.Runtime.InteropServices.DispIdAttribute(203)]
  65.         public virtual object Document {
  66.             get {
  67.                 if ((this.ocx == null)) {
  68.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Document", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  69.                 }
  70.                 return this.ocx.Document;
  71.             }
  72.         }
  73.         
  74.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  75.         [System.Runtime.InteropServices.DispIdAttribute(204)]
  76.         public virtual bool TopLevelContainer {
  77.             get {
  78.                 if ((this.ocx == null)) {
  79.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("TopLevelContainer", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  80.                 }
  81.                 return this.ocx.TopLevelContainer;
  82.             }
  83.         }
  84.         
  85.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  86.         [System.Runtime.InteropServices.DispIdAttribute(205)]
  87.         public virtual string Type {
  88.             get {
  89.                 if ((this.ocx == null)) {
  90.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Type", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  91.                 }
  92.                 return this.ocx.Type;
  93.             }
  94.         }
  95.         
  96.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  97.         [System.Runtime.InteropServices.DispIdAttribute(206)]
  98.         public virtual int CtlLeft {
  99.             get {
  100.                 if ((this.ocx == null)) {
  101.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlLeft", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  102.                 }
  103.                 return this.ocx.Left;
  104.             }
  105.             set {
  106.                 if ((this.ocx == null)) {
  107.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlLeft", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  108.                 }
  109.                 this.ocx.Left = value;
  110.             }
  111.         }
  112.         
  113.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  114.         [System.Runtime.InteropServices.DispIdAttribute(207)]
  115.         public virtual int CtlTop {
  116.             get {
  117.                 if ((this.ocx == null)) {
  118.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlTop", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  119.                 }
  120.                 return this.ocx.Top;
  121.             }
  122.             set {
  123.                 if ((this.ocx == null)) {
  124.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlTop", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  125.                 }
  126.                 this.ocx.Top = value;
  127.             }
  128.         }
  129.         
  130.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  131.         [System.Runtime.InteropServices.DispIdAttribute(208)]
  132.         public virtual int CtlWidth {
  133.             get {
  134.                 if ((this.ocx == null)) {
  135.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlWidth", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  136.                 }
  137.                 return this.ocx.Width;
  138.             }
  139.             set {
  140.                 if ((this.ocx == null)) {
  141.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlWidth", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  142.                 }
  143.                 this.ocx.Width = value;
  144.             }
  145.         }
  146.         
  147.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  148.         [System.Runtime.InteropServices.DispIdAttribute(209)]
  149.         public virtual int CtlHeight {
  150.             get {
  151.                 if ((this.ocx == null)) {
  152.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlHeight", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  153.                 }
  154.                 return this.ocx.Height;
  155.             }
  156.             set {
  157.                 if ((this.ocx == null)) {
  158.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlHeight", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  159.                 }
  160.                 this.ocx.Height = value;
  161.             }
  162.         }
  163.         
  164.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  165.         [System.Runtime.InteropServices.DispIdAttribute(210)]
  166.         public virtual string LocationName {
  167.             get {
  168.                 if ((this.ocx == null)) {
  169.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LocationName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  170.                 }
  171.                 return this.ocx.LocationName;
  172.             }
  173.         }
  174.         
  175.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  176.         [System.Runtime.InteropServices.DispIdAttribute(211)]
  177.         public virtual string LocationURL {
  178.             get {
  179.                 if ((this.ocx == null)) {
  180.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("LocationURL", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  181.                 }
  182.                 return this.ocx.LocationURL;
  183.             }
  184.         }
  185.         
  186.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  187.         [System.Runtime.InteropServices.DispIdAttribute(212)]
  188.         public virtual bool Busy {
  189.             get {
  190.                 if ((this.ocx == null)) {
  191.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Busy", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  192.                 }
  193.                 return this.ocx.Busy;
  194.             }
  195.         }
  196.         
  197.         [System.ComponentModel.Browsable(true)]
  198.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  199.         [System.Runtime.InteropServices.DispIdAttribute(0)]
  200.         public new virtual string Name {
  201.             get {
  202.                 if ((this.ocx == null)) {
  203.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Name", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  204.                 }
  205.                 return this.ocx.Name;
  206.             }
  207.         }
  208.         
  209.         [System.ComponentModel.Browsable(false)]
  210.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  211.         [System.Runtime.InteropServices.DispIdAttribute(-515)]
  212.         [System.Runtime.InteropServices.ComAliasNameAttribute("System.Int32")]
  213.         public virtual int HWND {
  214.             get {
  215.                 if ((this.ocx == null)) {
  216.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("HWND", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  217.                 }
  218.                 return (this.ocx.HWND);
  219.             }
  220.         }
  221.         
  222.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  223.         [System.Runtime.InteropServices.DispIdAttribute(400)]
  224.         public virtual string FullName {
  225.             get {
  226.                 if ((this.ocx == null)) {
  227.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FullName", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  228.                 }
  229.                 return this.ocx.FullName;
  230.             }
  231.         }
  232.         
  233.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  234.         [System.Runtime.InteropServices.DispIdAttribute(401)]
  235.         public virtual string Path {
  236.             get {
  237.                 if ((this.ocx == null)) {
  238.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Path", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  239.                 }
  240.                 return this.ocx.Path;
  241.             }
  242.         }
  243.         
  244.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  245.         [System.Runtime.InteropServices.DispIdAttribute(402)]
  246.         public virtual bool CtlVisible {
  247.             get {
  248.                 if ((this.ocx == null)) {
  249.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlVisible", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  250.                 }
  251.                 return this.ocx.Visible;
  252.             }
  253.             set {
  254.                 if ((this.ocx == null)) {
  255.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlVisible", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  256.                 }
  257.                 this.ocx.Visible = value;
  258.             }
  259.         }
  260.         
  261.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  262.         [System.Runtime.InteropServices.DispIdAttribute(403)]
  263.         public virtual bool StatusBar {
  264.             get {
  265.                 if ((this.ocx == null)) {
  266.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("StatusBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  267.                 }
  268.                 return this.ocx.StatusBar;
  269.             }
  270.             set {
  271.                 if ((this.ocx == null)) {
  272.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("StatusBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  273.                 }
  274.                 this.ocx.StatusBar = value;
  275.             }
  276.         }
  277.         
  278.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  279.         [System.Runtime.InteropServices.DispIdAttribute(404)]
  280.         public virtual string StatusText {
  281.             get {
  282.                 if ((this.ocx == null)) {
  283.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("StatusText", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  284.                 }
  285.                 return this.ocx.StatusText;
  286.             }
  287.             set {
  288.                 if ((this.ocx == null)) {
  289.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("StatusText", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  290.                 }
  291.                 this.ocx.StatusText = value;
  292.             }
  293.         }
  294.         
  295.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  296.         [System.Runtime.InteropServices.DispIdAttribute(405)]
  297.         public virtual int ToolBar {
  298.             get {
  299.                 if ((this.ocx == null)) {
  300.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ToolBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  301.                 }
  302.                 return this.ocx.ToolBar;
  303.             }
  304.             set {
  305.                 if ((this.ocx == null)) {
  306.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ToolBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  307.                 }
  308.                 this.ocx.ToolBar = value;
  309.             }
  310.         }
  311.         
  312.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  313.         [System.Runtime.InteropServices.DispIdAttribute(406)]
  314.         public virtual bool MenuBar {
  315.             get {
  316.                 if ((this.ocx == null)) {
  317.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("MenuBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  318.                 }
  319.                 return this.ocx.MenuBar;
  320.             }
  321.             set {
  322.                 if ((this.ocx == null)) {
  323.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("MenuBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  324.                 }
  325.                 this.ocx.MenuBar = value;
  326.             }
  327.         }
  328.         
  329.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  330.         [System.Runtime.InteropServices.DispIdAttribute(407)]
  331.         public virtual bool FullScreen {
  332.             get {
  333.                 if ((this.ocx == null)) {
  334.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FullScreen", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  335.                 }
  336.                 return this.ocx.FullScreen;
  337.             }
  338.             set {
  339.                 if ((this.ocx == null)) {
  340.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("FullScreen", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  341.                 }
  342.                 this.ocx.FullScreen = value;
  343.             }
  344.         }
  345.         
  346.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  347.         [System.Runtime.InteropServices.DispIdAttribute(-525)]
  348.         [System.ComponentModel.Bindable(System.ComponentModel.BindableSupport.Yes)]
  349.         public virtual SHDocVw.tagREADYSTATE ReadyState {
  350.             get {
  351.                 if ((this.ocx == null)) {
  352.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ReadyState", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  353.                 }
  354.                 return this.ocx.ReadyState;
  355.             }
  356.         }
  357.         
  358.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  359.         [System.Runtime.InteropServices.DispIdAttribute(550)]
  360.         public virtual bool Offline {
  361.             get {
  362.                 if ((this.ocx == null)) {
  363.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Offline", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  364.                 }
  365.                 return this.ocx.Offline;
  366.             }
  367.             set {
  368.                 if ((this.ocx == null)) {
  369.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Offline", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  370.                 }
  371.                 this.ocx.Offline = value;
  372.             }
  373.         }
  374.         
  375.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  376.         [System.Runtime.InteropServices.DispIdAttribute(551)]
  377.         public virtual bool Silent {
  378.             get {
  379.                 if ((this.ocx == null)) {
  380.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Silent", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  381.                 }
  382.                 return this.ocx.Silent;
  383.             }
  384.             set {
  385.                 if ((this.ocx == null)) {
  386.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Silent", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  387.                 }
  388.                 this.ocx.Silent = value;
  389.             }
  390.         }
  391.         
  392.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  393.         [System.Runtime.InteropServices.DispIdAttribute(552)]
  394.         public virtual bool RegisterAsBrowser {
  395.             get {
  396.                 if ((this.ocx == null)) {
  397.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RegisterAsBrowser", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  398.                 }
  399.                 return this.ocx.RegisterAsBrowser;
  400.             }
  401.             set {
  402.                 if ((this.ocx == null)) {
  403.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RegisterAsBrowser", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  404.                 }
  405.                 this.ocx.RegisterAsBrowser = value;
  406.             }
  407.         }
  408.         
  409.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  410.         [System.Runtime.InteropServices.DispIdAttribute(553)]
  411.         public virtual bool RegisterAsDropTarget {
  412.             get {
  413.                 if ((this.ocx == null)) {
  414.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RegisterAsDropTarget", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  415.                 }
  416.                 return this.ocx.RegisterAsDropTarget;
  417.             }
  418.             set {
  419.                 if ((this.ocx == null)) {
  420.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("RegisterAsDropTarget", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  421.                 }
  422.                 this.ocx.RegisterAsDropTarget = value;
  423.             }
  424.         }
  425.         
  426.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  427.         [System.Runtime.InteropServices.DispIdAttribute(554)]
  428.         public virtual bool TheaterMode {
  429.             get {
  430.                 if ((this.ocx == null)) {
  431.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("TheaterMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  432.                 }
  433.                 return this.ocx.TheaterMode;
  434.             }
  435.             set {
  436.                 if ((this.ocx == null)) {
  437.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("TheaterMode", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  438.                 }
  439.                 this.ocx.TheaterMode = value;
  440.             }
  441.         }
  442.         
  443.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  444.         [System.Runtime.InteropServices.DispIdAttribute(555)]
  445.         public virtual bool AddressBar {
  446.             get {
  447.                 if ((this.ocx == null)) {
  448.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddressBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  449.                 }
  450.                 return this.ocx.AddressBar;
  451.             }
  452.             set {
  453.                 if ((this.ocx == null)) {
  454.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("AddressBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  455.                 }
  456.                 this.ocx.AddressBar = value;
  457.             }
  458.         }
  459.         
  460.         [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  461.         [System.Runtime.InteropServices.DispIdAttribute(556)]
  462.         public virtual bool Resizable {
  463.             get {
  464.                 if ((this.ocx == null)) {
  465.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Resizable", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertyGet);
  466.                 }
  467.                 return this.ocx.Resizable;
  468.             }
  469.             set {
  470.                 if ((this.ocx == null)) {
  471.                     throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Resizable", System.Windows.Forms.AxHost.ActiveXInvokeKind.PropertySet);
  472.                 }
  473.                 this.ocx.Resizable = value;
  474.             }
  475.         }
  476.         
  477.         public event DWebBrowserEvents2_PrivacyImpactedStateChangeEventHandler PrivacyImpactedStateChange;
  478.         
  479.         public event DWebBrowserEvents2_UpdatePageStatusEventHandler UpdatePageStatus;
  480.         
  481.         public event DWebBrowserEvents2_PrintTemplateTeardownEventHandler PrintTemplateTeardown;
  482.         
  483.         public event DWebBrowserEvents2_PrintTemplateInstantiationEventHandler PrintTemplateInstantiation;
  484.         
  485.         public event DWebBrowserEvents2_NavigateErrorEventHandler NavigateError;
  486.         
  487.         public event DWebBrowserEvents2_FileDownloadEventHandler FileDownload;
  488.         
  489.         public event DWebBrowserEvents2_SetSecureLockIconEventHandler SetSecureLockIcon;
  490.         
  491.         public event DWebBrowserEvents2_ClientToHostWindowEventHandler ClientToHostWindow;
  492.         
  493.         public event DWebBrowserEvents2_WindowClosingEventHandler WindowClosing;
  494.         
  495.         public event DWebBrowserEvents2_WindowSetHeightEventHandler WindowSetHeight;
  496.         
  497.         public event DWebBrowserEvents2_WindowSetWidthEventHandler WindowSetWidth;
  498.         
  499.         public event DWebBrowserEvents2_WindowSetTopEventHandler WindowSetTop;
  500.         
  501.         public event DWebBrowserEvents2_WindowSetLeftEventHandler WindowSetLeft;
  502.         
  503.         public event DWebBrowserEvents2_WindowSetResizableEventHandler WindowSetResizable;
  504.         
  505.         public event DWebBrowserEvents2_OnTheaterModeEventHandler OnTheaterMode;
  506.         
  507.         public event DWebBrowserEvents2_OnFullScreenEventHandler OnFullScreen;
  508.         
  509.         public event DWebBrowserEvents2_OnStatusBarEventHandler OnStatusBar;
  510.         
  511.         public event DWebBrowserEvents2_OnMenuBarEventHandler OnMenuBar;
  512.         
  513.         public event DWebBrowserEvents2_OnToolBarEventHandler OnToolBar;
  514.         
  515.         public event DWebBrowserEvents2_OnVisibleEventHandler OnVisible;
  516.         
  517.         public event System.EventHandler OnQuit;
  518.         
  519.         public event DWebBrowserEvents2_DocumentCompleteEventHandler DocumentComplete;
  520.         
  521.         public event DWebBrowserEvents2_NavigateComplete2EventHandler NavigateComplete2;
  522.         
  523.         public event DWebBrowserEvents2_NewWindow2EventHandler NewWindow2;
  524.         
  525.         public event DWebBrowserEvents2_BeforeNavigate2EventHandler BeforeNavigate2;
  526.         
  527.         public event DWebBrowserEvents2_PropertyChangeEventHandler PropertyChange;
  528.         
  529.         public event DWebBrowserEvents2_TitleChangeEventHandler TitleChange;
  530.         
  531.         public event System.EventHandler DownloadComplete;
  532.         
  533.         public event System.EventHandler DownloadBegin;
  534.         
  535.         public event DWebBrowserEvents2_CommandStateChangeEventHandler CommandStateChange;
  536.         
  537.         public event DWebBrowserEvents2_ProgressChangeEventHandler ProgressChange;
  538.         
  539.         public event DWebBrowserEvents2_StatusTextChangeEventHandler StatusTextChange;
  540.         
  541.         public virtual void ShowBrowserBar(ref object pvaClsid, [System.Runtime.InteropServices.Optional()] ref object pvarShow, [System.Runtime.InteropServices.Optional()] ref object pvarSize) {
  542.             if ((this.ocx == null)) {
  543.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ShowBrowserBar", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  544.             }
  545.             this.ocx.ShowBrowserBar(ref pvaClsid, ref pvarShow, ref pvarSize);
  546.         }
  547.         
  548.         public virtual void ExecWB(SHDocVw.OLECMDID cmdID, SHDocVw.OLECMDEXECOPT cmdexecopt, [System.Runtime.InteropServices.Optional()] ref object pvaIn, [System.Runtime.InteropServices.Optional()] ref object pvaOut) {
  549.             if ((this.ocx == null)) {
  550.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ExecWB", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  551.             }
  552.             this.ocx.ExecWB(cmdID, cmdexecopt, ref pvaIn, ref pvaOut);
  553.         }
  554.         
  555.         public virtual SHDocVw.OLECMDF QueryStatusWB(SHDocVw.OLECMDID cmdID) {
  556.             if ((this.ocx == null)) {
  557.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("QueryStatusWB", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  558.             }
  559.             return this.ocx.QueryStatusWB(cmdID);
  560.         }
  561.         
  562.         public virtual void Navigate2(ref object uRL, [System.Runtime.InteropServices.Optional()] ref object flags, [System.Runtime.InteropServices.Optional()] ref object targetFrameName, [System.Runtime.InteropServices.Optional()] ref object postData, [System.Runtime.InteropServices.Optional()] ref object headers) {
  563.             if ((this.ocx == null)) {
  564.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Navigate2", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  565.             }
  566.             this.ocx.Navigate2(ref uRL, ref flags, ref targetFrameName, ref postData, ref headers);
  567.         }
  568.         
  569.         public virtual object GetProperty(string property) {
  570.             if ((this.ocx == null)) {
  571.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GetProperty", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  572.             }
  573.             return this.ocx.GetProperty(property);
  574.         }
  575.         
  576.         public virtual void PutProperty(string property, object vtValue) {
  577.             if ((this.ocx == null)) {
  578.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("PutProperty", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  579.             }
  580.             this.ocx.PutProperty(property, vtValue);
  581.         }
  582.         
  583.         public virtual void ClientToWindow(ref int pcx, ref int pcy) {
  584.             if ((this.ocx == null)) {
  585.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("ClientToWindow", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  586.             }
  587.             this.ocx.ClientToWindow(ref pcx, ref pcy);
  588.         }
  589.         
  590.         public virtual void Quit() {
  591.             if ((this.ocx == null)) {
  592.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Quit", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  593.             }
  594.             this.ocx.Quit();
  595.         }
  596.         
  597.         public virtual void Stop() {
  598.             if ((this.ocx == null)) {
  599.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Stop", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  600.             }
  601.             this.ocx.Stop();
  602.         }
  603.         
  604.         public virtual void Refresh2([System.Runtime.InteropServices.Optional()] ref object level) {
  605.             if ((this.ocx == null)) {
  606.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Refresh2", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  607.             }
  608.             this.ocx.Refresh2(ref level);
  609.         }
  610.         
  611.         public virtual void CtlRefresh() {
  612.             if ((this.ocx == null)) {
  613.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("CtlRefresh", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  614.             }
  615.             this.ocx.Refresh();
  616.         }
  617.         
  618.         public virtual void Navigate(string uRL, [System.Runtime.InteropServices.Optional()] ref object flags, [System.Runtime.InteropServices.Optional()] ref object targetFrameName, [System.Runtime.InteropServices.Optional()] ref object postData, [System.Runtime.InteropServices.Optional()] ref object headers) {
  619.             if ((this.ocx == null)) {
  620.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("Navigate", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  621.             }
  622.             this.ocx.Navigate(uRL, ref flags, ref targetFrameName, ref postData, ref headers);
  623.         }
  624.         
  625.         public virtual void GoSearch() {
  626.             if ((this.ocx == null)) {
  627.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GoSearch", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  628.             }
  629.             this.ocx.GoSearch();
  630.         }
  631.         
  632.         public virtual void GoHome() {
  633.             if ((this.ocx == null)) {
  634.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GoHome", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  635.             }
  636.             this.ocx.GoHome();
  637.         }
  638.         
  639.         public virtual void GoForward() {
  640.             if ((this.ocx == null)) {
  641.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GoForward", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  642.             }
  643.             this.ocx.GoForward();
  644.         }
  645.         
  646.         public virtual void GoBack() {
  647.             if ((this.ocx == null)) {
  648.                 throw new System.Windows.Forms.AxHost.InvalidActiveXStateException("GoBack", System.Windows.Forms.AxHost.ActiveXInvokeKind.MethodInvoke);
  649.             }
  650.             this.ocx.GoBack();
  651.         }
  652.         
  653.         protected override void CreateSink() {
  654.             try {
  655.                 this.eventMulticaster = new AxWebBrowserEventMulticaster(this);
  656.                 this.cookie = new System.Windows.Forms.AxHost.ConnectionPointCookie(this.ocx, this.eventMulticaster, typeof(SHDocVw.DWebBrowserEvents2));
  657.             }
  658.             catch (System.Exception ) {
  659.             }
  660.         }
  661.         
  662.         protected override void DetachSink() {
  663.             try {
  664.                 this.cookie.Disconnect();
  665.             }
  666.             catch (System.Exception ) {
  667.             }
  668.         }
  669.         
  670.         protected override void AttachInterfaces() {
  671.             try {
  672.                 this.ocx = ((SHDocVw.IWebBrowser2)(this.GetOcx()));
  673.             }
  674.             catch (System.Exception ) {
  675.             }
  676.         }
  677.         
  678.         internal void RaiseOnPrivacyImpactedStateChange(object sender, DWebBrowserEvents2_PrivacyImpactedStateChangeEvent e) {
  679.             if ((this.PrivacyImpactedStateChange != null)) {
  680.                 this.PrivacyImpactedStateChange(sender, e);
  681.             }
  682.         }
  683.         
  684.         internal void RaiseOnUpdatePageStatus(object sender, DWebBrowserEvents2_UpdatePageStatusEvent e) {
  685.             if ((this.UpdatePageStatus != null)) {
  686.                 this.UpdatePageStatus(sender, e);
  687.             }
  688.         }
  689.         
  690.         internal void RaiseOnPrintTemplateTeardown(object sender, DWebBrowserEvents2_PrintTemplateTeardownEvent e) {
  691.             if ((this.PrintTemplateTeardown != null)) {
  692.                 this.PrintTemplateTeardown(sender, e);
  693.             }
  694.         }
  695.         
  696.         internal void RaiseOnPrintTemplateInstantiation(object sender, DWebBrowserEvents2_PrintTemplateInstantiationEvent e) {
  697.             if ((this.PrintTemplateInstantiation != null)) {
  698.                 this.PrintTemplateInstantiation(sender, e);
  699.             }
  700.         }
  701.         
  702.         internal void RaiseOnNavigateError(object sender, DWebBrowserEvents2_NavigateErrorEvent e) {
  703.             if ((this.NavigateError != null)) {
  704.                 this.NavigateError(sender, e);
  705.             }
  706.         }
  707.         
  708.         internal void RaiseOnFileDownload(object sender, DWebBrowserEvents2_FileDownloadEvent e) {
  709.             if ((this.FileDownload != null)) {
  710.                 this.FileDownload(sender, e);
  711.             }
  712.         }
  713.         
  714.         internal void RaiseOnSetSecureLockIcon(object sender, DWebBrowserEvents2_SetSecureLockIconEvent e) {
  715.             if ((this.SetSecureLockIcon != null)) {
  716.                 this.SetSecureLockIcon(sender, e);
  717.             }
  718.         }
  719.         
  720.         internal void RaiseOnClientToHostWindow(object sender, DWebBrowserEvents2_ClientToHostWindowEvent e) {
  721.             if ((this.ClientToHostWindow != null)) {
  722.                 this.ClientToHostWindow(sender, e);
  723.             }
  724.         }
  725.         
  726.         internal void RaiseOnWindowClosing(object sender, DWebBrowserEvents2_WindowClosingEvent e) {
  727.             if ((this.WindowClosing != null)) {
  728.                 this.WindowClosing(sender, e);
  729.             }
  730.         }
  731.         
  732.         internal void RaiseOnWindowSetHeight(object sender, DWebBrowserEvents2_WindowSetHeightEvent e) {
  733.             if ((this.WindowSetHeight != null)) {
  734.                 this.WindowSetHeight(sender, e);
  735.             }
  736.         }
  737.         
  738.         internal void RaiseOnWindowSetWidth(object sender, DWebBrowserEvents2_WindowSetWidthEvent e) {
  739.             if ((this.WindowSetWidth != null)) {
  740.                 this.WindowSetWidth(sender, e);
  741.             }
  742.         }
  743.         
  744.         internal void RaiseOnWindowSetTop(object sender, DWebBrowserEvents2_WindowSetTopEvent e) {
  745.             if ((this.WindowSetTop != null)) {
  746.                 this.WindowSetTop(sender, e);
  747.             }
  748.         }
  749.         
  750.         internal void RaiseOnWindowSetLeft(object sender, DWebBrowserEvents2_WindowSetLeftEvent e) {
  751.             if ((this.WindowSetLeft != null)) {
  752.                 this.WindowSetLeft(sender, e);
  753.             }
  754.         }
  755.         
  756.         internal void RaiseOnWindowSetResizable(object sender, DWebBrowserEvents2_WindowSetResizableEvent e) {
  757.             if ((this.WindowSetResizable != null)) {
  758.                 this.WindowSetResizable(sender, e);
  759.             }
  760.         }
  761.         
  762.         internal void RaiseOnOnTheaterMode(object sender, DWebBrowserEvents2_OnTheaterModeEvent e) {
  763.             if ((this.OnTheaterMode != null)) {
  764.                 this.OnTheaterMode(sender, e);
  765.             }
  766.         }
  767.         
  768.         internal void RaiseOnOnFullScreen(object sender, DWebBrowserEvents2_OnFullScreenEvent e) {
  769.             if ((this.OnFullScreen != null)) {
  770.                 this.OnFullScreen(sender, e);
  771.             }
  772.         }
  773.         
  774.         internal void RaiseOnOnStatusBar(object sender, DWebBrowserEvents2_OnStatusBarEvent e) {
  775.             if ((this.OnStatusBar != null)) {
  776.                 this.OnStatusBar(sender, e);
  777.             }
  778.         }
  779.         
  780.         internal void RaiseOnOnMenuBar(object sender, DWebBrowserEvents2_OnMenuBarEvent e) {
  781.             if ((this.OnMenuBar != null)) {
  782.                 this.OnMenuBar(sender, e);
  783.             }
  784.         }
  785.         
  786.         internal void RaiseOnOnToolBar(object sender, DWebBrowserEvents2_OnToolBarEvent e) {
  787.             if ((this.OnToolBar != null)) {
  788.                 this.OnToolBar(sender, e);
  789.             }
  790.         }
  791.         
  792.         internal void RaiseOnOnVisible(object sender, DWebBrowserEvents2_OnVisibleEvent e) {
  793.             if ((this.OnVisible != null)) {
  794.                 this.OnVisible(sender, e);
  795.             }
  796.         }
  797.         
  798.         internal void RaiseOnOnQuit(object sender, System.EventArgs e) {
  799.             if ((this.OnQuit != null)) {
  800.                 this.OnQuit(sender, e);
  801.             }
  802.         }
  803.         
  804.         internal void RaiseOnDocumentComplete(object sender, DWebBrowserEvents2_DocumentCompleteEvent e) {
  805.             if ((this.DocumentComplete != null)) {
  806.                 this.DocumentComplete(sender, e);
  807.             }
  808.         }
  809.         
  810.         internal void RaiseOnNavigateComplete2(object sender, DWebBrowserEvents2_NavigateComplete2Event e) {
  811.             if ((this.NavigateComplete2 != null)) {
  812.                 this.NavigateComplete2(sender, e);
  813.             }
  814.         }
  815.         
  816.         internal void RaiseOnNewWindow2(object sender, DWebBrowserEvents2_NewWindow2Event e) {
  817.             if ((this.NewWindow2 != null)) {
  818.                 this.NewWindow2(sender, e);
  819.             }
  820.         }
  821.         
  822.         internal void RaiseOnBeforeNavigate2(object sender, DWebBrowserEvents2_BeforeNavigate2Event e) {
  823.             if ((this.BeforeNavigate2 != null)) {
  824.                 this.BeforeNavigate2(sender, e);
  825.             }
  826.         }
  827.         
  828.         internal void RaiseOnPropertyChange(object sender, DWebBrowserEvents2_PropertyChangeEvent e) {
  829.             if ((this.PropertyChange != null)) {
  830.                 this.PropertyChange(sender, e);
  831.             }
  832.         }
  833.         
  834.         internal void RaiseOnTitleChange(object sender, DWebBrowserEvents2_TitleChangeEvent e) {
  835.             if ((this.TitleChange != null)) {
  836.                 this.TitleChange(sender, e);
  837.             }
  838.         }
  839.         
  840.         internal void RaiseOnDownloadComplete(object sender, System.EventArgs e) {
  841.             if ((this.DownloadComplete != null)) {
  842.                 this.DownloadComplete(sender, e);
  843.             }
  844.         }
  845.         
  846.         internal void RaiseOnDownloadBegin(object sender, System.EventArgs e) {
  847.             if ((this.DownloadBegin != null)) {
  848.                 this.DownloadBegin(sender, e);
  849.             }
  850.         }
  851.         
  852.         internal void RaiseOnCommandStateChange(object sender, DWebBrowserEvents2_CommandStateChangeEvent e) {
  853.             if ((this.CommandStateChange != null)) {
  854.                 this.CommandStateChange(sender, e);
  855.             }
  856.         }
  857.         
  858.         internal void RaiseOnProgressChange(object sender, DWebBrowserEvents2_ProgressChangeEvent e) {
  859.             if ((this.ProgressChange != null)) {
  860.                 this.ProgressChange(sender, e);
  861.             }
  862.         }
  863.         
  864.         internal void RaiseOnStatusTextChange(object sender, DWebBrowserEvents2_StatusTextChangeEvent e) {
  865.             if ((this.StatusTextChange != null)) {
  866.                 this.StatusTextChange(sender, e);
  867.             }
  868.         }
  869.     }
  870.     
  871.     public delegate void DWebBrowserEvents2_PrivacyImpactedStateChangeEventHandler(object sender, DWebBrowserEvents2_PrivacyImpactedStateChangeEvent e);
  872.     
  873.     public class DWebBrowserEvents2_PrivacyImpactedStateChangeEvent {
  874.         
  875.         public bool bImpacted;
  876.         
  877.         public DWebBrowserEvents2_PrivacyImpactedStateChangeEvent(bool bImpacted) {
  878.             this.bImpacted = bImpacted;
  879.         }
  880.     }
  881.     
  882.     public delegate void DWebBrowserEvents2_UpdatePageStatusEventHandler(object sender, DWebBrowserEvents2_UpdatePageStatusEvent e);
  883.     
  884.     public class DWebBrowserEvents2_UpdatePageStatusEvent {
  885.         
  886.         public object pDisp;
  887.         
  888.         public object nPage;
  889.         
  890.         public object fDone;
  891.         
  892.         public DWebBrowserEvents2_UpdatePageStatusEvent(object pDisp, object nPage, object fDone) {
  893.             this.pDisp = pDisp;
  894.             this.nPage = nPage;
  895.             this.fDone = fDone;
  896.         }
  897.     }
  898.     
  899.     public delegate void DWebBrowserEvents2_PrintTemplateTeardownEventHandler(object sender, DWebBrowserEvents2_PrintTemplateTeardownEvent e);
  900.     
  901.     public class DWebBrowserEvents2_PrintTemplateTeardownEvent {
  902.         
  903.         public object pDisp;
  904.         
  905.         public DWebBrowserEvents2_PrintTemplateTeardownEvent(object pDisp) {
  906.             this.pDisp = pDisp;
  907.         }
  908.     }
  909.     
  910.     public delegate void DWebBrowserEvents2_PrintTemplateInstantiationEventHandler(object sender, DWebBrowserEvents2_PrintTemplateInstantiationEvent e);
  911.     
  912.     public class DWebBrowserEvents2_PrintTemplateInstantiationEvent {
  913.         
  914.         public object pDisp;
  915.         
  916.         public DWebBrowserEvents2_PrintTemplateInstantiationEvent(object pDisp) {
  917.             this.pDisp = pDisp;
  918.         }
  919.     }
  920.     
  921.     public delegate void DWebBrowserEvents2_NavigateErrorEventHandler(object sender, DWebBrowserEvents2_NavigateErrorEvent e);
  922.     
  923.     public class DWebBrowserEvents2_NavigateErrorEvent {
  924.         
  925.         public object pDisp;
  926.         
  927.         public object uRL;
  928.         
  929.         public object frame;
  930.         
  931.         public object statusCode;
  932.         
  933.         public bool cancel;
  934.         
  935.         public DWebBrowserEvents2_NavigateErrorEvent(object pDisp, object uRL, object frame, object statusCode, bool cancel) {
  936.             this.pDisp = pDisp;
  937.             this.uRL = uRL;
  938.             this.frame = frame;
  939.             this.statusCode = statusCode;
  940.             this.cancel = cancel;
  941.         }
  942.     }
  943.     
  944.     public delegate void DWebBrowserEvents2_FileDownloadEventHandler(object sender, DWebBrowserEvents2_FileDownloadEvent e);
  945.     
  946.     public class DWebBrowserEvents2_FileDownloadEvent {
  947.         
  948.         public bool cancel;
  949.         
  950.         public DWebBrowserEvents2_FileDownloadEvent(bool cancel) {
  951.             this.cancel = cancel;
  952.         }
  953.     }
  954.     
  955.     public delegate void DWebBrowserEvents2_SetSecureLockIconEventHandler(object sender, DWebBrowserEvents2_SetSecureLockIconEvent e);
  956.     
  957.     public class DWebBrowserEvents2_SetSecureLockIconEvent {
  958.         
  959.         public int secureLockIcon;
  960.         
  961.         public DWebBrowserEvents2_SetSecureLockIconEvent(int secureLockIcon) {
  962.             this.secureLockIcon = secureLockIcon;
  963.         }
  964.     }
  965.     
  966.     public delegate void DWebBrowserEvents2_ClientToHostWindowEventHandler(object sender, DWebBrowserEvents2_ClientToHostWindowEvent e);
  967.     
  968.     public class DWebBrowserEvents2_ClientToHostWindowEvent {
  969.         
  970.         public int cX;
  971.         
  972.         public int cY;
  973.         
  974.         public DWebBrowserEvents2_ClientToHostWindowEvent(int cX, int cY) {
  975.             this.cX = cX;
  976.             this.cY = cY;
  977.         }
  978.     }
  979.     
  980.     public delegate void DWebBrowserEvents2_WindowClosingEventHandler(object sender, DWebBrowserEvents2_WindowClosingEvent e);
  981.     
  982.     public class DWebBrowserEvents2_WindowClosingEvent {
  983.         
  984.         public bool isChildWindow;
  985.         
  986.         public bool cancel;
  987.         
  988.         public DWebBrowserEvents2_WindowClosingEvent(bool isChildWindow, bool cancel) {
  989.             this.isChildWindow = isChildWindow;
  990.             this.cancel = cancel;
  991.         }
  992.     }
  993.     
  994.     public delegate void DWebBrowserEvents2_WindowSetHeightEventHandler(object sender, DWebBrowserEvents2_WindowSetHeightEvent e);
  995.     
  996.     public class DWebBrowserEvents2_WindowSetHeightEvent {
  997.         
  998.         public int height;
  999.         
  1000.         public DWebBrowserEvents2_WindowSetHeightEvent(int height) {
  1001.             this.height = height;
  1002.         }
  1003.     }
  1004.     
  1005.     public delegate void DWebBrowserEvents2_WindowSetWidthEventHandler(object sender, DWebBrowserEvents2_WindowSetWidthEvent e);
  1006.     
  1007.     public class DWebBrowserEvents2_WindowSetWidthEvent {
  1008.         
  1009.         public int width;
  1010.         
  1011.         public DWebBrowserEvents2_WindowSetWidthEvent(int width) {
  1012.             this.width = width;
  1013.         }
  1014.     }
  1015.     
  1016.     public delegate void DWebBrowserEvents2_WindowSetTopEventHandler(object sender, DWebBrowserEvents2_WindowSetTopEvent e);
  1017.     
  1018.     public class DWebBrowserEvents2_WindowSetTopEvent {
  1019.         
  1020.         public int top;
  1021.         
  1022.         public DWebBrowserEvents2_WindowSetTopEvent(int top) {
  1023.             this.top = top;
  1024.         }
  1025.     }
  1026.     
  1027.     public delegate void DWebBrowserEvents2_WindowSetLeftEventHandler(object sender, DWebBrowserEvents2_WindowSetLeftEvent e);
  1028.     
  1029.     public class DWebBrowserEvents2_WindowSetLeftEvent {
  1030.         
  1031.         public int left;
  1032.         
  1033.         public DWebBrowserEvents2_WindowSetLeftEvent(int left) {
  1034.             this.left = left;
  1035.         }
  1036.     }
  1037.     
  1038.     public delegate void DWebBrowserEvents2_WindowSetResizableEventHandler(object sender, DWebBrowserEvents2_WindowSetResizableEvent e);
  1039.     
  1040.     public class DWebBrowserEvents2_WindowSetResizableEvent {
  1041.         
  1042.         public bool resizable;
  1043.         
  1044.         public DWebBrowserEvents2_WindowSetResizableEvent(bool resizable) {
  1045.             this.resizable = resizable;
  1046.         }
  1047.     }
  1048.     
  1049.     public delegate void DWebBrowserEvents2_OnTheaterModeEventHandler(object sender, DWebBrowserEvents2_OnTheaterModeEvent e);
  1050.     
  1051.     public class DWebBrowserEvents2_OnTheaterModeEvent {
  1052.         
  1053.         public bool theaterMode;
  1054.         
  1055.         public DWebBrowserEvents2_OnTheaterModeEvent(bool theaterMode) {
  1056.             this.theaterMode = theaterMode;
  1057.         }
  1058.     }
  1059.     
  1060.     public delegate void DWebBrowserEvents2_OnFullScreenEventHandler(object sender, DWebBrowserEvents2_OnFullScreenEvent e);
  1061.     
  1062.     public class DWebBrowserEvents2_OnFullScreenEvent {
  1063.         
  1064.         public bool fullScreen;
  1065.         
  1066.         public DWebBrowserEvents2_OnFullScreenEvent(bool fullScreen) {
  1067.             this.fullScreen = fullScreen;
  1068.         }
  1069.     }
  1070.     
  1071.     public delegate void DWebBrowserEvents2_OnStatusBarEventHandler(object sender, DWebBrowserEvents2_OnStatusBarEvent e);
  1072.     
  1073.     public class DWebBrowserEvents2_OnStatusBarEvent {
  1074.         
  1075.         public bool statusBar;
  1076.         
  1077.         public DWebBrowserEvents2_OnStatusBarEvent(bool statusBar) {
  1078.             this.statusBar = statusBar;
  1079.         }
  1080.     }
  1081.     
  1082.     public delegate void DWebBrowserEvents2_OnMenuBarEventHandler(object sender, DWebBrowserEvents2_OnMenuBarEvent e);
  1083.     
  1084.     public class DWebBrowserEvents2_OnMenuBarEvent {
  1085.         
  1086.         public bool menuBar;
  1087.         
  1088.         public DWebBrowserEvents2_OnMenuBarEvent(bool menuBar) {
  1089.             this.menuBar = menuBar;
  1090.         }
  1091.     }
  1092.     
  1093.     public delegate void DWebBrowserEvents2_OnToolBarEventHandler(object sender, DWebBrowserEvents2_OnToolBarEvent e);
  1094.     
  1095.     public class DWebBrowserEvents2_OnToolBarEvent {
  1096.         
  1097.         public bool toolBar;
  1098.         
  1099.         public DWebBrowserEvents2_OnToolBarEvent(bool toolBar) {
  1100.             this.toolBar = toolBar;
  1101.         }
  1102.     }
  1103.     
  1104.     public delegate void DWebBrowserEvents2_OnVisibleEventHandler(object sender, DWebBrowserEvents2_OnVisibleEvent e);
  1105.     
  1106.     public class DWebBrowserEvents2_OnVisibleEvent {
  1107.         
  1108.         public bool visible;
  1109.         
  1110.         public DWebBrowserEvents2_OnVisibleEvent(bool visible) {
  1111.             this.visible = visible;
  1112.         }
  1113.     }
  1114.     
  1115.     public delegate void DWebBrowserEvents2_DocumentCompleteEventHandler(object sender, DWebBrowserEvents2_DocumentCompleteEvent e);
  1116.     
  1117.     public class DWebBrowserEvents2_DocumentCompleteEvent {
  1118.         
  1119.         public object pDisp;
  1120.         
  1121.         public object uRL;
  1122.         
  1123.         public DWebBrowserEvents2_DocumentCompleteEvent(object pDisp, object uRL) {
  1124.             this.pDisp = pDisp;
  1125.             this.uRL = uRL;
  1126.         }
  1127.     }
  1128.     
  1129.     public delegate void DWebBrowserEvents2_NavigateComplete2EventHandler(object sender, DWebBrowserEvents2_NavigateComplete2Event e);
  1130.     
  1131.     public class DWebBrowserEvents2_NavigateComplete2Event {
  1132.         
  1133.         public object pDisp;
  1134.         
  1135.         public object uRL;
  1136.         
  1137.         public DWebBrowserEvents2_NavigateComplete2Event(object pDisp, object uRL) {
  1138.             this.pDisp = pDisp;
  1139.             this.uRL = uRL;
  1140.         }
  1141.     }
  1142.     
  1143.     public delegate void DWebBrowserEvents2_NewWindow2EventHandler(object sender, DWebBrowserEvents2_NewWindow2Event e);
  1144.     
  1145.     public class DWebBrowserEvents2_NewWindow2Event {
  1146.         
  1147.         public object ppDisp;
  1148.         
  1149.         public bool cancel;
  1150.         
  1151.         public DWebBrowserEvents2_NewWindow2Event(object ppDisp, bool cancel) {
  1152.             this.ppDisp = ppDisp;
  1153.             this.cancel = cancel;
  1154.         }
  1155.     }
  1156.     
  1157.     public delegate void DWebBrowserEvents2_BeforeNavigate2EventHandler(object sender, DWebBrowserEvents2_BeforeNavigate2Event e);
  1158.     
  1159.     public class DWebBrowserEvents2_BeforeNavigate2Event {
  1160.         
  1161.         public object pDisp;
  1162.         
  1163.         public object uRL;
  1164.         
  1165.         public object flags;
  1166.         
  1167.         public object targetFrameName;
  1168.         
  1169.         public object postData;
  1170.         
  1171.         public object headers;
  1172.         
  1173.         public bool cancel;
  1174.         
  1175.         public DWebBrowserEvents2_BeforeNavigate2Event(object pDisp, object uRL, object flags, object targetFrameName, object postData, object headers, bool cancel) {
  1176.             this.pDisp = pDisp;
  1177.             this.uRL = uRL;
  1178.             this.flags = flags;
  1179.             this.targetFrameName = targetFrameName;
  1180.             this.postData = postData;
  1181.             this.headers = headers;
  1182.             this.cancel = cancel;
  1183.         }
  1184.     }
  1185.     
  1186.     public delegate void DWebBrowserEvents2_PropertyChangeEventHandler(object sender, DWebBrowserEvents2_PropertyChangeEvent e);
  1187.     
  1188.     public class DWebBrowserEvents2_PropertyChangeEvent {
  1189.         
  1190.         public string szProperty;
  1191.         
  1192.         public DWebBrowserEvents2_PropertyChangeEvent(string szProperty) {
  1193.             this.szProperty = szProperty;
  1194.         }
  1195.     }
  1196.     
  1197.     public delegate void DWebBrowserEvents2_TitleChangeEventHandler(object sender, DWebBrowserEvents2_TitleChangeEvent e);
  1198.     
  1199.     public class DWebBrowserEvents2_TitleChangeEvent {
  1200.         
  1201.         public string text;
  1202.         
  1203.         public DWebBrowserEvents2_TitleChangeEvent(string text) {
  1204.             this.text = text;
  1205.         }
  1206.     }
  1207.     
  1208.     public delegate void DWebBrowserEvents2_CommandStateChangeEventHandler(object sender, DWebBrowserEvents2_CommandStateChangeEvent e);
  1209.     
  1210.     public class DWebBrowserEvents2_CommandStateChangeEvent {
  1211.         
  1212.         public int command;
  1213.         
  1214.         public bool enable;
  1215.         
  1216.         public DWebBrowserEvents2_CommandStateChangeEvent(int command, bool enable) {
  1217.             this.command = command;
  1218.             this.enable = enable;
  1219.         }
  1220.     }
  1221.     
  1222.     public delegate void DWebBrowserEvents2_ProgressChangeEventHandler(object sender, DWebBrowserEvents2_ProgressChangeEvent e);
  1223.     
  1224.     public class DWebBrowserEvents2_ProgressChangeEvent {
  1225.         
  1226.         public int progress;
  1227.         
  1228.         public int progressMax;
  1229.         
  1230.         public DWebBrowserEvents2_ProgressChangeEvent(int progress, int progressMax) {
  1231.             this.progress = progress;
  1232.             this.progressMax = progressMax;
  1233.         }
  1234.     }
  1235.     
  1236.     public delegate void DWebBrowserEvents2_StatusTextChangeEventHandler(object sender, DWebBrowserEvents2_StatusTextChangeEvent e);
  1237.     
  1238.     public class DWebBrowserEvents2_StatusTextChangeEvent {
  1239.         
  1240.         public string text;
  1241.         
  1242.         public DWebBrowserEvents2_StatusTextChangeEvent(string text) {
  1243.             this.text = text;
  1244.         }
  1245.     }
  1246.     
  1247.     public class AxWebBrowserEventMulticaster : SHDocVw.DWebBrowserEvents2 {
  1248.         
  1249.         private AxWebBrowser parent;
  1250.         
  1251.         public AxWebBrowserEventMulticaster(AxWebBrowser parent) {
  1252.             this.parent = parent;
  1253.         }
  1254.         
  1255.         public virtual void PrivacyImpactedStateChange(bool bImpacted) {
  1256.             DWebBrowserEvents2_PrivacyImpactedStateChangeEvent privacyimpactedstatechangeEvent = new DWebBrowserEvents2_PrivacyImpactedStateChangeEvent(bImpacted);
  1257.             this.parent.RaiseOnPrivacyImpactedStateChange(this.parent, privacyimpactedstatechangeEvent);
  1258.         }
  1259.         
  1260.         public virtual void UpdatePageStatus(object pDisp, ref object nPage, ref object fDone) {
  1261.             DWebBrowserEvents2_UpdatePageStatusEvent updatepagestatusEvent = new DWebBrowserEvents2_UpdatePageStatusEvent(pDisp, nPage, fDone);
  1262.             this.parent.RaiseOnUpdatePageStatus(this.parent, updatepagestatusEvent);
  1263.             nPage = updatepagestatusEvent.nPage;
  1264.             fDone = updatepagestatusEvent.fDone;
  1265.         }
  1266.         
  1267.         public virtual void PrintTemplateTeardown(object pDisp) {
  1268.             DWebBrowserEvents2_PrintTemplateTeardownEvent printtemplateteardownEvent = new DWebBrowserEvents2_PrintTemplateTeardownEvent(pDisp);
  1269.             this.parent.RaiseOnPrintTemplateTeardown(this.parent, printtemplateteardownEvent);
  1270.         }
  1271.         
  1272.         public virtual void PrintTemplateInstantiation(object pDisp) {
  1273.             DWebBrowserEvents2_PrintTemplateInstantiationEvent printtemplateinstantiationEvent = new DWebBrowserEvents2_PrintTemplateInstantiationEvent(pDisp);
  1274.             this.parent.RaiseOnPrintTemplateInstantiation(this.parent, printtemplateinstantiationEvent);
  1275.         }
  1276.         
  1277.         public virtual void NavigateError(object pDisp, ref object uRL, ref object frame, ref object statusCode, ref bool cancel) {
  1278.             DWebBrowserEvents2_NavigateErrorEvent navigateerrorEvent = new DWebBrowserEvents2_NavigateErrorEvent(pDisp, uRL, frame, statusCode, cancel);
  1279.             this.parent.RaiseOnNavigateError(this.parent, navigateerrorEvent);
  1280.             uRL = navigateerrorEvent.uRL;
  1281.             frame = navigateerrorEvent.frame;
  1282.             statusCode = navigateerrorEvent.statusCode;
  1283.             cancel = navigateerrorEvent.cancel;
  1284.         }
  1285.         
  1286.         public virtual void FileDownload(ref bool cancel) {
  1287.             DWebBrowserEvents2_FileDownloadEvent filedownloadEvent = new DWebBrowserEvents2_FileDownloadEvent(cancel);
  1288.             this.parent.RaiseOnFileDownload(this.parent, filedownloadEvent);
  1289.             cancel = filedownloadEvent.cancel;
  1290.         }
  1291.         
  1292.         public virtual void SetSecureLockIcon(int secureLockIcon) {
  1293.             DWebBrowserEvents2_SetSecureLockIconEvent setsecurelockiconEvent = new DWebBrowserEvents2_SetSecureLockIconEvent(secureLockIcon);
  1294.             this.parent.RaiseOnSetSecureLockIcon(this.parent, setsecurelockiconEvent);
  1295.         }
  1296.         
  1297.         public virtual void ClientToHostWindow(ref int cX, ref int cY) {
  1298.             DWebBrowserEvents2_ClientToHostWindowEvent clienttohostwindowEvent = new DWebBrowserEvents2_ClientToHostWindowEvent(cX, cY);
  1299.             this.parent.RaiseOnClientToHostWindow(this.parent, clienttohostwindowEvent);
  1300.             cX = clienttohostwindowEvent.cX;
  1301.             cY = clienttohostwindowEvent.cY;
  1302.         }
  1303.         
  1304.         public virtual void WindowClosing(bool isChildWindow, ref bool cancel) {
  1305.             DWebBrowserEvents2_WindowClosingEvent windowclosingEvent = new DWebBrowserEvents2_WindowClosingEvent(isChildWindow, cancel);
  1306.             this.parent.RaiseOnWindowClosing(this.parent, windowclosingEvent);
  1307.             cancel = windowclosingEvent.cancel;
  1308.         }
  1309.         
  1310.         public virtual void WindowSetHeight(int height) {
  1311.             DWebBrowserEvents2_WindowSetHeightEvent windowsetheightEvent = new DWebBrowserEvents2_WindowSetHeightEvent(height);
  1312.             this.parent.RaiseOnWindowSetHeight(this.parent, windowsetheightEvent);
  1313.         }
  1314.         
  1315.         public virtual void WindowSetWidth(int width) {
  1316.             DWebBrowserEvents2_WindowSetWidthEvent windowsetwidthEvent = new DWebBrowserEvents2_WindowSetWidthEvent(width);
  1317.             this.parent.RaiseOnWindowSetWidth(this.parent, windowsetwidthEvent);
  1318.         }
  1319.         
  1320.         public virtual void WindowSetTop(int top) {
  1321.             DWebBrowserEvents2_WindowSetTopEvent windowsettopEvent = new DWebBrowserEvents2_WindowSetTopEvent(top);
  1322.             this.parent.RaiseOnWindowSetTop(this.parent, windowsettopEvent);
  1323.         }
  1324.         
  1325.         public virtual void WindowSetLeft(int left) {
  1326.             DWebBrowserEvents2_WindowSetLeftEvent windowsetleftEvent = new DWebBrowserEvents2_WindowSetLeftEvent(left);
  1327.             this.parent.RaiseOnWindowSetLeft(this.parent, windowsetleftEvent);
  1328.         }
  1329.         
  1330.         public virtual void WindowSetResizable(bool resizable) {
  1331.             DWebBrowserEvents2_WindowSetResizableEvent windowsetresizableEvent = new DWebBrowserEvents2_WindowSetResizableEvent(resizable);
  1332.             this.parent.RaiseOnWindowSetResizable(this.parent, windowsetresizableEvent);
  1333.         }
  1334.         
  1335.         public virtual void OnTheaterMode(bool theaterMode) {
  1336.             DWebBrowserEvents2_OnTheaterModeEvent ontheatermodeEvent = new DWebBrowserEvents2_OnTheaterModeEvent(theaterMode);
  1337.             this.parent.RaiseOnOnTheaterMode(this.parent, ontheatermodeEvent);
  1338.         }
  1339.         
  1340.         public virtual void OnFullScreen(bool fullScreen) {
  1341.             DWebBrowserEvents2_OnFullScreenEvent onfullscreenEvent = new DWebBrowserEvents2_OnFullScreenEvent(fullScreen);
  1342.             this.parent.RaiseOnOnFullScreen(this.parent, onfullscreenEvent);
  1343.         }
  1344.         
  1345.         public virtual void OnStatusBar(bool statusBar) {
  1346.             DWebBrowserEvents2_OnStatusBarEvent onstatusbarEvent = new DWebBrowserEvents2_OnStatusBarEvent(statusBar);
  1347.             this.parent.RaiseOnOnStatusBar(this.parent, onstatusbarEvent);
  1348.         }
  1349.         
  1350.         public virtual void OnMenuBar(bool menuBar) {
  1351.             DWebBrowserEvents2_OnMenuBarEvent onmenubarEvent = new DWebBrowserEvents2_OnMenuBarEvent(menuBar);
  1352.             this.parent.RaiseOnOnMenuBar(this.parent, onmenubarEvent);
  1353.         }
  1354.         
  1355.         public virtual void OnToolBar(bool toolBar) {
  1356.             DWebBrowserEvents2_OnToolBarEvent ontoolbarEvent = new DWebBrowserEvents2_OnToolBarEvent(toolBar);
  1357.             this.parent.RaiseOnOnToolBar(this.parent, ontoolbarEvent);
  1358.         }
  1359.         
  1360.         public virtual void OnVisible(bool visible) {
  1361.             DWebBrowserEvents2_OnVisibleEvent onvisibleEvent = new DWebBrowserEvents2_OnVisibleEvent(visible);
  1362.             this.parent.RaiseOnOnVisible(this.parent, onvisibleEvent);
  1363.         }
  1364.         
  1365.         public virtual void OnQuit() {
  1366.             System.EventArgs onquitEvent = new System.EventArgs();
  1367.             this.parent.RaiseOnOnQuit(this.parent, onquitEvent);
  1368.         }
  1369.         
  1370.         public virtual void DocumentComplete(object pDisp, ref object uRL) {
  1371.             DWebBrowserEvents2_DocumentCompleteEvent documentcompleteEvent = new DWebBrowserEvents2_DocumentCompleteEvent(pDisp, uRL);
  1372.             this.parent.RaiseOnDocumentComplete(this.parent, documentcompleteEvent);
  1373.             uRL = documentcompleteEvent.uRL;
  1374.         }
  1375.         
  1376.         public virtual void NavigateComplete2(object pDisp, ref object uRL) {
  1377.             DWebBrowserEvents2_NavigateComplete2Event navigatecomplete2Event = new DWebBrowserEvents2_NavigateComplete2Event(pDisp, uRL);
  1378.             this.parent.RaiseOnNavigateComplete2(this.parent, navigatecomplete2Event);
  1379.             uRL = navigatecomplete2Event.uRL;
  1380.         }
  1381.         
  1382.         public virtual void NewWindow2(ref object ppDisp, ref bool cancel) {
  1383.             DWebBrowserEvents2_NewWindow2Event newwindow2Event = new DWebBrowserEvents2_NewWindow2Event(ppDisp, cancel);
  1384.             this.parent.RaiseOnNewWindow2(this.parent, newwindow2Event);
  1385.             ppDisp = newwindow2Event.ppDisp;
  1386.             cancel = newwindow2Event.cancel;
  1387.         }
  1388.         
  1389.         public virtual void BeforeNavigate2(object pDisp, ref object uRL, ref object flags, ref object targetFrameName, ref object postData, ref object headers, ref bool cancel) {
  1390.             DWebBrowserEvents2_BeforeNavigate2Event beforenavigate2Event = new DWebBrowserEvents2_BeforeNavigate2Event(pDisp, uRL, flags, targetFrameName, postData, headers, cancel);
  1391.             this.parent.RaiseOnBeforeNavigate2(this.parent, beforenavigate2Event);
  1392.             uRL = beforenavigate2Event.uRL;
  1393.             flags = beforenavigate2Event.flags;
  1394.             targetFrameName = beforenavigate2Event.targetFrameName;
  1395.             postData = beforenavigate2Event.postData;
  1396.             headers = beforenavigate2Event.headers;
  1397.             cancel = beforenavigate2Event.cancel;
  1398.         }
  1399.         
  1400.         public virtual void PropertyChange(string szProperty) {
  1401.             DWebBrowserEvents2_PropertyChangeEvent propertychangeEvent = new DWebBrowserEvents2_PropertyChangeEvent(szProperty);
  1402.             this.parent.RaiseOnPropertyChange(this.parent, propertychangeEvent);
  1403.         }
  1404.         
  1405.         public virtual void TitleChange(string text) {
  1406.             DWebBrowserEvents2_TitleChangeEvent titlechangeEvent = new DWebBrowserEvents2_TitleChangeEvent(text);
  1407.             this.parent.RaiseOnTitleChange(this.parent, titlechangeEvent);
  1408.         }
  1409.         
  1410.         public virtual void DownloadComplete() {
  1411.             System.EventArgs downloadcompleteEvent = new System.EventArgs();
  1412.             this.parent.RaiseOnDownloadComplete(this.parent, downloadcompleteEvent);
  1413.         }
  1414.         
  1415.         public virtual void DownloadBegin() {
  1416.             System.EventArgs downloadbeginEvent = new System.EventArgs();
  1417.             this.parent.RaiseOnDownloadBegin(this.parent, downloadbeginEvent);
  1418.         }
  1419.         
  1420.         public virtual void CommandStateChange(int command, bool enable) {
  1421.             DWebBrowserEvents2_CommandStateChangeEvent commandstatechangeEvent = new DWebBrowserEvents2_CommandStateChangeEvent(command, enable);
  1422.             this.parent.RaiseOnCommandStateChange(this.parent, commandstatechangeEvent);
  1423.         }
  1424.         
  1425.         public virtual void ProgressChange(int progress, int progressMax) {
  1426.             DWebBrowserEvents2_ProgressChangeEvent progresschangeEvent = new DWebBrowserEvents2_ProgressChangeEvent(progress, progressMax);
  1427.             this.parent.RaiseOnProgressChange(this.parent, progresschangeEvent);
  1428.         }
  1429.         
  1430.         public virtual void StatusTextChange(string text) {
  1431.             DWebBrowserEvents2_StatusTextChangeEvent statustextchangeEvent = new DWebBrowserEvents2_StatusTextChangeEvent(text);
  1432.             this.parent.RaiseOnStatusTextChange(this.parent, statustextchangeEvent);
  1433.         }
  1434.     }
  1435. }