.Net

C# 拖拽文件到 textBox

textBox1 属性 AllowDrop 设置为 True以下是 textBox1的两个事件实现: private void textBox1_DragDrop(object sender, DragEventArgs e) { string[] s = (string[])e.Data.GetData(DataFormats.FileDrop, false)

C# 拖拽文件到 ListBox 并排序

private void listBox1_DragDrop(object sender, DragEventArgs e) { string[] s = (string[])e.Data.GetData(DataFormats.FileDrop, false); Array.Sort(s); foreach (string si in s) { string epsEx = Sys

Setup Factory 点击uninstall.exe Invalid start mode : archive filename

点击uninstall.exe不生效,主要是因为没带参数 方法:生成一个快捷方式,添加命令Shell.CreateShortcut("%AppFolder%", "卸载 NetManage.exe", "%AppFolder%\\uninstall.exe", "/U:.\\Uninstall\\uninstall.xml", "%AppFolder%", "%AppFolder%\\unins