Beispiel #1
0
        /// <summary>
        /// 触发打开事件
        /// </summary>
        /// <param name="paths">路径集合</param>
        private void _DoOpen(List <string> paths)
        {
            ResourceBrowserEventArgs args = new ResourceBrowserEventArgs();

            args.FullPaths.AddRange(paths);
            this.OnOpen(this, args);
        }
Beispiel #2
0
        /// <summary>
        /// 触发打开事件
        /// </summary>
        /// <param name="path">路径</param>
        private void _DoOpen(string path)
        {
            ResourceBrowserEventArgs args = new ResourceBrowserEventArgs();

            args.FullPaths.Add(path);
            this.OnOpen(this, args);
        }