mercredi 30 décembre 2015

if-and statement isn't working c#

This is my first post here and I'm fairly new to C# so I apologize for the noob question. I'm doing if checks and when certain criteria are met either messages are displayed or a function is run. All of the if checks are working except the if ((textBox1.Text != "") && (textBox2.Text != ""))

The process just doesn't run. No errors. But if both statements are true it does nothing. I do have this check running at the end of the others, but there are no contradictions that would cause it to stop early that I can find. None of my other checks are being triggered.

Thanks in advance for any help.

Aucun commentaire:

Enregistrer un commentaire