Results 1 to 3 of 3

Thread: Need some ideas on persisting combobox. Please Look

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Posts
    217

    Need some ideas on persisting combobox. Please Look

    I extended the windows combobox class to add some customer functionality. I use this combobox on about 20 screens. Somehow, I would like to persist the user's list of items when the form unloads and reload the list when the form is loaded. Anyone have any good ideas on implementing this. Is there any events I can use within the combox when it initializes or destroys?

    Thanks

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    save and reload from a text file, xml file, database, etc.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Posts
    217
    Wish it was that easy..

    Each combobox is unique, and can have different values. What would you use for the unique id? Their might be 20 of these controls on different forms with different values. I need my combobox to be self contained. Serialization maybe?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width