コード例 #1
0
        private void TbiAlterar_ItemClick(object sender, TileItemEventArgs e)
        {
            var codigoEditora = Convert.ToInt32(grdvEditora.GetFocusedRowCellValue(clnCodigoEditora));

            grdDados.DataSource = _listaEditora;
            var editora = _listaEditoraController.AlterarListaEditora(_listaEditora, codigoEditora);
            var telaCadastroEditoras = new TelaCadastroEditorasDev(editora);

            telaCadastroEditoras.ShowDialog();
            CarregarEditoras();
        }
コード例 #2
0
        private void BarbtnEditoras_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            TelaCadastroEditorasDev telaCadastroEditorasDev = new TelaCadastroEditorasDev();

            telaCadastroEditorasDev.ShowDialog();
        }