Click here to Skip to main content
14,236,939 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have an windows application developed in c sharp and generated an exe file. It has richtextboxes and buttons.It has a file menu, in that 'save' drop down item is there. After completion of task, I need to save the form as it is with textboxes and buttons and also with data. When I opened the saved form it should resemble exactly as the form before with latest modifications.
Posted
Rate this:
Please Sign up or sign in to vote.

Solution 1

You need to decide on a serialisation format, and write code to store all your data, and code to read your file and put the data back in to the rich textboxes, etc.
   
Comments
Member 8150207 11-Aug-11 4:35am
   
ok thanks, I will try in this way.
Rate this:
Please Sign up or sign in to vote.

Solution 2

see article over here [WinForm Application].
it has functionality to remember password.
which stores the username and password in XML file and getting it back when user re-login in to application.

I hope it will help you...
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100