Guest User

Untitled

a guest
May 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. private static void SingleInstanceCallback(object sender, InstanceCallbackEventArgs args)
  2. {
  3. if (args == null || _mainFrm == null) return;
  4. Action<bool> d = (bool x) =>
  5. {
  6. _mainFrm.ApendArgs(args.CommandLineArgs);
  7. _mainFrm.Activate(x);
  8. };
  9. _mainFrm.Invoke(d, true);
  10. }
Add Comment
Please, Sign In to add comment