public override bool KeyUp(Control c, KeyEventArgs e)
{
Debug.Assert(e != null);
// Validate reference parameter
if (e == null) throw new ArgumentNullException("e");
// If the user pressed the escape key
if (e.KeyCode == Keys.Escape)
{
// If we are capturing mouse input
if (_moving)
AbortMoving();
}
return _moving;
}