Ejemplo n.º 1
0
		/// <summary>
		/// Gets the stock icon identified by the stock id.
		/// </summary>
		/// <returns>The stock icon.</returns>
		/// <param name="id">The stock identifier.</param>
		internal Image GetStockIcon (string id)
		{
			Image img;
			if (!stockIcons.TryGetValue (id, out img))
				stockIcons [id] = img = ImageBackendHandler.GetStockIcon (id);
			return img;
		}
Ejemplo n.º 2
0
 static Image()
 {
     handler = WidgetRegistry.CreateSharedBackend <ImageBackendHandler> (typeof(Image));
 }