Imported 1.x Project Files

This commit is contained in:
2019-03-05 20:24:01 +00:00
commit 8a6bbbf08a
70 changed files with 17183 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VmwareLauncher
{
class InstanceCheck
{
public void doCheck()
{
Process[] proc = Process.GetProcessesByName("vmwarelauncher");
if (proc.Count() != 1)
{
ErrorHandler.ShowError(ErrorHandler.ErrorCode.TooManyVMLInstances);
Environment.Exit(0);
}
}
}
}