diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 2796ce5..6189624 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -921,7 +921,7 @@ namespace C4IT_CustomerPanel if (ActiveButton != clickedButton) { - clickedButton.Background = Brushes.Transparent; + clickedButton.Background = System.Windows.Media.Brushes.Transparent; FrameworkElement activeIndicator = GetActiveTabIndicator(clickedButton); if (activeIndicator != null) activeIndicator.Visibility = Visibility.Visible; @@ -931,7 +931,7 @@ namespace C4IT_CustomerPanel if (ActiveButton != null) { - ActiveButton.Background = Brushes.Transparent; + ActiveButton.Background = System.Windows.Media.Brushes.Transparent; FrameworkElement inactiveIndicator = GetActiveTabIndicator(ActiveButton); if (inactiveIndicator != null) inactiveIndicator.Visibility = Visibility.Hidden; @@ -1724,7 +1724,7 @@ namespace C4IT_CustomerPanel if (!(sender is Button bu)) return; - bu.Background = Brushes.Transparent; + bu.Background = System.Windows.Media.Brushes.Transparent; } catch (Exception exp) {