示例#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();
        }