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;
}