reset to designer settings

2 posts, 1 answers
  1. Lextendo
    Lextendo avatar
    12 posts
    Member since:
    Feb 2010

    Posted 04 Oct 2011 Link to this post


    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,
  2. Answer
    Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 06 Oct 2011 Link to this post

    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
  3. DevCraft banner
Back to Top