public int Request(bool bNext = false) { _ewh_RecvSync.Reset(); _queryResult = null; int result = _xaQuery.Request(bNext); if (result >= 0) { while (true) { Application.DoEvents(); if (_ewh_RecvSync.WaitOne(16) == true) { break; } } } return(result); }
private void _xaQuery_ReceiveMessage(bool bIsSystemError, string nMessageCode, string szMessage) { _queryResult = new XAQueryResult(bIsSystemError, nMessageCode, szMessage); }