private void btEditar_Click(object sender, EventArgs e) { CadastroCliente cadastroCliente = new CadastroCliente(Convert.ToInt32(grvListaClientes.CurrentRow.Cells[1].Value), this); cadastroCliente.Show(); }
private void btCadastrar_Click(object sender, EventArgs e) { CadastroCliente cadastroCliente = new CadastroCliente(this); cadastroCliente.Show(); }