예제 #1
0
        protected virtual void OnAfterMultiSelectComplete(CMSTreeViewMultiSelectEventArgs e)
        {
            if (!bEnableSelectEvents)
            {
                return;
            }

#if MSTREE_TRACE
            Debug.Write("EVENT: " + traceCount.ToString() + " OnAfterMultiSelectComplete:");
            Debug.WriteLine(" new selection: (" + ToString(e.SelectedNodes) + ")");
#endif
            if (onAfterMultiSelectComplete != null)
            {
                onAfterMultiSelectComplete(this, e);
            }
        }
예제 #2
0
        protected virtual void OnBeforeMultiSelectStart(CMSTreeViewMultiSelectEventArgs e)
        {
            if (!bEnableSelectEvents)
            {
                return;
            }

#if MSTREE_TRACE
            this.traceCount++;
            Debug.Write("EVENT: " + traceCount.ToString() + " OnBeforeMultiSelectStart:");
            Debug.WriteLine(" current selection: (" + ToString(e.SelectedNodes) + ")");
#endif
            if (onBeforeMultiSelectStart != null)
            {
                onBeforeMultiSelectStart(this, e);
            }
        }