Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode/Document Multimedia program Speech/Voice recognition/combine Applet
Title: RunOnceByProcess Download
 Description: C use Process name banned programs run multiple times, string moduleName = Process. The GetCurrentProcess () MainModule. ModuleName;/ / get the current activity process module name string processName = System. IO. Path. GetFileNameWithoutExtension (moduleName);/ / returns the specified path string filename Process [] the processes = Process. GetProcessesByName (processName);/ / array according to the file name to create process resources if the processes. The Length > 1) / / if the array Length is greater than 1, that run multiple times {MessageBox. Show (" this program can only run one instance at a time!", "tip", MessageBoxButtons. OK, MessageBoxIcon. Information);/ / popup tooltip enclosing the Close ();/ / close the current window}
 To Search:
File list (Click to check if it's the file you need, and recomment it at the bottom):
文件名大小更新时间
srcfans.com\RunOnceByProcess\RunOnceByProcess\Frm_Main.cs 1187 2017-03-14
srcfans.com\RunOnceByProcess\RunOnceByProcess\Frm_Main.designer.cs 21013 2010-08-27
srcfans.com\RunOnceByProcess\RunOnceByProcess\Frm_Main.resx 385829 2010-08-27
srcfans.com\RunOnceByProcess\RunOnceByProcess\Program.cs 500 2010-08-27
srcfans.com\RunOnceByProcess\RunOnceByProcess\Properties\AssemblyInfo.cs 1364 2010-08-27
srcfans.com\RunOnceByProcess\RunOnceByProcess\Properties\Resources.Designer.cs 2882 2010-08-27
srcfans.com\RunOnceByProcess\RunOnceByProcess\Properties\Resources.resx 5612 2010-08-27
srcfans.com\RunOnceByProcess\RunOnceByProcess\Properties\Settings.Designer.cs 1101 2010-08-27
srcfans.com\RunOnceByProcess\RunOnceByProcess\Properties\Settings.settings 249 2010-08-27
srcfans.com\RunOnceByProcess\RunOnceByProcess\RunOnceByProcess.csproj 3812 2010-08-27
srcfans.com\RunOnceByProcess\RunOnceByProcess.sln 938 2010-08-27
srcfans.com\RunOnceByProcess\RunOnceByProcess.suo 33280 2010-09-04
srcfans.com\RunOnceByProcess\RunOnceByProcess\Properties 0 2017-03-13
srcfans.com\RunOnceByProcess\RunOnceByProcess 0 2017-03-14
srcfans.com\RunOnceByProcess 0 2017-03-13
srcfans.com 0 2017-03-14

CodeBus www.codebus.net