W
weird0
Hey!! someway( what i call i a MindFreak Technique!!) I managed to
pass data from one form to another. But still i can't really
understand the reference thing to pass data between forms.
I have three forms:
class Form1
{
}
class TreeViewForm
{
event()
{
// create object and nodeproperties
}
}
class NodeProperties
{
Node currNode; // I have a node object inside of this class.... the
top two classes also contain the same object...
}
But hey!! How do i update the same objects inside Form1 and
TreeViewForm?????????? which means passing data backward to Forms!!
Even if i keep a reference of the first two classes inside third
class.. ref object and pressing dot does not allow me to access the
class data members. Even if it does, will it allow me to access the
same data.????
I am a newbie to C# desktop programming.
Need help
Regards
pass data from one form to another. But still i can't really
understand the reference thing to pass data between forms.
I have three forms:
class Form1
{
}
class TreeViewForm
{
event()
{
// create object and nodeproperties
}
}
class NodeProperties
{
Node currNode; // I have a node object inside of this class.... the
top two classes also contain the same object...
}
But hey!! How do i update the same objects inside Form1 and
TreeViewForm?????????? which means passing data backward to Forms!!
Even if i keep a reference of the first two classes inside third
class.. ref object and pressing dot does not allow me to access the
class data members. Even if it does, will it allow me to access the
same data.????
I am a newbie to C# desktop programming.
Need help
Regards