G
Guest
hello everyone,
I have the code,
public bool CanLoad
{
get
{
return _canLoad;
}
set
{
_canLoad = value;
}
}
public string LoadText
{
get
{
return _loadText;
}
set
{
_loadText = value;
}
}
i want to let it like this, if the property of CanLoad set to false, the
property of LoadText is readonly.
Can i do it that.Thank you.
I have the code,
public bool CanLoad
{
get
{
return _canLoad;
}
set
{
_canLoad = value;
}
}
public string LoadText
{
get
{
return _loadText;
}
set
{
_loadText = value;
}
}
i want to let it like this, if the property of CanLoad set to false, the
property of LoadText is readonly.
Can i do it that.Thank you.