0
I need to do a check and if it is true
, the button remains enabled, if it is false
, the button must be disabled...
How could I do that ?
So far only have the if, because I do not know how to do this:
if(true)
{
//aqui faz minha verificações
}
else
{
//aqui faria com que o botão fosse desabilitado
}
Is there any easy way to do that? Someone could help me ?