I have the bitmap resource Properties.Resources.part1
internal static System.Drawing.Bitmap part1
{
get
{
object obj = ResourceManager.GetObject("part1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
How to set this resource to Rectangle.Fill property?