--- a/src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs Thu Nov 19 15:35:46 2009 +0100
+++ b/src/FingersDance.Control.UserPanel/UserControlUserPanel.xaml.cs Thu Nov 19 18:37:26 2009 +0100
@@ -1,17 +1,18 @@
using System;
using System.IO;
using System.Net;
+using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
-using FingersDance.Data;
+using System.Globalization;
using Microsoft.Surface.Presentation;
-using System.Globalization;
using Microsoft.Surface.Presentation.Controls;
-using System.Reflection;
+
+using FingersDance.Data;
using FingersDance.ViewModels;
namespace FingersDance.Control.UserPanel
@@ -26,6 +27,7 @@
public int id = 0;
public uint idcolor = 0; //The color of the Pivot Button
private Cutting cut;
+ private Project searchedProject;
//variables for TagSound Control
double baseOrientation = 0;
@@ -51,11 +53,12 @@
// Insert code required on object creation below this point.
}
- public UserControlUserPanel(int idPar, Color col, Cutting cutPar, String path, String AnnotationOrSearchMode)
+ public UserControlUserPanel(int idPar, Color col, Cutting cutPar, String path, String AnnotationOrSearchMode, Project searchedProj)
{
this.InitializeComponent();
id = idPar;
cut = cutPar;
+ searchedProject = searchedProj;
// We make the syncsrc load the good video and cutting
this.UserControlSyncSource.Load(path, col, cut);
UserControlSyncSource.OnSuccessAnnotation += new EventHandler(UserControlSyncSource_OnSuccessAnnotation);