private void HostElement_OneOffixxWebViewHostInvoked(object sender, OneOffixxWebViewHostEventArgs e) { Dispatcher.Invoke(() => { this.DialogResult = true; this.Close(); }); }
public void done(string json) { if (OneOffixxWebViewHostInvoked != null) { OneOffixxWebViewHostEventArgs args = new OneOffixxWebViewHostEventArgs(); args.Json = json; OneOffixxWebViewHostInvoked(this, args); } }