コード例 #1
0
        public DocumentNode SelectDocumentNode(int docID, int curID)
        {
            SuspendLayout();
            DocumentNode node = documentNodes.FirstOrDefault(x => x.Key == docID).Value;

            node.SetCurID(curID);
            ResumeLayout();
            if (node != null)
            {
                SelectedNode = node;
            }
            return(node);
        }