1) You have to provide the other form with a reference to your class. This
can be done a number of ways, such as passing the object into the forms
constructor, or creating some manager class that provides a static reference
to the object so that form can get hold of it.
2) Entire books are written on this subject so I will simply be brief. XML
is a markup language (similar to HTML) where you can define data. Some
people use this format instead of a database for small projects. It is
simply a data repository where you can define whatever structure you want
for the data. It also help to separate the data from the presentation. It
can be used for information exchange among different machine which is how
webservices operate. Can't answer why you would need it because it is
dependent on your project and not all projects "need it".
"Jorge" <jo***********@iol.pt> wrote in message
news:a1**************************@posting.google.c om...
Hi,
I am new in .NET and I have some basic questions.
1 - How can I control a object from another form ? I need to change a
checkbox state from another form. What's the best way to do it ?
2 - What is XML and why do we need it ?
Tanks in advance
Jorge