Пример #1
0
        /// <summary>
        /// Editar
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Button1_Click(object sender, EventArgs e)
        {
            string id = dataGridView1.SelectedRows[0].Cells["id"].Value.ToString();

            frmGerenciarMilitar frm = new frmGerenciarMilitar(gerenciamento.GetDTO(id));

            frm.ShowDialog();

            AtualizaDataGrid();
        }
Пример #2
0
        private void adicionarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmGerenciarMilitar GerenciarMilitar = new frmGerenciarMilitar();

            GerenciarMilitar.ShowDialog();
        }