BExplorer.Shell.ShellTreeViewEx.ShellTreeView_NodeMouseClick C# (CSharp) Метод

ShellTreeView_NodeMouseClick() приватный Метод

private ShellTreeView_NodeMouseClick ( object sender, TreeNodeMouseClickEventArgs e ) : void
sender object
e System.Windows.Forms.TreeNodeMouseClickEventArgs
Результат void
		private void ShellTreeView_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e) {
			if (e.Button == F.MouseButtons.Right) {
				if (e.Node.Tag != null)
					new ShellContextMenu(this.ShellListView, e.Node.Tag as IListItemEx).ShowContextMenu(this, e.Location, CMF.CANRENAME);
			} else if (e.Button == F.MouseButtons.Left) {
				if (e.X > e.Node.Bounds.Left - 5 - 16)
					this._IsNavigate = true;
			}
		}