+ 1

Saving Use Control every time you start the application

Hi there is a problem is User Control, clicking on "+" creates another such Control, but if the first User Control was added to the standard through the constructor, then what to do with those that were already created in the program, they disappear after each run , can they be saved so they don't disappear every time you start the program? Here's a screen shot https://prntscr.com/qpyolo.

19th Feb 2020, 8:05 PM
olmtvck
olmtvck - avatar
1 Answer
+ 5
When the application closes, save information about UserConstrols and their number in a file. When starting the program, read the information from the file and create the required number of UserControls.
23rd Feb 2020, 8:45 AM
àŒŒ ぀ ◕_◕ àŒœă€
àŒŒ ぀ ◕_◕ àŒœă€ - avatar