Exemple #1
0
 public void setString(string text)
 {
     DispatcherHelpers.RunOnDispatcher(new Action(() =>
     {
         _clipboard.SetText(text);
     }));
 }
 public void setString(string text)
 {
     DispatcherHelpers.RunOnDispatcher(new Action(() =>
     {
         try
         {
             _clipboard.SetText(text);
         }
         catch (Exception)
         {
             // Ignored
         }
     }));
 }
Exemple #3
0
 public void setString(string text)
 {
     _clipboard.SetText(text);
 }