void m_oModel_NodeDisplayUpdated(object sender, NodeDisplayUpdatedEventArgs e) { MethodInvoker MethodBody = delegate() { for (ModelNode iter = e.Node; iter != null; iter = iter.Parent) { TreeNode node = FindNodeWithTag(iter); if (node != null) { ConfigureTreeNodeDisplay(node); } } }; if (c_tvView.IsHandleCreated) { c_tvView.Invoke(MethodBody); } }
void m_oModel_NodeDisplayUpdated(object sender, NodeDisplayUpdatedEventArgs e) { MethodInvoker MethodBody = delegate() { for (ModelNode iter = e.Node; iter != null; iter = iter.Parent) { TreeNode node = FindNodeWithTag(iter); if (node != null) { ConfigureTreeNodeDisplay(node); } } }; if (c_tvView.IsHandleCreated) c_tvView.Invoke(MethodBody); }
void m_oModel_NodeDisplayUpdated(object sender, NodeDisplayUpdatedEventArgs e) { c_cbServers.Invalidate(); }