private void NameTextBoxTextChanged(object sender, TextChangedEventArgs e) { if (this.State == ThemeManagerWindowState.UserThemeUnedited && this.EditedTheme.Name != this.SelectedTheme.Name) { this.State = ThemeManagerWindowState.UserThemeEdited; } }