J
Jeroen Ceuppens
Hi,
I have a problem accesing h, when i want to do h.Run() after the if else
structure, i get the following error: (see below for code)
C:\Documents and Settings\Eindwerk\Mijn documenten\BARCO\Eindwerk\Project
Files\thuis\13december\Aviewerversie02\FileLoad.cs(417): The type or
namespace name 'h' could not be found (are you missing a using directive or
an assembly reference?)
C:\Documents and Settings\Eindwerk\Mijn documenten\BARCO\Eindwerk\Project
Files\thuis\13december\Aviewerversie02\FileLoad.cs(418): The name 'h' does
not exist in the class or namespace 'Aviewerversie02.FileLoad'
How can i fix this?
Greetz
JC
LijstNode loper;
loper=(LijstNode)treeViewSequence.Nodes[0];
while(loper.Nodes.Count!=0)
{
if ( loper is GetImageNode )
{
GetImageNode h = (GetImageNode)loper;
}
else if ( loper is ViewNode )
{
ViewNode h = (ViewNode)loper;
}
else if ( loper is CastNode )
{
CastNode h = (CastNode)loper;
}
else if ( loper is FilterNode )
{
FilterNode h = (FilterNode)loper;
}
else if ( loper is TimerNode )
{
TimerNode h = (TimerNode)loper;
}
h.Run();
loper=(LijstNode)h;
loper=(LijstNode)loper.Nodes[0];
}
I have a problem accesing h, when i want to do h.Run() after the if else
structure, i get the following error: (see below for code)
C:\Documents and Settings\Eindwerk\Mijn documenten\BARCO\Eindwerk\Project
Files\thuis\13december\Aviewerversie02\FileLoad.cs(417): The type or
namespace name 'h' could not be found (are you missing a using directive or
an assembly reference?)
C:\Documents and Settings\Eindwerk\Mijn documenten\BARCO\Eindwerk\Project
Files\thuis\13december\Aviewerversie02\FileLoad.cs(418): The name 'h' does
not exist in the class or namespace 'Aviewerversie02.FileLoad'
How can i fix this?
Greetz
JC
LijstNode loper;
loper=(LijstNode)treeViewSequence.Nodes[0];
while(loper.Nodes.Count!=0)
{
if ( loper is GetImageNode )
{
GetImageNode h = (GetImageNode)loper;
}
else if ( loper is ViewNode )
{
ViewNode h = (ViewNode)loper;
}
else if ( loper is CastNode )
{
CastNode h = (CastNode)loper;
}
else if ( loper is FilterNode )
{
FilterNode h = (FilterNode)loper;
}
else if ( loper is TimerNode )
{
TimerNode h = (TimerNode)loper;
}
h.Run();
loper=(LijstNode)h;
loper=(LijstNode)loper.Nodes[0];
}