protected override bool ProcessMnemonic(char charCode)
{
bool wrapped = false;
Control c = active_control;
do
{
c = GetNextControl(c, true);
if (c != null)
{
// This is stupid. I want to be able to call c.ProcessMnemonic directly
if (c.ProcessControlMnemonic(charCode))
{
return(true);
}
continue;
}
else
{
if (wrapped)
{
break;
}
wrapped = true;
}
} while (c != active_control);
return(false);
}