ZForge.Controls.TreeViewAdv.Tree.NormalInputState.DoMouseOperation C# (CSharp) Method

DoMouseOperation() protected method

protected DoMouseOperation ( TreeNodeAdvMouseEventArgs args ) : void
args TreeNodeAdvMouseEventArgs
return void
        protected virtual void DoMouseOperation(TreeNodeAdvMouseEventArgs args)
        {
            Tree.SuspendSelectionEvent = true;
            try
            {
                Tree.ClearSelectionInternal();
                if (args.Node != null)
                    args.Node.IsSelected = true;
                Tree.SelectionStart = args.Node;
            }
            finally
            {
                Tree.SuspendSelectionEvent = false;
            }
        }