|
Lines 59-64
Link Here
|
| 59 |
#endif |
59 |
#endif |
| 60 |
#endregion // Local Variables |
60 |
#endregion // Local Variables |
| 61 |
|
61 |
|
|
|
62 |
#region UIA Framework Events |
| 63 |
#if NET_2_0 |
| 64 |
static object TextChangedEvent = new object (); |
| 65 |
|
| 66 |
internal event EventHandler TextChanged { |
| 67 |
add { Events.AddHandler (TextChangedEvent, value); } |
| 68 |
remove { Events.RemoveHandler (TextChangedEvent, value); } |
| 69 |
} |
| 70 |
|
| 71 |
internal void OnTextChanged (EventArgs e) |
| 72 |
{ |
| 73 |
EventHandler eh = (EventHandler) Events [TextChangedEvent]; |
| 74 |
if (eh != null) |
| 75 |
eh (this, e); |
| 76 |
} |
| 77 |
#endif |
| 78 |
#endregion |
| 79 |
|
| 62 |
#region Constructors |
80 |
#region Constructors |
| 63 |
public StatusBarPanel () |
81 |
public StatusBarPanel () |
| 64 |
{ |
82 |
{ |
|
Lines 194-199
Link Here
|
| 194 |
set { |
212 |
set { |
| 195 |
text = value; |
213 |
text = value; |
| 196 |
InvalidateContents (); |
214 |
InvalidateContents (); |
|
|
215 |
|
| 216 |
#if NET_2_0 |
| 217 |
// UIA Framework Event: Text Changed |
| 218 |
OnTextChanged (EventArgs.Empty); |
| 219 |
#endif |
| 197 |
} |
220 |
} |
| 198 |
} |
221 |
} |
| 199 |
|
222 |
|