public void StartAnim(float step) { if (scAnim == null) return; scAnim.Stop(); stepAnim = new ScStepAnimation(panelView.Location.X, step, scAnim); scAnim.Start(); }
public void StartProgressAnim() { progressAnim.Stop(); progressStep = new ScStepAnimation(animProgress, animStep, progressAnim); progressAnim.Start(); }