public void RemoveFixed()
{
if (_fixedPressed)
{
// Mouse no longer considered pressed down
_mouseDown = false;
// No longer in fixed state mode
_fixedPressed = false;
// Update appearance to reflect current state
_updateTimer.Start();
}
}
private void ClickFinished(object sender, EventArgs e) { // Get access to our mouse controller LeftDownButtonController controller = (LeftDownButtonController)MouseController; // Remove the fixed pressed appearance controller.RemoveFixed(); }