/// <summary>
        /// Fills the selected product to the control to corresponding form
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void dgvProductSearchPopup_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            try
            {
                if (e.RowIndex != -1)
                {
                    if (frmPurchaseOrderObj != null)
                    {
                        if (dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Selected)
                        {
                            frmPurchaseOrderObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                        }
                    }
                    if (frmSalesOrderObj != null)
                    {
                        if (dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Selected)
                        {
                            frmSalesOrderObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                        }
                    }
                    if (frmSalesQuotationObj != null)
                    {
                        if (dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Selected)
                        {
                            frmSalesQuotationObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                        }
                    }

                    if (frmPurchaseReturnObj != null)
                    {
                        if (dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Selected)
                        {
                            frmPurchaseReturnObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                        }
                    }
                    if (frmMaterialReceiptObj != null)
                    {
                        if (dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Selected)
                        {
                            frmMaterialReceiptObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                        }
                    }
                    if (frmDeliveryNoteObj != null)
                    {
                        if (dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Selected)
                        {
                            frmDeliveryNoteObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                        }
                    }

                    if (frmPurchaseInvoiceObj != null)
                    {
                        frmPurchaseInvoiceObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                    }

                    if (frmSalesInvoiceObj != null)
                    {
                        frmSalesInvoiceObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                    }

                    if (frmSalesReturnObj != null)
                    {
                        frmSalesReturnObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                    }
                    if (frmStockJournalObj != null)
                    {
                        frmStockJournalObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                    }
                    if (frmPhysicalStockObj != null)
                    {
                        frmPhysicalStockObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                    }
                    if (frmPOSObj != null)
                    {
                        frmPOSObj.CallFromProductSearchPopup(this, Convert.ToDecimal(dgvProductSearchPopup.CurrentRow.Cells["dgvtxtProductId"].Value.ToString()), decCurrentRowIndex);
                    }
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("PSP23:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }