Is there an easy way of ensuring that only a single instance of a windows forms application is running? And preferably if it is already running, raise that instance.
The path I was going down was to:
1. before the main window was created, check if the process is already running.
2. get the process id
3. get the window handle for the process id
and now I'm not sure how to get that window to be raised to the top.