| author | Matthieu Totet |
| Mon, 23 Nov 2009 14:52:34 +0100 | |
| changeset 9 | 185e3ab53a56 |
| parent 0 | 249d70e7b32d |
| permissions | -rw-r--r-- |
| 0 | 1 |
using System; |
2 |
using System.Collections.Generic; |
|
3 |
using System.Linq; |
|
4 |
using System.Net; |
|
5 |
using System.Windows; |
|
6 |
using System.Windows.Controls; |
|
7 |
using System.Windows.Documents; |
|
8 |
using System.Windows.Input; |
|
9 |
using System.Windows.Media; |
|
10 |
using System.Windows.Media.Animation; |
|
11 |
using System.Windows.Shapes; |
|
12 |
||
13 |
namespace Iri.Modernisation.Controls.View |
|
14 |
{ |
|
15 |
public partial class HeaderControl : UserControl |
|
16 |
{ |
|
17 |
public HeaderControl() |
|
18 |
{ |
|
19 |
InitializeComponent(); |
|
20 |
} |
|
21 |
private void ButtonSeven_MouseMove(object sender, MouseEventArgs e) |
|
22 |
{ |
|
23 |
ButtonHeaderControl button = sender as ButtonHeaderControl; |
|
24 |
if (button == null) return; |
|
25 |
||
26 |
textInfo.Text = button.Title; |
|
27 |
||
28 |
} |
|
|
9
185e3ab53a56
HeaderControl : Display and Hide Buttons' Title
Matthieu Totet
parents:
0
diff
changeset
|
29 |
|
|
185e3ab53a56
HeaderControl : Display and Hide Buttons' Title
Matthieu Totet
parents:
0
diff
changeset
|
30 |
|
|
185e3ab53a56
HeaderControl : Display and Hide Buttons' Title
Matthieu Totet
parents:
0
diff
changeset
|
31 |
private void ButtonSeven_MouseLeave(object sender, MouseEventArgs e) |
|
185e3ab53a56
HeaderControl : Display and Hide Buttons' Title
Matthieu Totet
parents:
0
diff
changeset
|
32 |
{ |
|
185e3ab53a56
HeaderControl : Display and Hide Buttons' Title
Matthieu Totet
parents:
0
diff
changeset
|
33 |
textInfo.Text = ""; |
|
185e3ab53a56
HeaderControl : Display and Hide Buttons' Title
Matthieu Totet
parents:
0
diff
changeset
|
34 |
} |
| 0 | 35 |
} |
36 |
} |