equal
deleted
inserted
replaced
49 this.InitializeComponent(); |
49 this.InitializeComponent(); |
50 |
50 |
51 // Insert code required on object creation below this point. |
51 // Insert code required on object creation below this point. |
52 } |
52 } |
53 |
53 |
54 public UserControlUserPanel(int idPar, Color col, Cutting cutPar, string path) |
54 public UserControlUserPanel(int idPar, Color col, Cutting cutPar, String path, String AnnotationOrSearchMode) |
55 { |
55 { |
56 this.InitializeComponent(); |
56 this.InitializeComponent(); |
57 id = idPar; |
57 id = idPar; |
58 cut = cutPar; |
58 cut = cutPar; |
|
59 // We make the syncsrc load the good video and cutting |
59 this.UserControlSyncSource.Load(path, col, cut); |
60 this.UserControlSyncSource.Load(path, col, cut); |
60 UserControlSyncSource.OnSuccessAnnotation+=new EventHandler(UserControlSyncSource_OnSuccessAnnotation); |
61 UserControlSyncSource.OnSuccessAnnotation += new EventHandler(UserControlSyncSource_OnSuccessAnnotation); |
|
62 // We make the menu load the good xml |
|
63 UCMenu.MenuXmlFile = (AnnotationOrSearchMode == "Search") ? "menu_search.xml" : "menu.xml"; |
61 //SAR -Initialize Tag Values |
64 //SAR -Initialize Tag Values |
62 InitializeDefinitions(); |
65 InitializeDefinitions(); |
63 } |
66 } |
64 #endregion |
67 #endregion |
65 |
68 |