private void SetAddress(string text) {Dispatcher.BeginInvoke((Action) (() => { textBox.Text = text; }));} public void Shutdown() {WebView.Dispose();}