This seems like is should be straight forward but I'm just not getting it.
I have a very simple class (see below) which I think should be XML
serializable. I have this class defined in my simple form app's namespace.
Now I want to add an instance of this class to my Application Settings. So,
I go to Project | Properties | Settings tab and while I can add settings of
various system types I can't seem to add one of type "Foo". I tried
Browse... but while it shows various system types, it doesn't show my class.
How the heck do I create a setting of type "Foo"???
Once I've got that figured out, how do I create an list of "Foo"s that can
be saved in my settings?
BTW, I use this as an example. I realize that if all I wanted to store was
a string there are simpler built in types.
Thanks!
Grant Schenck
// -----------------
public class Foo
{
Foo() {}
public string Name
{
get { return m_strName; }
set { m_strName = value; }
}
private string m_strName;
}