mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-10-05 04:24:38 +13:00
de483c874c
Remove use of resx file Resource files are marked as "Resource" instead Resources are loaded via resource dictionaries (either from code behind or XAML directly through binding) Reduce amount of required image conversions Also fix overlay of 50 percent transparency (is now rendered half transparent correct instead of adding "white fog") Remove obsolete image as rendering is done directly in code Also fix rendering of link indicator at correct image position Also remove setting Icons of all Windows (as default is application icon anyway)
17 lines
846 B
XML
17 lines
846 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Copyright (c) 2022-2023 Peter Kirmeier -->
|
|
<Application
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="SystemTrayMenu.App" ShutdownMode="OnExplicitShutdown">
|
|
|
|
<Application.Resources>
|
|
<BitmapImage x:Key="ApplicationImage" UriSource="../Resources/SystemTrayMenu.png" />
|
|
|
|
<BitmapImage x:Key="ApplicationIconImage" UriSource="../Resources/SystemTrayMenu.ico" />
|
|
<BitmapImage x:Key="LinkArrowIconImage" UriSource="../Resources/LinkArrow.ico" />
|
|
<BitmapImage x:Key="LoadingIconImage" UriSource="../Resources/Loading.ico" />
|
|
<BitmapImage x:Key="NotFoundIconImage" UriSource="../Resources/NotFound.ico" />
|
|
</Application.Resources>
|
|
|
|
</Application>
|