Single instance windows forms application and how to get reference on it?

前端 未结 4 436
轮回少年
轮回少年 2021-01-06 02:09

I have a Windows Forms application that allows only one instance to be running at the time. I have implemented Singleton by using Mutex. The Application must be startable fr

4条回答
  •  轮回少年
    2021-01-06 02:32

    I think the easiest way is the following

    see the link

    http://codenicely.blogspot.com/2010/04/creating-forms-object.html

提交回复
热议问题