single-instance-check using mutex. With showing previous instance MainWindow.

/ Published in: C#
Save to your folder(s)

This snippet is based on [jimfred's snippet]( "ingle-instance-check using mutex. Implements a static function to be called in Program::Main()."). Second instance of application shows MainWindow of the previous one instance of application, even if it has become invisible.
This is may be usefull when the very first instance sits in the tray and hides their own MainWindow.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.