public static void SetFileDropList (StringCollection filePaths) { if (filePaths == null) throw new ArgumentNullException ("filePaths"); SetData (DataFormats.FileDrop, filePaths); }
private void 制文件夹到剪切板_Click(object sender, EventArgs e) { StringCollection str1 = new StringCollection(); str1.Add(filename); Clipboard.SetFileDropList(str1); }