Ch.Epyx.WindMobile.WP7.View.StationDataControl.UpdateTrend C# (CSharp) Method

UpdateTrend() private method

private UpdateTrend ( ) : void
return void
        private void UpdateTrend()
        {
            if (ViewModel != null && ViewModel.StationData != null)
            {
                //this.TrendRotateTransform.Angle = -ViewModel.StationData.WindTrend;
                //this.RotateTrendAnimationAngle.To = -ViewModel.StationData.WindTrend;
                //this.RotateTrendAnimation.Begin();
                Animate();
                ImageTrend.Source = new BitmapImage(
                    new Uri("../../Images/arrow_" +
                        (ViewModel.StationData.WindTrend > 0 ? "red" : "green") + ".png", UriKind.Relative)
                    );
                //"/WindMobile-WP7;component
            }
        }