src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs
author sarias
Thu, 17 Sep 2009 08:31:15 +0200
changeset 72 f1ca0958c992
child 77 e95e916eb018
permissions -rw-r--r--
Travail sur le control List Video et comunication entre ListVideo et FingersDance

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());
        }
	}
}