Posts by Ricardo Melchior • 11 points
1 post
-
0
votes1
answer23
viewsQ: Validation of all Text Boxes
Code: if (this.Controls.OfType<TextBox>().Any(f => string.IsNullOrEmpty(f.Text))) { MessageBox.Show("É necessario preencher todos os campos.", "Atenção", MessageBoxButtons.OK,…
c#asked Ricardo Melchior 11