Bugzilla – Attachment 257891 Details for
Bug 435988
UIA Support in StatusBarPanel control
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
Patch. Adds UIACollectionChanged to Remove ()
statusbar.patch (text/plain), 704 bytes, created by
Michael Gorse
on 2008-12-04 00:12:33 UTC
(
hide
)
Description:
Patch. Adds UIACollectionChanged to Remove ()
Filename:
MIME Type:
Creator:
Michael Gorse
Created:
2008-12-04 00:12:33 UTC
Size:
704 bytes
patch
obsolete
>Index: mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusBar.cs >=================================================================== >--- mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusBar.cs (revision 120646) >+++ mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusBar.cs (working copy) >@@ -744,7 +744,14 @@ > } > > public virtual void Remove (StatusBarPanel value) { >+ int index = IndexOf (value); > panels.Remove (value); >+ >+#if NET_2_0 >+ // UIA Framework Event: Panel Removed >+ if (index >= 0) >+ OnUIACollectionChanged (new CollectionChangeEventArgs (CollectionChangeAction.Remove, index)); >+#endif > } > > public virtual void RemoveAt (int index) {
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
Attachments on
bug 435988
:
245912
| 257891