Пример #1
0
        private void NodeDestructionCallback(IntPtr pContext, string strDestroyedNodeName, IntPtr pCookie)
        {
            EventHandler <NodeDestroyedEventArgs> handlers = this.nodeDestroyed;

            if (handlers != null)
            {
                NodeDestroyedEventArgs args = new NodeDestroyedEventArgs(strDestroyedNodeName);
                handlers(this, args);
            }
        }
Пример #2
0
 private void NodeDestructionCallback(IntPtr pContext, string strDestroyedNodeName, IntPtr pCookie)
 {
     EventHandler<NodeDestroyedEventArgs> handlers = this.nodeDestroyed;
     if (handlers != null)
     {
         NodeDestroyedEventArgs args = new NodeDestroyedEventArgs(strDestroyedNodeName);
         handlers(this, args);
     }
 }