Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static void SingleInstanceCallback(object sender, InstanceCallbackEventArgs args)
- {
- if (args == null || _mainFrm == null) return;
- Action<bool> d = (bool x) =>
- {
- _mainFrm.ApendArgs(args.CommandLineArgs);
- _mainFrm.Activate(x);
- };
- _mainFrm.Invoke(d, true);
- }
Add Comment
Please, Sign In to add comment