我已经读过这个问题,当打开多个问题时,资源管理器的任务表现得有些奇怪,因为如果我想删除某个浏览器窗口,我将不得不删除它。
我目前正试图像这样实现它,但它显然不起作用:
private Process explorerProcess = null;
private void startExplorer(){
explorerProcess = Process.Start("explorer.exe", @*path*);
}
private void closeExplorer(){
explorerProcess.Kill();
}
我也试过.Hide(),. Close()等等但似乎没什么用。我不想循环所有的资源管理器进程并将它们全部结束,因为当我想要顺利完成它时,不是通过关闭所有进程并让用户在我杀死负责的explorer.exe时立即注意到它用于开始菜单。
我希望有任何方式......