コード例 #1
0
 public static void KeyUp(Keys key)
 {
     if (Input.IsKeyDown(key) == true)
     {
         Input.KeyUp(key);
     }
 }
コード例 #2
0
 public static void KeyPress(Keys key)
 {
     Input.KeyDown(key);
     Thread.Sleep(1);
     Input.KeyUp(key);
 }