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

                    var transferencia = bo.Get(id);

                    var form = new TransferenciaForm(this, transferencia);
                    form.Show();
                }
            }
            catch (Exception)
            {
                throw;
            }
        }
Beispiel #2
0
        private void adicionarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var form = new TransferenciaForm(this);

            form.Show();
        }