I'm looking on some advice, perhaps a point in the right direction.
I want to be able to have a window pop up for the user that allows them to add IP addresses to a collection.
Once the IP's are in the collection, then they should be able to check a box to make it an active IP.
What is the best way to go about doing this?
I'd like it to remember their settings for the next time they open the application.
So I am guessing the collection should have:
But this method also has to allow expansion in the future in the event that I want to add more data items.
They also need to be able to remove the IP's as well.
What would be an optimal method?
I could create an object for each ip, then add the object to a hash. Operating on single ip's would be a pain though as I would have to iterate through the whole hash just to edit or remove the single object.
Thanks in advance.