예제 #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();
        }