[Mono-list] WinForm TreeView Control

Rıdvan Tülünay ridvantulunay at gmail.com
Sun Jan 17 08:27:38 EST 2010


Hi,
I am using, TreeView Control on my form,
I wrote doubleclickevent on it,
problem is on event occurs times,
in my TreeView element has four node, events occur for four times,
but I clicked only one node.

my code,

foreach (DataRow dRw in ehil_dataset.Tables["sismenu"].Rows)
{
                TreeNode newNode = new TreeNode();
                newNode.Text = dRw["UYGISMI"].ToString();
                newNode.Tag = dRw["UYGKODU"].ToString();
                EhlMenu.NodeMouseDoubleClick += new
TreeNodeMouseClickEventHandler(EhlMenu_NodeMouseDoubleClick);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20100117/61c35d82/attachment-0001.html 


More information about the Mono-list mailing list