April 10th, 2013, 08:47 AM
Hi, perhaps someone can get me started with the following. I have a windows form with an empty picturebox, 4 textboxes with editable values and two buttons. If one button (draw line) is clicked than a line is drawn using the values of the 4 textboxes (start-x, start-y, end-x and end-y), when the button is clicked again another line is drawn (with other changed textbox values). If the other button (cancel) is clicked the most recent drawn line is deleted, if the cancel button is clicked again the second most recent line is deleted, etc… I can’t figure out how to get started.
April 10th, 2013, 03:08 PM
Re: System Drawing
Sounds like a hard way to do that. Why not just click on the screen, and use that as the new GOTO location (Once it's initialized with the first spot). You'd have to enter 4 numbers, click the button, enter 4 more numbers, click the button, etc. Check out the samples here
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.