https://bugzilla.novell.com/show_bug.cgi?id=326858
Summary: [Patch] TreeView:SelectedNode_set doesn't grok null
Product: Mono: Class Libraries
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
Found By: ---
Created an attachment (id=173710)
--> (https://bugzilla.novell.com/attachment.cgi?id=173710)
Test case
Hi,
deselecting node on a TreeView can be done setting SelectedNode to null.
However, in that case, OnBeforeSelect and OnAfterSelect must not be called:
they can depend on having a valid node.
I'm attaching a testcase and a patch.
Regards,
yves
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs