diff -r 5f8d275750e7 -r 644e3cd48034 client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenu.xaml.cs --- a/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenu.xaml.cs Fri Jan 08 11:33:24 2010 +0100 +++ b/client/src/Iri.Modernisation.Controls/View/ClickMenu/ClickMenu.xaml.cs Thu Jan 14 16:39:50 2010 +0100 @@ -29,6 +29,8 @@ public ClickMenu() { // Required to initialize variables + + /**/ InitializeComponent(); /*Animation*/ Commands.PolemicElement.ElementSelected.Executed += new EventHandler(MenuClick_Executed); @@ -47,7 +49,6 @@ _contextualiserPanel._polemicItem.ClickMenuItemSelected += Commands.Action.Execute; _contextualiserPanel._questionItem.ClickMenuItemSelected += Commands.Action.Execute; _contextualiserPanel._referenceItem.ClickMenuItemSelected += Commands.Action.Execute; - _annoterPanel._videoItem.ClickMenuItemSelected += Commands.Action.Execute; _annoterPanel._textItem.ClickMenuItemSelected += Commands.ClickMenu.CreateNewTextualAnnotation.Execute; } @@ -57,11 +58,6 @@ MessageBox.Show("Action - Command:"+((ClickMenuItem)e.Parameter).Title); } - void ClickMenuItemSelected(object sender, ClickMenuItemSelectedEventArgs e) - { - MessageBox.Show("Action"); - } -