I have restricted my C# windows application to only allow one instance to be running at a time, using this question How to force C# .net app to run only one instance in Wind
try this...
System.Threading.Tasks.Task.Factory.StartNew(() => { SetForegroundWindow(this.Handle); });