src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs
changeset 72 f1ca0958c992
child 77 e95e916eb018
equal deleted inserted replaced
71:31900a35e162 72:f1ca0958c992
       
     1 using System;
       
     2 using System.IO;
       
     3 using System.Net;
       
     4 using System.Windows;
       
     5 using System.Windows.Controls;
       
     6 using System.Windows.Data;
       
     7 using System.Windows.Media;
       
     8 using System.Windows.Media.Animation;
       
     9 using System.Windows.Navigation;
       
    10 
       
    11 namespace FingersDance.Control.ListVideo
       
    12 {
       
    13 	public partial class UserControlListVideo
       
    14 	{
       
    15 
       
    16         public event EventHandler EH_ItemVideo1_ContactDown;
       
    17         public event EventHandler EH_ItemVideo2_ContactDown;
       
    18 
       
    19 		public UserControlListVideo()
       
    20 		{
       
    21 			this.InitializeComponent();
       
    22 
       
    23 			// Insert code required on object creation below this point.
       
    24 		}
       
    25 
       
    26         private void ItemVideo1_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
       
    27         {
       
    28             if (EH_ItemVideo1_ContactDown != null)
       
    29                 EH_ItemVideo1_ContactDown(this, new EventArgs());
       
    30         }
       
    31 
       
    32         private void ItemVideo2_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
       
    33         {
       
    34             if (EH_ItemVideo2_ContactDown != null)
       
    35                 EH_ItemVideo2_ContactDown(this, new EventArgs());
       
    36         }
       
    37 
       
    38         private void ItemVideo1_Selected(object sender, RoutedEventArgs e)
       
    39         {
       
    40 
       
    41         }
       
    42 
       
    43         private void ItemVideo1_ContactTapGesture(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
       
    44         {
       
    45             if (EH_ItemVideo1_ContactDown != null)
       
    46                 EH_ItemVideo1_ContactDown(this, new EventArgs());
       
    47         }
       
    48 	}
       
    49 }