Matthew,
In my opinion it makes no sense at all and makes your program only more
unreadable.
It is an extention to set the checkbox1 or form 1 in a hidden way while you
only want to set the setting in a config (XML) file (although for this kinds
of often done things I would normaly choose the registry when it has to be
saved).
The registry for computer dependend savings of settings.
The config for general saving of settings.
(As well when you have a situation where the user is using 2 or more
computers, however than it is directly not more computer dependend)
Just my thought,
Cor
"Matthew" <tu*************@alltel.net>
I am wondering if it is possible to make something like the following work:
Public Class myTestSettings
Public Property onTop() As Boolean
Get
Return Form1.CheckBox1.Checked
End Get
Set(ByVal Value As Boolean)
Form1.CheckBox1.Checked = Value
End Set
End Property
End Class
Second question: if it is possible, is it advisable?
I am wanting to serialize this information to an XML file. I'm exploring
this as a possibly better way to accomplish this.
Thanks in advance,
Matthew