Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 private void BackGroundTextBox_TextChanged(object sender, TextChangedEventArgs e)
 {
     Tools.settings.CurrentSettings.BackGroundColor = Tools.UI.GetTextFromTextboxToUpper(sender);
     BackgroundUpdated?.Invoke();
 }
Esempio n. 3
0
 private void UseImageCheckBox_Unchecked(object sender, RoutedEventArgs e)
 {
     Tools.settings.CurrentSettings.IsBackgroundImage = false;
     BackgroundUpdated?.Invoke();
 }