What's not working exactly? I can't seem to be able to tell from looking at it.

Meanwhile, you don't need the total variable. "total" is equal to myImage1.Width * myImage1.Height. No need to be...