WPF程序锁屏解锁后异常
作者:互联网
private void Application_Startup(object sender, StartupEventArgs e)
{
mutex = new System.Threading.Mutex(true, "Yonyou_RpaStudio", out bool ret);
if (!ret)
{
MessageBox.Show("程序已运行!");
Environment.Exit(0);
}
RenderOptions.ProcessRenderMode = System.Windows.Interop.RenderMode.SoftwareOnly;
}
标签:Yonyou,解锁,程序,System,ret,Environment,private,锁屏,WPF 来源: https://www.cnblogs.com/xietianjiao/p/15214282.html