示例#1
0
        private void pbCriar_Click(object sender, EventArgs e)
        {
            ExemplarViewEditar vw = new ExemplarViewEditar();

            vw.ShowDialog();
            atualizaTela();
        }
示例#2
0
        private void pbEditar_Click(object sender, EventArgs e)
        {
            ExemplarViewEditar vw = new ExemplarViewEditar(((int)gridAutor.CurrentRow.Cells[0].Value), (bool)gridAutor.CurrentRow.Cells[1].Value, (int)gridAutor.CurrentRow.Cells[2].Value, (int)gridAutor.CurrentRow.Cells[3].Value);

            vw.ShowDialog();
            atualizaTela();
        }