<prism:PrismApplication x:Class="EEMSUIClient.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:EEMSUIClient"
             xmlns:tb="http://www.hardcodet.net/taskbar"
             xmlns:prism="http://prismlibrary.com/"
             ShutdownMode="OnExplicitShutdown"
             Exit="OnExit">
    <prism:PrismApplication.Resources>
        <tb:TaskbarIcon x:Key="TrayIcon"
                         IconSource="/Logo.ico"
                         ToolTipText="EEMS Client"
                         TrayMouseDoubleClick="TrayIcon_TrayMouseDoubleClick">
            <tb:TaskbarIcon.ContextMenu>
                <ContextMenu>
                    <MenuItem Header="显示" Click="ShowMenu_Click"/>
                    <Separator/>
                    <MenuItem Header="退出" Click="ExitMenu_Click"/>
                </ContextMenu>
            </tb:TaskbarIcon.ContextMenu>
        </tb:TaskbarIcon>
    </prism:PrismApplication.Resources>
</prism:PrismApplication>
