日期:2014-05-18 浏览次数:20986 次
private void Form1_Load(object sender, EventArgs e) { Shell32.ShellClass shell = new Shell32.ShellClass(); SHDocVw.ShellWindows windows = shell.Windows() as SHDocVw.ShellWindows; string[] lines = new string[windows.Count]; for (int i = 0; i < windows.Count; i++) { SHDocVw.ShellBrowserWindow win = windows.Item(i) as SHDocVw.ShellBrowserWindow; lines[i] = win.LocationName; } memoEdit1.Lines = lines; }
------解决方案--------------------
5L可以
------解决方案--------------------
用BHO