Exemple #1
0
 private void btnPesquisarCliente_Click(object sender, EventArgs e)
 {
     clienteBLL         = new ClienteBLL();
     cliente            = new Cliente();
     cliente            = clienteBLL.ConsultarClientePedido(txtTelefonePedido.Text);
     txtNomePedido.Text = cliente.Nome;
     if (txtTelefonePedido.Text is null || txtTelefonePedido.Text == "")
     {
         MessageBox.Show("Digite um número de telefone para pesquisa");
     }