Added logic to eliminate mouse_up response on a tree after a node is expanded

Added Mouse_down event handler to reset ExpandingTree variable.
This commit is contained in:
Rich
2013-03-13 14:58:41 +00:00
parent 7eded680a7
commit 33fc77ca02
2 changed files with 13 additions and 0 deletions

View File

@@ -713,6 +713,7 @@ namespace VEPROMS
this.tv.Size = new System.Drawing.Size(30, 474);
this.tv.TabIndex = 1;
this.tv.MouseUp += new System.Windows.Forms.MouseEventHandler(this.tv_MouseUp);
this.tv.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tv_MouseDown);
this.tv.SectionShouldClose += new Volian.Controls.Library.vlnTreeViewSectionInfoEvent(this.tv_SectionShouldClose);
this.tv.WordSectionDeleted += new Volian.Controls.Library.WordSectionDeletedEvent(this.tv_WordSectionDeleted);
this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand);