public ClienteController(IClienteRepository clienteRepository) { _criarCliente = new CriarCliente(clienteRepository); _alterarCliente = new AlterarCliente(clienteRepository); _consultarCliente = new ConsultarCliente(clienteRepository); _excluirCliente = new ExcluirCliente(clienteRepository); }
private void clienteToolStripMenuItem_Click(object sender, EventArgs e) { ConsultarCliente consultarCliente = new ConsultarCliente(); consultarCliente.MdiParent = this; consultarCliente.Show(); }
private void btnConsultar_Click(object sender, EventArgs e) { ConsultarCliente consultarCliente = new ConsultarCliente(); this.Visible = false; consultarCliente.Show(); }
private void listarClientesToolStripMenuItem_Click(object sender, EventArgs e) { ConsultarCliente cc = new ConsultarCliente(); cc.ShowDialog(); }
private void clienteToolStripMenuItem1_Click(object sender, EventArgs e) { ConsultarCliente concultCliente = new ConsultarCliente(); concultCliente.ShowDialog(); }