J
jodleren
Hi all
I have a main class, which uses a number of components/sub classes.
I have a script class in my main form, which I'd like my component to
use - so I do this is my component
public TGripperInterface GripperScript
or:
TGripperInterface GripperScript2;
public TGripperInterface GripperScript
{
get
{
return GripperScript2;
}
set
{
GripperScript2 = value;
}
}
but I get this error:
Error 1 Inconsistent accessibility: property type
'GripperStend.TGripperInterface' is less accessible than property
'GripperStend.PageManualWin.GripperScript' C:\JOT\.NET
\J501-44_gripper_stend\trunk\GripperStend\PageManual1.cs 34 34
GripperStend
Any ideas? (yep I am a bit new to what ideas would be useful here)
WBR
sonnich
I have a main class, which uses a number of components/sub classes.
I have a script class in my main form, which I'd like my component to
use - so I do this is my component
public TGripperInterface GripperScript
or:
TGripperInterface GripperScript2;
public TGripperInterface GripperScript
{
get
{
return GripperScript2;
}
set
{
GripperScript2 = value;
}
}
but I get this error:
Error 1 Inconsistent accessibility: property type
'GripperStend.TGripperInterface' is less accessible than property
'GripperStend.PageManualWin.GripperScript' C:\JOT\.NET
\J501-44_gripper_stend\trunk\GripperStend\PageManual1.cs 34 34
GripperStend
Any ideas? (yep I am a bit new to what ideas would be useful here)
WBR
sonnich