예제 #1
0
        private void encomendasFritasDataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            var          encomenda = int.Parse(encomendasFritasDataGridView[0, e.RowIndex].Value.ToString());
            VerEncomenda Check     = new VerEncomenda(encomenda);

            Check.Show();
        }
예제 #2
0
        private void dataGridView2_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var          PlanoFrito = (PlanoFrito)dataGridView2.Rows[e.RowIndex].DataBoundItem;
            VerEncomenda Check      = new VerEncomenda(PlanoFrito.PlanoSemanal.NumeroCarga);

            Check.Show();
        }