diff -r 067f4a6c0cca -r 3e8532a77c2e src/FingersDance.Control.Screen/UserControlScreen.xaml.cs --- a/src/FingersDance.Control.Screen/UserControlScreen.xaml.cs Wed Sep 23 16:47:42 2009 +0200 +++ b/src/FingersDance.Control.Screen/UserControlScreen.xaml.cs Wed Sep 23 16:56:08 2009 +0200 @@ -12,6 +12,7 @@ { public partial class UserControlScreen { + public String contexteGrid; public UserControlScreen() { this.InitializeComponent(); @@ -19,6 +20,16 @@ // Insert code required on object creation below this point. } + //Rajout un UIElement vers la grid du screen. + public void AddToGrid(UIElement uie) + { + if (uie != null) + { + try { LayoutRoot.Children.Add(uie); } + catch(Exception){} + } + } + } } \ No newline at end of file