diff -r 68f4c0d7a7fc -r 6a738974dd2e src/FingersDance.Control.Screen/UserControlScreen.xaml.cs --- a/src/FingersDance.Control.Screen/UserControlScreen.xaml.cs Wed Sep 23 17:24:33 2009 +0200 +++ b/src/FingersDance.Control.Screen/UserControlScreen.xaml.cs Wed Sep 23 17:48:18 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