123456789101112131415161718192021222324252627282930313233 |
- <Prism:PrismApplication x:Class="EEMSCenterUI.App"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="clr-namespace:EEMSCenterUI"
- xmlns:tb="http://www.hardcodet.net/taskbar"
- xmlns:Prism="http://prismlibrary.com/">
- <Prism:PrismApplication.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="/UICommon;component/Brush.xaml"/>
- <ResourceDictionary Source="/UICommon;component/Styles/ButtonStyle.xaml"/>
- <ResourceDictionary Source="/UICommon;component/Styles/CheckBoxStyle.xaml"/>
- <ResourceDictionary Source="/UICommon;component/Styles/ComboBoxStyle.xaml"/>
- <ResourceDictionary Source="/UICommon;component/DrawImage.xaml"/>
- <ResourceDictionary Source="/UICommon;component/Styles/OtherStyle.xaml"/>
- <ResourceDictionary Source="/UICommon;component/Styles/RadioButtonStyle.xaml"/>
- </ResourceDictionary.MergedDictionaries>
- <tb:TaskbarIcon x:Key="Taskbar"
- ToolTipText="EEMS Server"
- IconSource="Logo.ico"
- DoubleClickCommand="{Binding HideShowCommand}">
- <tb:TaskbarIcon.ContextMenu>
- <ContextMenu >
- <MenuItem Header="显示/隐藏" Command="{Binding HideShowCommand}"/>
- <MenuItem Header="退出 EEMS Server" Command="{Binding ExitCommand}"/>
- </ContextMenu>
- </tb:TaskbarIcon.ContextMenu>
- </tb:TaskbarIcon>
- </ResourceDictionary>
- </Prism:PrismApplication.Resources>
- </Prism:PrismApplication>
|