Exemple #1
0
        void m_oModel_NodeUnloaded(object sender, NodeUnloadedEventArgs e)
        {
            MethodInvoker MethodBody = delegate()
            {
                TreeNode oUnloadedNode = FindNodeWithTag(e.Node);

                if (oUnloadedNode != null)
                {
                    ConfigureTreeNodeDisplay(oUnloadedNode);
                    AddChildTreeNodes(oUnloadedNode);
                }
            };

            if (c_tvView.IsHandleCreated)
            {
                c_tvView.Invoke(MethodBody);
            }
        }
Exemple #2
0
        void m_oModel_NodeUnloaded(object sender, NodeUnloadedEventArgs e)
        {
            MethodInvoker MethodBody = delegate()
            {
                TreeNode oUnloadedNode = FindNodeWithTag(e.Node);

                if (oUnloadedNode != null)
                {
                    ConfigureTreeNodeDisplay(oUnloadedNode);
                    AddChildTreeNodes(oUnloadedNode);
                }
            };

            if (c_tvView.IsHandleCreated)
                c_tvView.Invoke(MethodBody);
        }