private void textBoxLic_KeyDown(object sender, KeyEventArgs e) { const string strLic = "SPACECODE@123456"; if (e.KeyCode == Keys.L && e.Modifiers == Keys.Control) { if (textBoxLic.Text != strLic) { return; } lic.Remove(); lic.ResetCustomInfo(); lic.ResetEvaluationInfo(); MessageBox.Show(ResStrings.str_License_removed, ResStrings.strInfo, MessageBoxButtons.OK, MessageBoxIcon.Warning); } }