client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml.cs
equal
deleted
inserted
replaced
6 using System.Windows.Input; |
6 using System.Windows.Input; |
7 using System.Windows.Media; |
7 using System.Windows.Media; |
8 using System.Windows.Media.Animation; |
8 using System.Windows.Media.Animation; |
9 using System.Windows.Shapes; |
9 using System.Windows.Shapes; |
10 using Iri.Modernisation.Data.Models; |
10 using Iri.Modernisation.Data.Models; |
|
11 using Iri.Modernisation.BaseMVVM.Commands; |
11 namespace Iri.Modernisation.Controls.View |
12 namespace Iri.Modernisation.Controls.View |
12 { |
13 { |
13 public partial class AnnotationMaker : UserControl |
14 public partial class AnnotationMaker : UserControl |
14 { |
15 { |
15 public AnnotationMaker() |
16 public AnnotationMaker() |
16 { |
17 { |
17 |
18 |
18 InitializeComponent(); |
19 InitializeComponent(); |
19 |
20 Commands.HttpSenderResponse.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(HttpSenderResponse_Executed); |
20 |
21 |
21 |
22 |
22 } |
23 } |
|
24 |
|
25 void HttpSenderResponse_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
|
26 { |
|
27 this.Dispatcher.BeginInvoke(() => MessageBox.Show((String)e.Parameter)); |
|
28 } |
23 } |
29 } |
24 } |
30 } |