I have a Windows application with an MDI form and some child forms. I need to save the position of child forms and then restore when it is opened again.
How to do it in C #?
In addition, I need to check if the title bar of the child form in the mdi form is hidden (for example, the title bar may be hidden due to the menu of the mdi form). If so, then I need to establish a smarter position.
Thanks in advance...
Check out this CodeProject article: Restore Form Position and Size in C #
, . (, ..).
.Bounds . , .Bounds, , . .Bounds , , - - , . Screen.PrimaryScreen.WorkingArea , . StartPosition Manual, .
Source: https://habr.com/ru/post/1738027/More articles:Rails - how to code 'may belong? - ruby-on-railsBiztalk vs. Data Layer API - c #Facebook Wallposting fan site from C # application - c #How to transfer an element from an array to another array in javascript? - javascriptHide arrow in standard dropdown menu? - htmlDatatype to save excel file in sql server? - sqlWhat IDE do you recommend for Ruby on Rails on Windows with Cygwin? - debuggingPractical refactoring - designHow hot can I deploy using the Glassfish adapter in Eclipse - eclipseHow Linux system monitor gets process statistics - linuxAll Articles