Bugzilla – Attachment 274607 Details for
Bug 478615
UIA Support in Control ColorDialog
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
swf patch
swfcd.patch (text/plain), 1.01 KB, created by
Neville Gao
on 2009-02-23 10:14:37 UTC
(
hide
)
Description:
swf patch
Filename:
MIME Type:
Creator:
Neville Gao
Created:
2009-02-23 10:14:37 UTC
Size:
1.01 KB
patch
obsolete
>Index: ColorDialog.cs >=================================================================== >--- ColorDialog.cs (revision 127661) >+++ ColorDialog.cs (working copy) >@@ -903,6 +903,10 @@ > isSelected = value; > Invalidate (); > } >+ >+ get { >+ return isSelected; >+ } > } > > public Color InternalColor { >@@ -962,7 +966,23 @@ > private Label baseColorLabel; > > private SmallColorControl selectedSmallColorControl; >- >+ >+ #region UIA Framework Property >+#if NET_2_0 >+ public SmallColorControl UIASelectedSmallColorControl { >+ get { >+ for (int i = 0; i < smallColorControl.Length - 1; ++i) >+ if (smallColorControl [i].IsSelected) >+ return smallColorControl [i]; >+ for (int j = 0; j < userSmallColorControl.Length - 1; ++j) >+ if (userSmallColorControl [j].IsSelected) >+ return userSmallColorControl [j]; >+ return null; >+ } >+ } >+#endif >+ #endregion >+ > private int currentlyUsedUserSmallColorControl = 0; > > private ColorDialog colorDialog = null;
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 478615
: 274607