
C# COM
By: a guest on
Apr 15th, 2010 | syntax:
C# | size: 0.24 KB | hits: 104 | expires: Never
dynamic shell = System.Runtime.InteropServices.Marshal.GetActiveObject("Shell.Application");
dynamic windows = shell.Windows();
for (int i = 0; i < windows.Count; i++)
windows.Item(i).Refresh();