This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
RomVault/ROMVault2/rvImages.cs
2014-09-23 12:06:15 -07:00

57 lines
1.5 KiB
C#

/******************************************************
* ROMVault2 is written by Gordon J. *
* Contact gordon@romvault.com *
* Copyright 2014 *
******************************************************/
using System.Collections.Generic;
using System.Drawing;
namespace ROMVault2
{
public static class rvImages
{
private static List<string> names;
private static List<Bitmap> images;
public static Bitmap GetBitmap(string bitmapName)
{
object bmObj = rvImages1.ResourceManager.GetObject(bitmapName);
Bitmap bm = null;
if (bmObj != null)
bm = (Bitmap)bmObj;
return bm;
}
public static Bitmap TickBoxDisabled
{
get { return GetBitmap("TickBoxDisabled"); }
}
public static Bitmap TickBoxTicked
{
get { return GetBitmap("TickBoxTicked"); }
}
public static Bitmap TickBoxUnTicked
{
get { return GetBitmap("TickBoxUnTicked"); }
}
public static Bitmap ExpandBoxMinus
{
get { return GetBitmap("ExpandBoxMinus"); }
}
public static Bitmap ExpandBoxPlus
{
get { return GetBitmap("ExpandBoxPlus"); }
}
public static Bitmap romvaultTZ
{
get { return GetBitmap("romvaultTZ"); }
}
}
}