示例#1
0
 internal static byte[] GetBytes(Resources.BinaryResources id)
 {
     return((byte[])(Microsoft.SPOT.ResourceUtility.GetObject(ResourceManager, id)));
 }
 internal static byte[] GetBytes(Resources.BinaryResources id)
 {
     return((byte[])(ResourceManager.GetObject(((short)(id)))));
 }
示例#3
0
 internal static byte[] GetBytes(Resources.BinaryResources id)
 {
     return((byte[])(nanoFramework.Runtime.Native.ResourceUtility.GetObject(ResourceManager, id)));
 }
示例#4
0
 internal static Bitmap GetBitmap(Resources.BinaryResources id, Bitmap.BitmapImageType type)
 {
     return(new Bitmap(Resources.GetBytes(id), type));
 }
示例#5
0
 static void DisplayImage(Resources.BinaryResources resid)
 {
     byte[] data = Resources.GetBytes(resid);
     SendData(data);
 }