--- a/test/TestMenu/TestMenu/ActionOpenMedia.cs Wed Aug 05 16:23:13 2009 +0200
+++ b/test/TestMenu/TestMenu/ActionOpenMedia.cs Wed Aug 05 17:19:23 2009 +0200
@@ -28,7 +28,7 @@
public void Execute()
{
- MessageBox.Show(_Text);
+ MessageBox.Show(_Text);
}
}
}
--- a/test/TestMenu/TestMenu/ActionPlayMedia.cs Wed Aug 05 16:23:13 2009 +0200
+++ b/test/TestMenu/TestMenu/ActionPlayMedia.cs Wed Aug 05 17:19:23 2009 +0200
@@ -10,8 +10,7 @@
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
-using System.Windows.Threading;
-using Microsoft.Surface;
+using System.Windows.Threading;using Microsoft.Surface;
using Microsoft.Surface.Presentation;
using Microsoft.Surface.Presentation.Controls;
--- a/test/TestMenu/TestMenu/SurfaceWindow1.xaml Wed Aug 05 16:23:13 2009 +0200
+++ b/test/TestMenu/TestMenu/SurfaceWindow1.xaml Wed Aug 05 17:19:23 2009 +0200
@@ -10,6 +10,5 @@
<Grid Background="{StaticResource WindowBackground}" >
<s:SurfaceMenu x:Name="MyMenu" Cursor="None" Height="52" VerticalAlignment="Bottom" Margin="77,0,88,179"/>
- <s:ElementMenu HorizontalAlignment="Left" Margin="118,109,0,249" Width="122" x:Name="MyMenu2"/>
</Grid>
</s:SurfaceWindow>
--- a/test/TestMenu/TestMenu/SurfaceWindow1.xaml.cs Wed Aug 05 16:23:13 2009 +0200
+++ b/test/TestMenu/TestMenu/SurfaceWindow1.xaml.cs Wed Aug 05 17:19:23 2009 +0200
@@ -50,7 +50,7 @@
MItem.Visibility = Visibility.Visible;
if (item.Items.Count == 0)
{
- MItem.ContactDown += GenerateAction;
+ //MItem.ContactDown += GenerateAction;
MItem.Click += GenerateAction;
}
foreach (Item elt in item.Items) MItem.Items.Add(CreateMenuItem(elt));