Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

any c# programmers on here that could help me?

Thread Tools
 
Search this Thread
 
Old 29 October 2009, 03:30 PM
  #1  
eggy790
Scooby Regular
Thread Starter
iTrader: (20)
 
eggy790's Avatar
 
Join Date: Jul 2008
Location: n/a
Posts: 5,304
Likes: 0
Received 0 Likes on 0 Posts
Default 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
Old 29 October 2009, 04:59 PM
  #2  
ChefDude
Scooby Regular
 
ChefDude's Avatar
 
Join Date: Aug 2005
Posts: 4,290
Likes: 0
Received 0 Likes on 0 Posts
Default

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
Old 29 October 2009, 07:04 PM
  #3  
eggy790
Scooby Regular
Thread Starter
iTrader: (20)
 
eggy790's Avatar
 
Join Date: Jul 2008
Location: n/a
Posts: 5,304
Likes: 0
Received 0 Likes on 0 Posts
Default

cheers, i'll have a look
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Nick_Cat
Computer & Technology Related
2
26 September 2015 08:00 AM
Alan Jeffery
Non Scooby Related
1
13 September 2015 01:21 PM
Trout
ScoobyNet General
72
30 November 2000 08:23 AM



Quick Reply: any c# programmers on here that could help me?



All times are GMT +1. The time now is 08:22 PM.