System.Html.WindowInstance.CaptureEvents C# (CSharp) Method