Would be easy to convert so it was on a form as well, just change the object the pixels were drawn on, and a few max/min values and you're set.