private void btnFastRegister_Click(object sender, EventArgs e) { RightMenu.ShiftSetting shift = chkFastNeedShiftKey.Checked ? RightMenu.ShiftSetting.True : RightMenu.ShiftSetting.False; RightMenu.Add(shift, RightMenu.FastSetting.True); }