Example #1
0
        protected virtual void OnTraversing(TreeViewTraversingEventArgs e)
        {
            TreeViewTraversingEventHandler handler = this.Traversing;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
        protected virtual void OnTraversing(TreeViewTraversingEventArgs e)
        {
            TreeViewTraversingEventHandler traversing = this.Traversing;

            if (traversing == null)
            {
                return;
            }
            traversing((object)this, e);
        }