private NodeViewItem GetNodeViewItemEx_DG(string strName, GISShare.Controls.WinForm.WFNew.View.NodeViewItemCollection nodes) { foreach (NodeViewItem one in nodes) { if (one.Name == strName) { return(one); } } // return(null); }
private bool ContainsEx_DG(NodeViewItem value, GISShare.Controls.WinForm.WFNew.View.NodeViewItemCollection nodes) { foreach (NodeViewItem one in nodes) { if (one == value) { return(true); } } // return(false); }