C# Class ThoNohT.NohBoard.Extra.ImageCache

A cache for images.
Show file Open project: ThoNohT/NohBoard

Private Properties

Property Type Description

Public Methods

Method Description
Get ( string filename ) : Image

Loads the image for the specified filename, in the currently loaded style. If the image exists in cache, it is returned from there, otherwise the file is opened and stored in the cache.

Method Details

Get() public static method

Loads the image for the specified filename, in the currently loaded style. If the image exists in cache, it is returned from there, otherwise the file is opened and stored in the cache.
public static Get ( string filename ) : Image
filename string The filename of the image to load.
return System.Drawing.Image