/// <summary> /// Opens a form the save the current definition under a custom name. /// </summary> private void mnuSaveDefinitionAs_Click(object sender, EventArgs e) { using (var saveForm = new SaveKeyboardAsForm()) { saveForm.ShowDialog(this); } }