public void Open() { Assert.Inconclusive("TBA"); using (var shortcut = new Shortcut()) { shortcut.Open(string.Empty); shortcut.Open(string.Empty, new IntPtr(), CompulsoryCat.Shell.Shortcut.EShellLinkResolveFlags.SLR_ANY_MATCH); shortcut.Open(string.Empty, new IntPtr(), CompulsoryCat.Shell.Shortcut.EShellLinkResolveFlags.SLR_ANY_MATCH, 0); } }
public void ShortcutProperties() { using (var shortcut = new Shortcut()) { Assert.Inconclusive("We enumerate all properties but don't check they work."); shortcut.ShortCutFile = "A"; var largeIcon = shortcut.LargeIcon; var smallIcon = shortcut.SmallIcon; shortcut.IconPath = "B"; shortcut.IconIndex = 0; shortcut.Target = "C"; shortcut.WorkingDirectory = "D"; shortcut.Description = "E"; shortcut.Arguments = "F"; shortcut.DisplayMode = Shortcut.LinkDisplayMode.edmMaximized; shortcut.HotKey = Keys.A; } }
public void ShortcutProperties() { using (var shortcut = new Shortcut()) { Assert.Inconclusive("We enumerate all properties but don't check they work."); shortcut.ShortCutFile = "A"; var largeIcon = shortcut.LargeIcon; var smallIcon = shortcut.SmallIcon; shortcut.IconPath = "B"; shortcut.IconIndex = 0; shortcut.Target = "C"; shortcut.WorkingDirectory = "D"; shortcut.Description = "E"; shortcut.Arguments = "F"; shortcut.DisplayMode = Shortcut.LinkDisplayMode.edmMaximized; shortcut.HotKey = Keys.A; } }
public void Open() { Assert.Inconclusive("TBA"); using (var shortcut = new Shortcut()) { shortcut.Open(string.Empty); shortcut.Open(string.Empty, new IntPtr(), CompulsoryCat.Shell.Shortcut.EShellLinkResolveFlags.SLR_ANY_MATCH); shortcut.Open( string.Empty, new IntPtr(), CompulsoryCat.Shell.Shortcut.EShellLinkResolveFlags.SLR_ANY_MATCH, 0 ); } }