ARCed.Controls.IconCache.GetBitmap C# (CSharp) Method

GetBitmap() private static method

private static GetBitmap ( string key ) : Bitmap
key string
return System.Drawing.Bitmap
        private static Bitmap GetBitmap(string key)
        {
            string name = String.Format("ARCed.Controls.Resources.{0}.png", key);
            using (Stream stream = Util.XnaAssembly.GetManifestResourceStream(name))
                return new Bitmap(stream);
        }