G
Guest
I have the following structure :
public struct CA_structure
{
public int ModuleId;
//reference to TreeNode in tree view
public TreeNode ModuleTreeNode;
}
ArrayList listOf Modules //includes list of CA_structure
for example :
....
listOf Modules[0] = mCA_structure;
Now:
My application create Thread and run specific function which access this
list (listOf Module)
everything is OK except some of TreeNode properties,
mCA_structure = (CA_structure)listOf Modules[0];
here I have a problem the ModuleTreeNode.Name is OK but some of other
properties are not available and I get the following message for example in
ModuleTreeNode.Checked ->error : can not obtain value.
I tried to use invoke to receive the ArrayList but stile the same problem.
Any Idea please help
(Framework 1.1)
public struct CA_structure
{
public int ModuleId;
//reference to TreeNode in tree view
public TreeNode ModuleTreeNode;
}
ArrayList listOf Modules //includes list of CA_structure
for example :
....
listOf Modules[0] = mCA_structure;
Now:
My application create Thread and run specific function which access this
list (listOf Module)
everything is OK except some of TreeNode properties,
mCA_structure = (CA_structure)listOf Modules[0];
here I have a problem the ModuleTreeNode.Name is OK but some of other
properties are not available and I get the following message for example in
ModuleTreeNode.Checked ->error : can not obtain value.
I tried to use invoke to receive the ArrayList but stile the same problem.
Any Idea please help
(Framework 1.1)