src/FingersDance.Control.Screen/UserControlScreen.xaml.cs
changeset 82 c37122b567fa
parent 80 605e2e2e053f
child 95 07972aa3f2e0
equal deleted inserted replaced
80:605e2e2e053f 82:c37122b567fa
    10 
    10 
    11 namespace FingersDance.Control.Screen
    11 namespace FingersDance.Control.Screen
    12 {
    12 {
    13 	public partial class UserControlScreen
    13 	public partial class UserControlScreen
    14 	{
    14 	{
       
    15         public String contexteGrid;
    15 		public UserControlScreen()
    16 		public UserControlScreen()
    16 		{
    17 		{
    17 			this.InitializeComponent();
    18 			this.InitializeComponent();
    18 
    19 
    19 			// Insert code required on object creation below this point.
    20 			// Insert code required on object creation below this point.
    20 		}
    21 		}
    21 
    22 
       
    23         //Rajout un UIElement vers la grid du screen.
       
    24         public void AddToGrid(UIElement uie)
       
    25         {
       
    26             if (uie != null)
       
    27             {
       
    28                 try { LayoutRoot.Children.Add(uie); }
       
    29                 catch(Exception){}
       
    30             }          
       
    31         }
       
    32 
    22        
    33        
    23 	}
    34 	}
    24 }
    35 }