Revision: 60087
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 20, 2012 04:08 by denakitan
Initial Code
using System.Resources; using System.Drawing; using System.Reflection; namespace StudioGhibli { class ResourcesExample { static void Main(string[] args) { // the first parameter of the constructor is the fully qualified name of the resources file ResourceManager resourceManager = new ResourceManager("StudioGhibli.MoviesResources", Assembly.GetExecutingAssembly()); Bitmap image = (Bitmap) resourceManager.GetObject("TotoroLogo"); image.Save(@"H:\apps\xp\Desktop\Totoro.jpg"); } } }
Initial URL
Initial Description
Basic examples on using information stored as Resources.
Initial Title
.NET - C# - Resources - Basics
Initial Tags
Net, c#
Initial Language
C#