Пример #1
0
        /// <summary>
        /// 根据节点获取到对应的过滤器窗体
        /// </summary>
        /// <param name="node"></param>
        /// <returns></returns>
        public static FormFilter GetInstance(TreeNode node)
        {
            if (!s_dictForms.ContainsKey(node))
            {
                s_dictForms[node] = new FormFilter();
            }

            return(s_dictForms[node]);
        }
Пример #2
0
        /// <summary>
        /// 根据节点获取到对应的过滤器窗体
        /// </summary>
        /// <param name="node"></param>
        /// <returns></returns>
        public static FormFilter GetInstance(TreeNode node)
        {
            if (!s_dictForms.ContainsKey(node))
                s_dictForms[node] = new FormFilter();

            return s_dictForms[node];
        }