--- a/src/FingersDance/MainSurfaceWindow.xaml.cs Thu Sep 24 18:13:36 2009 +0200
+++ b/src/FingersDance/MainSurfaceWindow.xaml.cs Thu Sep 24 18:30:56 2009 +0200
@@ -298,25 +298,25 @@
switch (((UserControlScreen)sender).id)
{
case 1:
- Panel1 = new UserControlUserPanel();
+ Panel1 = new UserControlUserPanel(((UserControlScreen)sender).Path);
Panel1.Name = "UserPanel1";
//3-Rajout sur la Grid Root
root.Children.Add(Panel1);
break;
case 2:
- Panel2 = new UserControlUserPanel();
+ Panel2 = new UserControlUserPanel(((UserControlScreen)sender).Path);
Panel2.Name = "UserPanel2";
//3-Rajout sur la Grid Root
root.Children.Add(Panel2);
break;
case 3:
- Panel3 = new UserControlUserPanel();
+ Panel3 = new UserControlUserPanel(((UserControlScreen)sender).Path);
Panel3.Name = "UserPanel3";
//3-Rajout sur la Grid Root
root.Children.Add(Panel3);
break;
case 4:
- Panel4 = new UserControlUserPanel();
+ Panel4 = new UserControlUserPanel(((UserControlScreen)sender).Path);
Panel4.Name = "UserPanel4";
//3-Rajout sur la Grid Root
root.Children.Add(Panel4);