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