In one of my forms I used similar concept, however I used Button and Image overlay on each other and have code under Button Click event....But the code attaches any document/file the user chose attach rather than just screenshot....this could be starting point for you to try some thing you want.... ...