如何在Keys中使用变量的值。功能? 像这样:
string Key = "A";
if (Keys.M == e.Key)
{
StreamReader read = new StreamReader(File.OpenRead(path));
Key = read.ReadToEnd();
Game.DisplayText(Key);
}
if (Keys.Key == e.Key)
{
Game.DisplayText("It is working perfectly");
}