// Close button in tray bar context menu private void TrayBarMenuClose_Click(object sender, EventArgs e) { CursorTimer.Stop(); Close(); }
// Stop button private void StopButton_Click(object sender, EventArgs e) { SetStatus(STATUS_IDLE_STR); EnableGuiOnStop(); CursorTimer.Stop(); }