private void CheckOldPassWordCorrect() { if (CBZ.CheckLogin(CBZ.CurrentUser.Initials, PasswordBoxOld.Text)) { OldPassWordCorrect = true; ButtonPasswordOldIndicator.Source = CBZ.greenIndicator.ImageSource; } else { OldPassWordCorrect = false; ButtonPasswordOldIndicator.Source = CBZ.redIndicator.ImageSource; } }