mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复快捷键错误
This commit is contained in:
parent
a200b6ebaf
commit
4d47ed66ca
@ -208,9 +208,16 @@ namespace VPet_Simulator.Windows
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
System.Windows.Forms.SendKeys.SendWait(content);
|
System.Windows.Forms.SendKeys.SendWait(content);
|
||||||
}
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
MessageBox.Show("快捷键运行失败:无法运行指定内容".Translate() + '\n' + e.Message);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ShowSetting(int page = -1)
|
public void ShowSetting(int page = -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user