Allow only one application instance

烈酒焚心 提交于 2019-12-23 08:55:13

问题


I'm sorry about my title may be it make you confusing (it's just I don't know what words should I use). My problem is I don't want to allow user to open my application multiple time. Please help. Thank you in advance.


回答1:


Use the “Make single instance application” flag; in the solution explorer, right-click the project and select properties. See this question for more details.

MSDN documentation here.

Screenshot:




回答2:


Use the “Make single instance application” flag; in the solution explorer



来源:https://stackoverflow.com/questions/16196424/allow-only-one-application-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!