private void btnPesquisa_Click(object sender, EventArgs e)
 {
     if ((string.IsNullOrWhiteSpace(txtPesquisa.Text)))
     {
         FormPesquisaUsuario form = new FormPesquisaUsuario();
         form.ShowDialog();
         CarregarDataGrid(true, null);
     }
     else
     {
         CarregarDataGrid(false, txtPesquisa.Text);
     }
 }
        private void btnConsultarUsuario_Click(object sender, EventArgs e)
        {
            FormPesquisaUsuario form = new FormPesquisaUsuario();

            form.ShowDialog();
        }