client/src/Iri.Modernisation.Controls/View/NavigationBar/ReferencesChutier.xaml.cs
equal
deleted
inserted
replaced
|
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 System.Windows.Data; |
|
11 using Iri.Modernisation.BaseMVVM.Commands; |
|
12 |
|
13 namespace Iri.Modernisation.Controls.View |
|
14 { |
|
15 public partial class ReferencesChutier : UserControl |
|
16 { |
|
17 public ReferencesChutier() |
|
18 { |
|
19 // Required to initialize variables |
|
20 InitializeComponent(); |
|
21 } |
|
22 |
|
23 private void SearchAnnotedBox_KeyUp(object sender, KeyEventArgs e) |
|
24 { |
|
25 BindingExpression be = SearchAnnotedBox.GetBindingExpression(TextBox.TextProperty); |
|
26 be.UpdateSource(); |
|
27 Commands.ReferencesChutier.Search.Execute(); |
|
28 } |
|
29 } |
|
30 } |