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;

}

上一篇:Combobox 成员添加


下一篇:Spring系列.Environment接口