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