private void BackGroundImagePath_TextChanged(object sender, TextChangedEventArgs e) { string Ptext = ((System.Windows.Controls.TextBox)sender).Text; if (File.Exists(Ptext)) { Tools.settings.CurrentSettings.BackGroundImage = Ptext; } BackgroundUpdated?.Invoke(); }
private void BackGroundTextBox_TextChanged(object sender, TextChangedEventArgs e) { Tools.settings.CurrentSettings.BackGroundColor = Tools.UI.GetTextFromTextboxToUpper(sender); BackgroundUpdated?.Invoke(); }
private void UseImageCheckBox_Unchecked(object sender, RoutedEventArgs e) { Tools.settings.CurrentSettings.IsBackgroundImage = false; BackgroundUpdated?.Invoke(); }