Example #1
0
        private void btnNovo_Click(object sender, System.EventArgs e)
        {
            var frm = new frmEditAventura();

            if (frm.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            var av = frm.Aventura;

            _aventuraContexto.AddOrUpdate(av);
            CarregarItens();
        }