Sub App_Start
Form1.Show
drawer.New1("Form1",false)
brush1.New1(cRed)
bmpSrc.New1(AppPath & "\smiley.gif") 'Loads an image from a file
named smiley.gif
rectSrc.New1(0,0,bmpSrc.Width,bmpSrc.Height) 'Same size as the
image.
rectDest.New1(100,100,25,25)
drawer.SetTransparentColor1(bmpSrc.GetPixel1(0,0)) 'Sets the
transparent color to be the color of pixel (0,0) in the bitmap
drawer.DrawImage1(bmpSrc.Value,rectSrc.Value,rectDest.Value,true)
drawer.Refresh2(rectDest.Value)
End Sub