Пример #1
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int rowIndex = e.RowIndex;
            if (rowIndex < 0)
                return;

            DataGridViewRow dgvr = dataGridView1.Rows[rowIndex];
            int custVenId = Convert.ToInt32(dgvr.Cells["Id"].Value);
            BomOffer.BomOfferList bomOfferList = new BomOfferList(bomOfferType, custVenId);
            bomOfferList.ShowDialog();
        }
Пример #2
0
        private void tscbDisplayBomOffer_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedRows.Count == 0)
            {
                return;
            }


            DataGridViewRow dgvr      = dataGridView1.SelectedRows[0];
            int             custVenId = Convert.ToInt32(dgvr.Cells["Id"].Value);

            BomOffer.BomOfferList bomOfferList = new BomOfferList(isOffer, custVenId);
            bomOfferList.ShowDialog();
        }
Пример #3
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int rowIndex = e.RowIndex;

            if (rowIndex < 0)
            {
                return;
            }

            DataGridViewRow dgvr      = dataGridView1.Rows[rowIndex];
            int             custVenId = Convert.ToInt32(dgvr.Cells["Id"].Value);

            BomOffer.BomOfferList bomOfferList = new BomOfferList(isOffer, custVenId);
            bomOfferList.ShowDialog();
        }
Пример #4
0
        private void tscbDisplayBomOffer_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedRows.Count == 0) return;

            DataGridViewRow dgvr = dataGridView1.SelectedRows[0];
            int custVenId = Convert.ToInt32(dgvr.Cells["Id"].Value);
            BomOffer.BomOfferList bomOfferList = new BomOfferList(isOffer, custVenId);
            bomOfferList.ShowDialog();
        }