private void consultarToolStripMenuItem_Click(object sender, EventArgs e) { //vend Form4 = new vend(); // Form4.Show(); try { if (Application.OpenForms["ExibirVenda"] == null) { ExibirVenda ved = new ExibirVenda(); ved.MdiParent = this; ved.Show(); } //else } catch {} //ajustar botão de seleção, para abrir a tela }
private void consultarToolStripMenuItem_Click(object sender, EventArgs e) { //vend Form4 = new vend(); // Form4.Show(); try { if (Application.OpenForms["ExibirVenda"] == null) { ExibirVenda ved = new ExibirVenda(); ved.MdiParent = this; ved.Show(); } //else } catch {} //ajustar botão de seleção, para abrir a tela }