/// <summary>
 /// Call Corresponding Voucher to View details for updation in edit mode
 /// </summary>
 public void GotoSalesQuotation()
 {
     try
     {
         frmSalesQuotation objfrmSalesQuotation = new frmSalesQuotation();
         frmSalesQuotation open = Application.OpenForms["frmSalesQuotation"] as frmSalesQuotation;
         if (open == null)
         {
             objfrmSalesQuotation.WindowState = FormWindowState.Normal;
             objfrmSalesQuotation.MdiParent = formMDI.MDIObj;
             objfrmSalesQuotation.Show();
             objfrmSalesQuotation.CallFromVoucherSearch(this, Convert.ToDecimal(dgvVoucherSearch.CurrentRow.Cells["Id"].Value.ToString()));
         }
         else
         {
             open.MdiParent = formMDI.MDIObj;
             if (open.WindowState == FormWindowState.Minimized)
             {
                 open.WindowState = FormWindowState.Normal;
             }
             else
             {
                 open.Activate();
             }
             open.CallFromVoucherSearch(this, Convert.ToDecimal(dgvVoucherSearch.CurrentRow.Cells["Id"].Value.ToString()));
             open.BringToFront();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("VS5:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }