double sliderValue = slider.Value; TimeSpan Time = TimeSpan.FromHours(sliderValue); this.TimeText.Text = String.Format("0:hh\\:mm", Convert.ToString(Time));
this.TimeText.Text = Time.ToString("hh\\:mm\\:ss\\:ff");
var slider = sender as Slider; double sliderValue = Math.Round(slider.Value,2); TimeSpan Time = TimeSpan.FromHours(sliderValue); this.TimeText.Text = String.Format("{0:hh\\:mm\\:ss}",Convert.ToString(Time));
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)