hi every body!
I need help;who can give me tips to do a paint project?
I need to know how I can resize the shapes & how I can write the code for ctrl+z for my program
I am working with .net!
waiting for answere
how I can write the code for ctrl+z for my program
1: Make a stack.
2: Onto the stack, push back a list of the changes since the last list of changes was placed on the stack.
3: When you need to undo a change, pop the topmost element off the stack, and determine the steps to undo a change.
Do note that this method won't let you use redo. To use redo, you might want to use something traversable, like a vector or double-ended queue.