private void Submit()
        {
            PasswordOld.Error = PasswordNew.Error = PasswordConfirm.Error = "";
            if (string.IsNullOrEmpty(PasswordOld.Password))
            {
                PasswordOld.Error = "Пароль не введен";
                return;
            }

            if (string.IsNullOrEmpty(PasswordNew.Password))
            {
                PasswordNew.Error = "Новый пароль не введен";
                return;
            }

            if (string.IsNullOrEmpty(PasswordConfirm.Password))
            {
                PasswordConfirm.Error = "Подтверждение не введено";
                return;
            }

            if (PasswordConfirm.Password != PasswordNew.Password)
            {
                PasswordConfirm.Error = "Пароли не совпадают";
                return;
            }

            if (_settingsProvider.ChangePassword(PasswordOld.Password, PasswordNew.Password))
            {
                PasswordOld.Password = PasswordNew.Password = PasswordConfirm.Password = "";
                _dialogService.ShowInfo(@"Пароль изменен");
                return;
            }
            else
            {
                PasswordOld.Password = "";
                PasswordOld.Error    = "Не верный пароль";
            }
        }