复制多个文件

2014-06-24 00:55:50  访问(2860) 赞(0) 踩(0)



        /// 
        /// 复制多个文件
        /// 
        /// 
        public static void ClipbordCopyFileList(List theList)
        {
            System.Collections.Specialized.StringCollection stringCollectionValue
                        = new System.Collections.Specialized.StringCollection();

            foreach (string str in theList)
            {
                stringCollectionValue.Add(str);
            }

            Clipboard.SetFileDropList(stringCollectionValue);
        }


标签:C#    Winform    Copy    CopyFile    Clipbord 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

类型:
内容:
  (Alt+Enter)