private void CreateWebView() { this.m_webView = new OpenIZWebView(); this.m_webView.Editable = true; this.m_webView.TitleChanged += (o, e) => { this.Title = "OpenIZ Disconnected Client"; }; this.m_webView.ConsoleMessage += new ConsoleSignalHandler(this.ConsoleMessage); this.m_webView.Settings = new WebkitSettings("OpenIZ-DC " + ApplicationContext.Current.ExecutionUuid.ToString()); }
private void CreateWebView() { this.m_webView = new OpenIZWebView(); this.m_webView.Editable = false; this.m_webView.TitleChanged += (o, e) => { this.Title = "OpenIZ Disconnected Client"; }; this.m_webView.Settings = new WebkitSettings("OpenIZ-DC " + ApplicationContext.Current.ExecutionUuid.ToString()); this.m_webView.Closed += (sender, e) => { ApplicationContext.Current.SetProgress("Shutting down...", 0); ApplicationContext.Current.Stop(); this.Destroy(); Application.Quit(); }; this.m_webView.ConsoleMessage += (sender, e) => { this.m_tracer.TraceInfo(e.Message); }; }