using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using SharpShell.Attributes; using SharpShell.SharpPropertySheet; namespace ResourcesPropertySheet { /// <summary> /// The ResourcesPropertySheet is a shell extension to show the managed /// and unmanaged resources containing in binary files. /// </summary> [ComVisible(true)] [COMServerAssociation(AssociationType.ClassOfExtension, ".dll", ".exe", "*.ocx")] public class ResourcesPropertySheet : SharpPropertySheet { /// <summary> /// Determines whether this instance can show a shell property sheet, given the specified selected file list. /// </summary> /// <returns> /// <c>true</c> if this instance should show a shell property sheet for the specified file list; otherwise, <c>false</c>. /// </returns> protected override bool CanShowSheet() { return true; } /// <summary> /// Creates the pages. /// </summary> /// <returns> /// The property sheet pages. /// </returns> protected override IEnumerable<SharpPropertyPage> CreatePages() { return new[] {new UnmanagedResourcesPropertyPage()}; } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The MIT License