SIPSorcery.CustomerSettingsControl.UpdateCustomerPasswordComplete C# (CSharp) Method

UpdateCustomerPasswordComplete() private method

private UpdateCustomerPasswordComplete ( InvokeOperation io ) : void
io InvokeOperation
return void
        private void UpdateCustomerPasswordComplete(InvokeOperation io)
        {
            if (io.HasError)
            {
                UIHelper.SetText(m_statusTextBlock, io.Error.Message);
                io.MarkErrorAsHandled();
            }
            else
            {
                UIHelper.SetText(m_statusTextBlock, "Password successfully updated.");
            }

            SetUpdateButtonsEnabled(true);
        }