client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml.cs
changeset 38 bd33267300aa
parent 36 b6df6fce6e5d
child 46 ab3057b82260
--- a/client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml.cs	Wed Jan 27 10:55:59 2010 +0100
+++ b/client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml.cs	Thu Feb 04 16:38:04 2010 +0100
@@ -8,6 +8,7 @@
 using System.Windows.Media.Animation;
 using System.Windows.Shapes;
 using Iri.Modernisation.Data.Models;
+using Iri.Modernisation.BaseMVVM.Commands;
 namespace Iri.Modernisation.Controls.View
 {
 	public partial class AnnotationMaker : UserControl
@@ -16,9 +17,14 @@
 		{
 
 			InitializeComponent();
-      
+            Commands.HttpSenderResponse.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(HttpSenderResponse_Executed);
             
             
 		}
+
+        void HttpSenderResponse_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
+        {
+            this.Dispatcher.BeginInvoke(() => MessageBox.Show((String)e.Parameter));
+        }
 	}
 }
\ No newline at end of file