diff -r 9b62e08d6167 -r 83615722dbab src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs --- a/src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs Wed Nov 04 13:36:30 2009 +0100 +++ b/src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs Wed Nov 04 16:28:01 2009 +0100 @@ -53,12 +53,13 @@ // Insert code required on object creation below this point. } - public UserControlUserPanel(int idPar, Color col, Cutting cut, string path) + public UserControlUserPanel(int idPar, Color col, CuttingViewModel cutVMPar, string path) { this.InitializeComponent(); id = idPar; //_Project = p; - this.UserControlSyncSource.Load(path, col, cut); + cutVM = cutVMPar; + this.UserControlSyncSource.Load(path, col, cutVM); UserControlSyncSource.OnSuccessAnnotation+=new EventHandler(UserControlSyncSource_OnSuccessAnnotation); //SAR -Contact Down event for TAG Control InitializeDefinitions();