private void MainForm_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode != Keys.F12) { GameBoyRevampedBLL.SendKeys(e.KeyCode, true); } else { PrintScreen(); } }
private void MainForm_KeyUp(object sender, KeyEventArgs e) { GameBoyRevampedBLL.SendKeys(e.KeyCode, false); }