client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml.cs
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
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
{
public AnnotationMaker()
{
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));
}
}
}