private void CheckButtonRemoved(KryptonCheckButton checkButton)
{
// Unhook from monitoring events
checkButton.CheckedChanging -= new CancelEventHandler(OnCheckedChanging);
checkButton.CheckedChanged -= new EventHandler(OnCheckedChanged);
// If the removed button is the currently checked one
if (_checkedButton == checkButton)
{
// Then we no longer have a currently checked button
_checkedButton = null;
// Generate event to show the value has changed
OnCheckedButtonChanged(EventArgs.Empty);
}
}