/// <summary>
 ///  For Enter key and Backspace navigation
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void frmPhysicalStock_KeyDown(object sender, KeyEventArgs e)
 {
     try
     {
         if (e.KeyCode == Keys.Escape)
         {
             if (PublicVariables.isMessageClose)
             {
                 Messages.CloseMessage(this);
             }
             else
             {
                 this.Close();
             }
         }
         if (e.KeyCode == Keys.S && Control.ModifierKeys == Keys.Control)
         {
             btnSave_Click(sender, e);
         }
         if (e.KeyCode == Keys.D && Control.ModifierKeys == Keys.Control)
         {
             if (btnDelete.Enabled)
             {
                 btnDelete_Click(sender, e);
             }
         }
         if (e.KeyCode == Keys.C && Control.ModifierKeys == Keys.Alt)
         {
             if (dgvPhysicalStock.CurrentCell != null)
             {
                 if (dgvPhysicalStock.CurrentCell == dgvPhysicalStock.CurrentRow.Cells["dgvtxtProductName"] || dgvPhysicalStock.CurrentCell == dgvPhysicalStock.CurrentRow.Cells["dgvtxtProductCode"])
                 {
                     if (dgvPhysicalStock.Columns[dgvPhysicalStock.CurrentCell.ColumnIndex].Name == "dgvtxtProductName" || dgvPhysicalStock.Columns[dgvPhysicalStock.CurrentCell.ColumnIndex].Name == "dgvtxtProductCode")
                     {
                         frmProductCreation frmProductCreationObj = new frmProductCreation();
                         frmProductCreationObj.MdiParent = formMDI.MDIObj;
                         frmProductCreationObj.CallFromPhysicalStock(this);
                     }
                 }
             }
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("PS:48" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }