Example #1
0
        private void OnError(XDagErrorCode errorCode)
        {
            logger.Error("Got error code:" + errorCode.ToString());

            if (logonStatus == LogonStatus.ConnectingPending)
            {
                if (errorCode == XDagErrorCode.PasswordIncorrect)
                {
                    MessageBox.Show(Properties.Strings.Message_PasswordIncorrect, Properties.Strings.Common_MessageTitle);
                    HideStatus();
                }
            }
        }
Example #2
0
        public void OnError(int errorCode, string errorMessage)
        {
            XDagErrorCode error = XDagErrorHandler.ParseErrorCode(errorCode);

            this.onError?.Invoke(error);
        }