// Event Handlers private void editor_KeyDown(object sender, KeyEventArgs e) { Form editor = sender as Form; if (e.KeyData == Keys.F3) { Do.CaptureScreens(editor); } }