public void StopAllTimer() { EnterDelayTimer.Stop(); EnterTimer.Stop(); BackEnterDelayTimer.Stop(); LeaveTimer.Stop(); LeaveDelayTimer.Stop(); OutTimer.Stop(); OutDelayTimer.Stop(); }
public virtual void StopDeal() { EnterTimer.Stop(); EnterDelayTimer.Stop(); BackEnterDelayTimer.Stop(); LeaveTimer.Stop(); LeaveDelayTimer.Stop(); OutTimer.Stop(); MotionStop(); Stop(); }
private void OutTimer_Tick(object sender, EventArgs e) { //si tiene mas del 30% de opacidad le resto opacidad if (this.Opacity > 0.3) { this.Opacity -= 0.1; } //paro el timer en 30% if (this.Opacity <= 0.3) { OutTimer.Stop(); } }