Bugzilla – Attachment 245912 Details for
Bug 435988
UIA Support in StatusBarPanel control
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
patch uploaded.
swf.panel.patch (text/plain), 1000 bytes, created by
Neville Gao
on 2008-10-16 09:44:03 UTC
(
hide
)
Description:
patch uploaded.
Filename:
MIME Type:
Creator:
Neville Gao
Created:
2008-10-16 09:44:03 UTC
Size:
1000 bytes
patch
obsolete
>Index: System.Windows.Forms/StatusBarPanel.cs >=================================================================== >--- System.Windows.Forms/StatusBarPanel.cs (revision 115945) >+++ System.Windows.Forms/StatusBarPanel.cs (working copy) >@@ -59,6 +59,24 @@ > #endif > #endregion // Local Variables > >+ #region UIA Framework Events >+#if NET_2_0 >+ static object TextChangedEvent = new object (); >+ >+ internal event EventHandler TextChanged { >+ add { Events.AddHandler (TextChangedEvent, value); } >+ remove { Events.RemoveHandler (TextChangedEvent, value); } >+ } >+ >+ internal void OnTextChanged (EventArgs e) >+ { >+ EventHandler eh = (EventHandler) Events [TextChangedEvent]; >+ if (eh != null) >+ eh (this, e); >+ } >+#endif >+ #endregion >+ > #region Constructors > public StatusBarPanel () > { >@@ -194,6 +212,11 @@ > set { > text = value; > InvalidateContents (); >+ >+#if NET_2_0 >+ // UIA Framework Event: Text Changed >+ OnTextChanged (EventArgs.Empty); >+#endif > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 435988
: 245912 |
257891