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=76679 --- shadow/76679 2005-11-12 06:20:46.000000000 -0500 +++ shadow/76679.tmp.27919 2005-11-12 06:20:46.000000000 -0500 @@ -0,0 +1,48 @@ +Bug#: 76679 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Minor +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: TreeView does not handle Click event + +With the code below, clicking TreeView should print the message. + +using System; +using System.Windows.Forms; + +public class MyTest : Form +{ + public static void Main () + { + Application.Run (new MyTest ()); + } + + public MyTest () + { + TreeView tv = new TreeView (); + tv.Dock = DockStyle.Fill; + tv.Nodes.Add (new TreeNode ("foo")); + Controls.Add (tv); + tv.Click += new EventHandler (DoClick); + } + + void DoClick (object o, EventArgs e) + { + Console.WriteLine ("clicked"); + } +} + +(I'm verifying this bug on Windows but IIRC it happened on SUSE10 too). + +Setting minor since most of users won't use it (AfterSelect works fine). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
