[Mono-bugs] [Bug 79615][Wis] New - PropertyGrid cannot handle more than one selected object

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 7 10:35:23 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by joncham at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79615

--- shadow/79615	2006-10-07 10:35:23.000000000 -0400
+++ shadow/79615.tmp.6762	2006-10-07 10:35:23.000000000 -0400
@@ -0,0 +1,65 @@
+Bug#: 79615
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: joncham at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: PropertyGrid cannot handle more than one selected object
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+PropertyGrid cannot handle more than one selected object (via
+SelectedObjects property)
+
+Steps to reproduce the problem:
+1. Run attached sample
+2. 
+3. 
+
+Actual Results:
+Unhandled Exception: System.ArgumentException: Key 'DialogResult' already
+exists
+ in list.
+  at System.Collections.SortedList.PutImpl (System.Object key,
+System.Object val
+ue, Boolean overwrite) [0x00000]
+  at System.Collections.SortedList.Add (System.Object key, System.Object value)
+[0x00000]
+  at System.Windows.Forms.GridItemCollection.Add (System.String key,
+System.Wind
+ows.Forms.GridItem grid_item) [0x00000]
+  at System.Windows.Forms.PropertyGrid.PopulateGridItemCollection
+(System.Object
+ obj, System.Windows.Forms.GridItemCollection grid_item_coll, Boolean
+recurse, S
+ystem.Windows.Forms.GridItem parent_grid_item) [0x00000]
+  at System.Windows.Forms.PropertyGrid.ReflectObjects () [0x00000]
+  at System.Windows.Forms.PropertyGrid.set_SelectedObjects (System.Object[]
+valu
+e) [0x00000]
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.PropertyGrid:set_
+SelectedObjects (object[])
+  at pg_swf.Form1..ctor () [0x00000]
+  at (wrapper remoting-invoke-with-check) pg_swf.Form1:.ctor ()
+  at pg_swf.Form1.Main () [0x00000]
+
+Expected Results:
+Changing property gtrid values affects all SelectedObjects
+
+
+How often does this happen? 
+Always
+
+Additional Information:


More information about the mono-bugs mailing list