public int TranslateAccelerator(MSG[] pMsg)
        {
            Message message = Message.Create(pMsg[0].hwnd, (int)pMsg[0].message, pMsg[0].wParam, pMsg[0].lParam);
            int     hr      = ConfigurationView.ProcessAccelerator(ref message);

            pMsg[0].lParam = message.LParam;
            pMsg[0].wParam = message.WParam;
            return(hr);
        }
 public int TranslateAccelerator(MSG[] pMsg)
 {
     try
     {
         Message message = Message.Create(pMsg[0].hwnd, (int)pMsg[0].message, pMsg[0].wParam, pMsg[0].lParam);
         int     hr      = ConfigurationView.ProcessAccelerator(ref message);
         pMsg[0].lParam = message.LParam;
         pMsg[0].wParam = message.WParam;
         return(hr);
     }
     catch (Exception ex)
     {
         Package.UnexpectedExceptionWarning(ex);
         throw;
     }
 }