public static void Get3DSecureBuying(Ticket ticket, Grid webBrowserGrid) { Is3DSecureBuyingCompleted = false; _webBrowser = new WebBrowser(); _actionResult = new ActionResult(); webBrowserGrid.Children.Add(_webBrowser); string html = BuyingParsing.Get3DSecureBuying(ticket); _webBrowser.IsScriptEnabled = true; _webBrowser.NavigateToString(html); _webBrowser.Navigated += webBrowser_Navigated; }