This is a migrated thread and some comments may be shown as answers.

reset to designer settings

1 Answer 34 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Lextendo
Top achievements
Rank 1
Lextendo asked on 04 Oct 2011, 12:08 PM
Hi,

Is it possible to reset the dock settings as set in the vs designer, in case the user messed up the lay-out?
In an MDI scenario, I would like to reset the open childforms. Currently dock settings are stored in the registery (as xml)
Removing the setting does open the form in 'factory settings' (vs designer lay-out) when the form is re-opened, but I'de like to visually reset the form without losing it's current bound data...

Or is the only solution to close the mdi-child I'de like to reset?

Kind regards,
Alex

1 Answer, 1 is accepted

Sort by
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on 06 Oct 2011, 02:58 PM
Why not just store some default settings you would like in a default_something.xml
and whenever you need to just replace settings from the current with that one, like that you could always customize what default actually means.

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga

Telerik WinForms MVP
Tags
Dock
Asked by
Lextendo
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Share this question
or