wenxiangchao
3 天以前 b544d5cccd76735e034c8055918a50927b437474
WPFProject/App.xaml.cs
@@ -3,7 +3,9 @@
using HMI.UI.Util;
using log4net;
using Microsoft.Win32;
using OpenTap.Addin.Util;
using Panuon.WPF.UI;
using Plugin.TsSupport;
using System;
using System.Diagnostics;
using System.IO;
@@ -93,9 +95,10 @@
        {
            var process = GetProcess();
            mutex = new Mutex(true, "TestPlatform_OnlyRun_CRNS");
            mutex = new Mutex(true, "TestPlatform_OnlyRun_CRNS__");
            if (mutex.WaitOne(0, false))//&& process == null
            {
                RegUtil.Register(new Net47Getter());
                WriteRegister();
                try
                {