private void edtSHORTKEY_KeyDown(object sender, KeyEventArgs e) { string KEYBIND = ""; try { if (e.Control && e.Shift && e.Alt) { KEYBIND = "CRT+ALT+SHIFT"; } else if (e.Control && e.Shift) { KEYBIND = "CRT+ALT"; } else if (e.Control && e.Alt) { KEYBIND = "CRT+SHIFT"; } else if (e.Control) { KEYBIND = "CRT"; } KEYBIND = DBase.AppentString(KEYBIND, e.KeyCode.ToString(), "+"); } catch (Exception) { } edtSHORTKEY.Text = KEYBIND; }