VERICAR SE CAMPO E VAZIO
                    em vb 6 eu faço assim:
if txtnome.text = [Ô][Ô] then
msgbox [Ô]prencha o campo nome[Ô]
exit sub
end if
if txtTelefone.text = [Ô][Ô] then
msgbox [Ô]prencha o campo Telefone[Ô]
exit sub
end if
if txtEmail.text = [Ô][Ô] then
msgbox [Ô]prencha o campo Email[Ô]
exit sub
end if
como fica em c# ?
            if txtnome.text = [Ô][Ô] then
msgbox [Ô]prencha o campo nome[Ô]
exit sub
end if
if txtTelefone.text = [Ô][Ô] then
msgbox [Ô]prencha o campo Telefone[Ô]
exit sub
end if
if txtEmail.text = [Ô][Ô] then
msgbox [Ô]prencha o campo Email[Ô]
exit sub
end if
como fica em c# ?
                    if (txtnome.Text == string.Empty)
{
MessageBox.Show([Ô]preencha o campo nome[Ô]);
return;
}
            {
MessageBox.Show([Ô]preencha o campo nome[Ô]);
return;
}
                        Tópico encerrado , respostas não são mais permitidas
                    
                
