public bool Validar() { if (_control.Value >= _from) { return(true); } else { MessageDialog.MensajeValidacionDateTimeFrom(NameVariableParser.getNameWithoutUnderscore(_control), _from); return(false); } }