Пример #1
0
 protected override void OnSourceInitialized(EventArgs e)
 {
     var cm = new ClipboardManager(this);
     cm.ClipboardUpdated += cm_ClipboardUpdated;
     clipboardWatcher.DataContext = cm;
     base.OnSourceInitialized(e);
 }
Пример #2
0
 public CopyToHarmonizerCommand(ClipboardManager cm)
 {
     System.Diagnostics.Debug.WriteLine("Command: mine = {0}", cm.GetHashCode());
     this.cm = cm;
 }