public virtual void OnTheaterMode(bool theaterMode)
 {
     DWebBrowserEvents2_OnTheaterModeEvent ontheatermodeEvent = new DWebBrowserEvents2_OnTheaterModeEvent(theaterMode);
     this.parent.RaiseOnOnTheaterMode(this.parent, ontheatermodeEvent);
 }
 internal void RaiseOnOnTheaterMode(object sender, DWebBrowserEvents2_OnTheaterModeEvent e)
 {
     if ((this.OnTheaterMode != null))
     {
         this.OnTheaterMode(sender, e);
     }
 }