Go to file
2019-04-14 17:51:42 +02:00
Mk0.Tools.SingleInstance Initial 2019-03-22 23:12:32 +01:00
.gitignore nuget 2019-04-14 17:51:36 +02:00
LICENSE Update LICENSE 2019-04-14 16:40:01 +02:00
Mk0.Tools.SingleInstance.sln Initial 2019-03-22 23:12:32 +01:00
README.md Initial 2019-03-22 23:12:32 +01:00

Mk0.Tools.SingleInstance

(C) 2019 mk0.at

With this code you are able to make your application a single instance.

Usage example:

static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); SingleApplication.Run(new MainForm(), Demo.Properties.Settings.Default.singleInstance); }

MainForm is the form to show on start singleInstance is an optional boolean value, where you can enable/disable SingleInstance within your application settings