static void DisplayImage(Resources.BinaryResources resid) { byte[] data = Resources.GetBytes(resid); SendData(data); }