示例#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 bOMListViewToolStripMenuItem_Click(object sender, EventArgs e)
 {
     BomOffer.BomOfferList bomOfferList = new BomOffer.BomOfferList(AmbleClient.BomOffer.BomOfferTypeEnum.BOM);
     bomOfferList.MdiParent=this;
     bomOfferList.Show();
 }
示例#5
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();
        }
示例#6
0
 private void offerListViewToolStripMenuItem_Click(object sender, EventArgs e)
 {
     BomOffer.BomOfferList bomOfferList = new BomOffer.BomOfferList(true);
     bomOfferList.MdiParent = this;
     bomOfferList.Show();
 }
示例#7
0
 private void offerListViewToolStripMenuItem_Click(object sender, EventArgs e)
 {
     BomOffer.BomOfferList bomOfferList = new BomOffer.BomOfferList(true);
     bomOfferList.MdiParent = this;
     bomOfferList.Show();
 }
示例#8
0
 private void lTOfferListToolStripMenuItem_Click(object sender, EventArgs e)
 {
     BomOffer.BomOfferList bomOfferList = new BomOffer.BomOfferList(AmbleClient.BomOffer.BomOfferTypeEnum.LTOffer);
     bomOfferList.MdiParent = this;
     bomOfferList.Show();
 }