--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs Mon Aug 03 22:36:46 2009 +0200
@@ -0,0 +1,43 @@
+using System;
+using System.IO;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Navigation;
+
+namespace FingersDance.Control.TimeLine
+{
+ public partial class UserControlTimeLine
+ {
+ public Microsoft.Surface.Presentation.Controls.SurfaceSlider Slider
+ {
+ get {
+ return SurfaceSlider;
+ }
+ set {
+ SurfaceSlider = value;
+ }
+ }
+
+ public UserControlTimeLine()
+ {
+ this.InitializeComponent();
+
+ // Insert code required on object creation below this point.
+ }
+
+ private void SurfaceSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
+ {
+ /*TimeSpan ts = TimeSpan.FromSeconds(e.NewValue);
+ LabelSliderPosition.Content =
+ String.Format("{0:00}:{1:00}:{2:00}",
+ ts.Hours, ts.Minutes, ts.Seconds);
+ SurfaceSlider.Maximum = ts.TotalSeconds;
+ SurfaceSlider.SmallChange = 1;
+ SurfaceSlider.LargeChange = Math.Min(10, ts.Seconds / 10);*/
+ }
+ }
+}
\ No newline at end of file