mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-01-15 01:35:38 -05:00
NTFY-25 git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@203 9f600761-6f11-4665-b6dc-0185e9171623
22 lines
914 B
XML
22 lines
914 B
XML
<Application x:Class="Windowless_Sample.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
ShutdownMode="OnExplicitShutdown">
|
|
<Application.Resources>
|
|
|
|
<!--
|
|
Note that this application does not have a StartupUri declared, so no Window is automatically loaded.
|
|
Also, the ShutdownMode was set to explicit, so we have to close the application programmatically
|
|
-->
|
|
|
|
|
|
<!-- merge NotifyIcon and related stuff into the application -->
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="NotifyIconResources.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
|
|
</Application.Resources>
|
|
</Application>
|