--- a/src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs Tue Oct 13 19:09:46 2009 +0200
+++ b/src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs Tue Oct 13 19:33:13 2009 +0200
@@ -23,6 +23,7 @@
public event EventHandler EH_ItemVideo1_ContactDown;
public string path = "";
+ public string VideoName = "";
public UserControlListVideo()
{
@@ -36,6 +37,7 @@
private void ItemVideo_ContactTapGesture(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
{
path = ((CustomListBoxItem)sender).Path;
+ VideoName = path;
if (EH_ItemVideo1_ContactDown != null)
EH_ItemVideo1_ContactDown(this, new EventArgs());
@@ -44,6 +46,7 @@
private void ItemVideo_Click(object sender, System.Windows.RoutedEventArgs e)
{
path = ((CustomListBoxItem)sender).Path;
+ VideoName = path;
if (EH_ItemVideo1_ContactDown != null)
EH_ItemVideo1_ContactDown(this, new EventArgs());