Krzysztof Mossakowski
Advanced Windows Programming
2005 - Tasks
Windows Forms
Resource Viewer
Application for viewing resources in .NET executable files
Design handy and intuitive user interface
use splitters and scroll bars
allow the user to resize the window
Follow the example of
.NET Reflector's
functionality for resources
allow to preview also images stored in
.resources
and
.resx
format
sample DLL file with 3 images you can find
here
DLL with resources:
embedded image
image in
.resources
format
image in
.resx
format
strings:
key: sampleString01 value: This is fantastic string from resources
key: sampleString02 value: This is another fantastic string
no source code
Hints:
Assembly: LoadFile, GetManifestResourceNames, GetManifestResourceStream
ResourceReader, IResourceReader
IDictionaryEnumerator
ResourceManager: GetString, GetObject
Approximate points:
Application:
user interface: 2.0
list of resources: 1.5
preview of images: 3.0
preview of other resources (keys and values): 1.5
DLL: 2.0