void browser_WBKeyUp(object sender, csExWB.WBKeyUpEventArgs e) { switch (e.keycode) { case Keys.Escape: Selector.Restore(); Selector.AreaRestore(); selectorStripButton.Checked = false; selectAreaToolStripButton.Checked = false; break; default: break; } }