src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs
changeset 72 f1ca0958c992
child 77 e95e916eb018
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs	Thu Sep 17 08:31:15 2009 +0200
@@ -0,0 +1,49 @@
+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.ListVideo
+{
+	public partial class UserControlListVideo
+	{
+
+        public event EventHandler EH_ItemVideo1_ContactDown;
+        public event EventHandler EH_ItemVideo2_ContactDown;
+
+		public UserControlListVideo()
+		{
+			this.InitializeComponent();
+
+			// Insert code required on object creation below this point.
+		}
+
+        private void ItemVideo1_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
+        {
+            if (EH_ItemVideo1_ContactDown != null)
+                EH_ItemVideo1_ContactDown(this, new EventArgs());
+        }
+
+        private void ItemVideo2_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
+        {
+            if (EH_ItemVideo2_ContactDown != null)
+                EH_ItemVideo2_ContactDown(this, new EventArgs());
+        }
+
+        private void ItemVideo1_Selected(object sender, RoutedEventArgs e)
+        {
+
+        }
+
+        private void ItemVideo1_ContactTapGesture(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
+        {
+            if (EH_ItemVideo1_ContactDown != null)
+                EH_ItemVideo1_ContactDown(this, new EventArgs());
+        }
+	}
+}
\ No newline at end of file