private void ToTimerTick(object sender, EventArgs e) { toTimer.Stop(); if (!Pinned && AutoClose && CanPin) Close(); }