提交 4d47ed66 编写于 作者: Z ZouJin

修复快捷键错误

上级 a200b6eb
......@@ -209,7 +209,14 @@ namespace VPet_Simulator.Windows
}
else
{
System.Windows.Forms.SendKeys.SendWait(content);
try
{
System.Windows.Forms.SendKeys.SendWait(content);
}
catch (Exception e)
{
MessageBox.Show("快捷键运行失败:无法运行指定内容".Translate() + '\n' + e.Message);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册