private void OnButtonClick(object obj) { if (obj != null) { ButtonResult = obj.ToString(); ProgressValue += 0.5f; ButtonEnabled = true; NumericTextBoxValue = 100; Password = string.Empty; } }