diff -r b37888f59cf2 -r 619ca3ae13c7 src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs --- a/src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs Fri Nov 06 17:50:40 2009 +0100 +++ b/src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs Mon Nov 09 12:11:42 2009 +0100 @@ -26,7 +26,7 @@ public int id = 0; public uint idcolor = 0; //The color of the Pivot Button //Project _Project = new Project(); - private CuttingViewModel cutVM; + private Cutting cut; //variables for TagSound Control double baseOrientation = 0; @@ -37,10 +37,10 @@ #endregion #region Properties - public CuttingViewModel CuttingVM + public Cutting Cutting { - get { return cutVM; } - set { cutVM = value; } + get { return cut; } + set { cut = value; } } #endregion @@ -60,13 +60,13 @@ // Insert code required on object creation below this point. } - public UserControlUserPanel(int idPar, Color col, CuttingViewModel cutVMPar, string path) + public UserControlUserPanel(int idPar, Color col, Cutting cutPar, string path) { this.InitializeComponent(); id = idPar; //_Project = p; - cutVM = cutVMPar; - this.UserControlSyncSource.Load(path, col, cutVM); + cut = cutPar; + this.UserControlSyncSource.Load(path, col, cut); UserControlSyncSource.OnSuccessAnnotation+=new EventHandler(UserControlSyncSource_OnSuccessAnnotation); //SAR -Initialize Tag Values InitializeDefinitions();