Hello!
I want to write -
[Persistent, ReadOnly(form.I sFixedValue)]
public double CycleTime
{
get { return cycletime; }
}
i.e. CycleTime should be readonly or otherwise depending on the value
of form.IsFixedVal ue (IsFixedValue is a property of the form).
But the above code doesn't work (of course). Is there a way to get it
to work the way I want?
TIA,
Pradip
I want to write -
[Persistent, ReadOnly(form.I sFixedValue)]
public double CycleTime
{
get { return cycletime; }
}
i.e. CycleTime should be readonly or otherwise depending on the value
of form.IsFixedVal ue (IsFixedValue is a property of the form).
But the above code doesn't work (of course). Is there a way to get it
to work the way I want?
TIA,
Pradip
Comment