private void clienteToolStripMenuItem1_Click(object sender, EventArgs e) { using (frmPesquisarCliente pesquisa = new frmPesquisarCliente()) { if (pesquisa.ShowDialog() == DialogResult.OK) { frmCliente cliente = new frmCliente(pesquisa.escolhido.id); cliente.Show(); } } }
private void clienteToolStripMenuItem_Click(object sender, EventArgs e) { frmCliente cliente = new frmCliente(); cliente.Show(); }