Beispiel #1
0
        private void dgvPosicoes_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            using (var bo = new PosicaoBO())
            {
                var id = dgvPosicoes.Rows[e.RowIndex].Cells["Id"].Value.ToString().ToInt();

                var posicao = bo.Get(id);

                var form = new CadastroPosicoesForm(this, posicao);
                form.Show();
            }
        }
Beispiel #2
0
        private void adicionarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new CadastroPosicoesForm(this);

            form.Show();
        }