private void btnPesquisa_Click(object sender, EventArgs e) { Academia.View.Desktop.View_Desktop_ConContasAReceber obj = new Academia.View.Desktop.View_Desktop_ConContasAReceber(); //obj.MdiParent = this; obj.ShowDialog(); if ((obj.ContasAReceberSelecionado != null)) { ContasAReceberLocal = obj.ContasAReceberSelecionado; PreencherCampos(ContasAReceberLocal); } }
private void btnPesquisa_Click(object sender, EventArgs e) { Academia.View.Desktop.View_Desktop_ConContasAReceber obj = new Academia.View.Desktop.View_Desktop_ConContasAReceber(); //obj.MdiParent = this; obj.ShowDialog(); if ((obj.ContasAReceberSelecionado != null)) { ContasAReceberLocal = obj.ContasAReceberSelecionado; PreencherCampos(ContasAReceberLocal); } }