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 [EMAIL PROTECTED]

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

--- shadow/81796        2007-06-01 12:35:30.000000000 -0400
+++ shadow/81796.tmp.10825      2007-06-01 12:35:30.000000000 -0400
@@ -0,0 +1,37 @@
+Bug#: 81796
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: PropertyGrid does not correctly change SelectedObject - it crashs
+
+Description of Problem:
+When you set property SelectedObject of PropertyGrid to object with 
+properties, then to some object without properties and after that to 
+object with properties, it will crash
+
+Steps to reproduce the problem:
+1. Create application with PropertyGrid and two buttons (button1, button2)
+2. Create class without any property (I will use the name TestCleanClass 
+for it)
+3. OnLoad of Form with property grid call this:
+this.propertyGrid1.SelectedObject = button1;
+this.propertyGrid1.SelectedObject = new TestCleanClass();
+this.propertyGrid1.SelectedObject = button2;
+
+Actual Results:
+The application crashs
+
+Expected Results:
+The property grid will show properties of button2
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to