public void botaoPesquisar(object sender, EventArgs e)
        {
            FormResultadoPesquisa frm3 = new FormResultadoPesquisa();
            var teste = new ConexaoComBd();

            frm3.txbPesquisa.Text = txbPesquisa.Text;
            frm3.dg.DataSource    = teste.RetornaPesquisa(txbPesquisa.Text); //
            frm3.ShowDialog();
        }
示例#2
0
 public FormCadastroServicos(FormResultadoPesquisa f)
 {
     InitializeComponent();
     this.formResultadoPesquisa = f;
 }