日期:2014-05-17 浏览次数:20779 次
private System.Drawing.Bitmap GetResourceBitmap(string strImageName)
{
object obj = Properties.Resources.ResourceManager.GetObject(strImageName, Properties.Resources.Culture);
return ((System.Drawing.Bitmap)(obj));
}
private System.Drawing.Image GetResourceImage(string strImageName)
{
object obj = Properties.Resources.ResourceManager.GetObject(strImageName, Properties.Resources.Culture);
return ((System.Drawing.Image)(obj));
}