Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bring the last loaded controls back when i restart the machine

Tags:

I am working in video application in my application am using many controls for user friendly first i will Load the base from only after that i ll load the other controls based on user need.... here my need is if user load ten controls in this case if he shutdown the machine means when he restart the machine i need to bring the all controls back what he was load the controls before he shutdown. thanks in advance

is there is any possible to achive this without store the current control set, and positions etc..

like image 790
RV. Avatar asked Feb 19 '10 06:02

RV.


1 Answers

You need to look at something like

Basically what it boils down to, is that you need a way to store the current control set, and positions (possibly values too) to some sort of storage (XML file, Registry, Database) when the user exits your form/application.

Then once they reopen the form/application, you need to retrieve these settings for the given user (if any is available) and restore the form/application to that state.

like image 65
Adriaan Stander Avatar answered Nov 15 '22 09:11

Adriaan Stander