diff -r 42cf4dbc473b -r dd8ed4d3beb6 src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs --- a/src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs Wed Oct 14 14:29:23 2009 +0200 +++ b/src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs Wed Oct 14 13:44:25 2009 +0200 @@ -7,12 +7,20 @@ using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Navigation; +using FingersDance.Data; namespace FingersDance.Control.UserPanel { public partial class UserControlUserPanel { public int id = 0; + Project _Project = new Project(); + + public Project Project + { + get { return _Project; } + set { _Project = value; } + } public UserControlUserPanel() { @@ -21,12 +29,11 @@ // Insert code required on object creation below this point. } - public UserControlUserPanel(string path) + public UserControlUserPanel(Project p, string path) { this.InitializeComponent(); - + _Project = p; this.UserControlSyncSource.Load(path); - // Insert code required on object creation below this point. } } } \ No newline at end of file