Persist Form Values After A Form Closes
Wesley wrote in with this problem:
I want to add text to a ListBox. The Form has a ListBox and a Button for adding the text. If I close the Windows Form after adding text to the ListBox, and then open the Form again, the changes aren't there anymore.
This is a really worthwhile problem because the reason this happens goes right to the heart of what a Form object is. There are a lot of ways to solve it. This Quick Tip shows you two of them. Maybe you can think of a better way.
No comments:
Post a Comment