| author | totetm <> |
| Fri, 12 Feb 2010 15:57:01 +0100 | |
| changeset 46 | ab3057b82260 |
| parent 38 | bd33267300aa |
| permissions | -rw-r--r-- |
| 0 | 1 |
using System; |
2 |
using System.Windows; |
|
3 |
using System.Windows.Controls; |
|
4 |
using System.Windows.Documents; |
|
5 |
using System.Windows.Ink; |
|
6 |
using System.Windows.Input; |
|
7 |
using System.Windows.Media; |
|
8 |
using System.Windows.Media.Animation; |
|
9 |
using System.Windows.Shapes; |
|
10 |
using Iri.Modernisation.Data.Models; |
|
| 38 | 11 |
using Iri.Modernisation.BaseMVVM.Commands; |
|
46
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
12 |
using Iri.Modernisation.Controls.ViewModel; |
| 0 | 13 |
namespace Iri.Modernisation.Controls.View |
14 |
{ |
|
15 |
public partial class AnnotationMaker : UserControl |
|
16 |
{ |
|
17 |
public AnnotationMaker() |
|
18 |
{ |
|
| 36 | 19 |
|
| 0 | 20 |
InitializeComponent(); |
|
46
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
21 |
Commands.AnnotationMaker.FixAnnotationTime.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(FixAnnotationTime_Executed); |
| 38 | 22 |
Commands.HttpSenderResponse.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(HttpSenderResponse_Executed); |
|
46
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
23 |
} |
|
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
24 |
|
|
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
25 |
void FixAnnotationTime_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
|
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
26 |
{ |
|
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
27 |
EditableAnnotation.UpperRangeValue = EditableAnnotation.Maximum; |
|
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
28 |
EditableAnnotation.LowerRangeValue = EditableAnnotation.Minimum; |
|
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
29 |
} |
|
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
30 |
|
|
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
31 |
|
|
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
32 |
|
|
ab3057b82260
Fixed|pas de chaise musical pour la fonction tetris
totetm <>
parents:
38
diff
changeset
|
33 |
|
| 38 | 34 |
|
35 |
void HttpSenderResponse_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
|
36 |
{ |
|
37 |
this.Dispatcher.BeginInvoke(() => MessageBox.Show((String)e.Parameter)); |
|
38 |
} |
|
| 0 | 39 |
} |
40 |
} |