any c# programmers on here that could help me?
#1
Scooby Regular
Thread Starter
iTrader: (20)
Join Date: Jul 2008
Location: n/a
Posts: 5,304
Likes: 0
Received 0 Likes
on
0 Posts
any c# programmers on here that could help me?
as above
trying to do two things
1) an undo button for my application so that once i zoom in on a fractal i can zoom back out.. pretty much similar to how the back button works on IE
2) save the state i.e. save the current state of the aplication so that when i load it again, it redraws to where you left and you can continue zooming in
any sample code that can help me?
cheers
ps. im not an expert so needs to be easy to follow lol
trying to do two things
1) an undo button for my application so that once i zoom in on a fractal i can zoom back out.. pretty much similar to how the back button works on IE
2) save the state i.e. save the current state of the aplication so that when i load it again, it redraws to where you left and you can continue zooming in
any sample code that can help me?
cheers
ps. im not an expert so needs to be easy to follow lol
#2
1. create yourself an undo class, which basically is a lifo stack. Add your new settings each time you click 'go'. you should also have a method to pull from the stack.
2. you could use the registry or a local file to save state.
there'll be plenty of sample code on planetsourcecode.com
2. you could use the registry or a local file to save state.
there'll be plenty of sample code on planetsourcecode.com
Thread
Thread Starter
Forum
Replies
Last Post