If you want to check all textBoxes the best way and create a dynamic method (imagine a signup screen where you have a lot of textBoxes )
private bool textBoxVazias()
{
foreach (Control c in this.Controls)
if (c is TextBox)
{
TextBox textBox = c as TextBox;
if (string.IsNullOrWhiteSpace(textBox.Text))
return true;
}
return false;
}
After creating the method, just call it and if the return is positive, some textBox is empty.
if(textBoxVazias()) MessageBox.Show("Preencha todas as informações");
If you still want to specify the fields, or if they are as few as in your example, just use || (or) instead of & (e)
if (string.IsNullOrWhiteSpace(txtNumero.Text) || string.IsNullOrWhiteSpace(txtTitle.Text))
MessageBox.Show("Preencha todas as informações");