--- a/src/FingersDance.Control.Screen/UserControlScreen.xaml.cs Wed Sep 23 09:59:30 2009 +0200
+++ b/src/FingersDance.Control.Screen/UserControlScreen.xaml.cs Wed Sep 23 11:10:02 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