# HG changeset patch # User PAMPHILE Jonathan # Date 1249482193 -7200 # Node ID f2ef7a3f44705598cdd7b484fe2b9736ef410949 # Parent d33c9918a3484eaa1ceef35cd2020285aacc5cee Test des menus diff -r d33c9918a348 -r f2ef7a3f4470 test/TestMenu/TestMenu/ActionOpenMedia.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/TestMenu/TestMenu/ActionOpenMedia.cs Wed Aug 05 16:23:13 2009 +0200 @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Shapes; +using System.Windows.Threading; +using Microsoft.Surface; +using Microsoft.Surface.Presentation; +using Microsoft.Surface.Presentation.Controls; + +namespace TestMenu +{ + class ActionOpenMedia : ActionBase + { + string _Text = ""; + + public ActionOpenMedia(string text) + { + _Text = text; + } + + public void Execute() + { + MessageBox.Show(_Text); + } + } +} diff -r d33c9918a348 -r f2ef7a3f4470 test/TestMenu/TestMenu/ActionPlayMedia.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/TestMenu/TestMenu/ActionPlayMedia.cs Wed Aug 05 16:23:13 2009 +0200 @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Shapes; +using System.Windows.Threading; +using Microsoft.Surface; +using Microsoft.Surface.Presentation; +using Microsoft.Surface.Presentation.Controls; + +namespace TestMenu +{ + class ActionPlayMedia : ActionBase + { + string _Text = ""; + + public ActionPlayMedia(string text) + { + _Text = text; + } + + public void Execute() + { + MessageBox.Show(_Text); + } + } +} diff -r d33c9918a348 -r f2ef7a3f4470 test/TestMenu/TestMenu/ActionStopMedia.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/TestMenu/TestMenu/ActionStopMedia.cs Wed Aug 05 16:23:13 2009 +0200 @@ -0,0 +1,34 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Shapes; +using System.Windows.Threading; +using Microsoft.Surface; +using Microsoft.Surface.Presentation; +using Microsoft.Surface.Presentation.Controls; + +namespace TestMenu +{ + class ActionStopMedia : ActionBase + { + string _Text = ""; + + public ActionStopMedia(string text) + { + _Text = text; + } + + public void Execute() + { + MessageBox.Show(_Text); + } + } +} diff -r d33c9918a348 -r f2ef7a3f4470 test/TestMenu/TestMenu/TestMenu.csproj --- a/test/TestMenu/TestMenu/TestMenu.csproj Wed Aug 05 16:16:52 2009 +0200 +++ b/test/TestMenu/TestMenu/TestMenu.csproj Wed Aug 05 16:23:13 2009 +0200 @@ -90,7 +90,10 @@ + + + diff -r d33c9918a348 -r f2ef7a3f4470 test/TestMenu/TestMenu/test.xml --- a/test/TestMenu/TestMenu/test.xml Wed Aug 05 16:16:52 2009 +0200 +++ b/test/TestMenu/TestMenu/test.xml Wed Aug 05 16:23:13 2009 +0200 @@ -2,56 +2,29 @@ - Elt1 + Item1 - Elt1-1 - - - ShowMessage - - - - Elt1-1_2 - - - - Elt1-1_3 - - - + ShowMessage + - Elt1-2 - - - Elt1-2_1 - - - + PlayMedia + - Elt2 + Item2 - Elt2-1 - - - Elt2-1_1 - - - - Elt2-1_2 - - - + StopMedia + - Elt3 + OpenMedia