예제 #1
0
        protected virtual void OnConnectionExceptionFired(object sender, EventArgs <Exception> e)
        {
            //isClosed = true;
            Cursor = Cursors.Default;
            var action = new ConnectionExceptionAction(e.First);

            action.Perform();
        }
예제 #2
0
        void Connection_ExceptionFired(object sender, EventArgs <Exception> e)
        {
            Cursor = Cursors.Default;
            if (FormHelper.ActiveForm != null)
            {
                FormHelper.ActiveForm.Enabled = true;
            }

            SetSignImageIndex(sender);

            ActionHelper.OnDisconnected(true);
            if (!_IsDisconnection)
            {
                var action = new ConnectionExceptionAction(e.First);
                action.Perform();
            }
            _IsDisconnection = false;
        }