Esempio n. 1
0
        private void AlterarTelaListarDadosBotao_Click(object sender, EventArgs e)
        {
            var codigoEditora        = Convert.ToInt32(mostrarListarDadosEditorasDataGridView.SelectedRows[0].Cells["clnCodigoEditora"].Value);
            var editora              = _listaEditoraController.AlterarListaEditora(codigoEditora);
            var telaCadastroEditoras = new TelaCadastroEditoras(editora);

            telaCadastroEditoras.ShowDialog();
            Carregar();
        }
Esempio n. 2
0
        private void EditorasCadBibliotecaMenuitem_Click(object sender, EventArgs e)
        {
            TelaCadastroEditoras telaCadastroEditoras = new TelaCadastroEditoras();

            telaCadastroEditoras.Show();
        }