fixes #169 - Double click on taskbar icon

This commit is contained in:
Luke Pulverenti 2013-04-23 11:02:02 -04:00
parent 57dd61d209
commit e977548b06
8 changed files with 1 additions and 35 deletions

View File

@ -10,7 +10,7 @@
WindowStyle="None"
ShowInTaskbar="False">
<Grid>
<tb:TaskbarIcon Name="MbTaskbarIcon" ToolTipText="Media Browser Server">
<tb:TaskbarIcon Name="MbTaskbarIcon" ToolTipText="Media Browser Server" IconSource="/Resources/Images/icon.ico">
<tb:TaskbarIcon.ContextMenu>
<ContextMenu Background="White">
@ -35,32 +35,6 @@
</ContextMenu>
</tb:TaskbarIcon.ContextMenu>
<tb:TaskbarIcon.Style>
<Style TargetType="{x:Type tb:TaskbarIcon}">
<Setter Property="IconSource" Value="/Resources/Images/icon.ico" />
<Style.Triggers>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="1">
<Setter Property="IconSource" Value="/Resources/Images/Loading/1.ico" />
</DataTrigger>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="2">
<Setter Property="IconSource" Value="/Resources/Images/Loading/2.ico" />
</DataTrigger>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="3">
<Setter Property="IconSource" Value="/Resources/Images/Loading/3.ico" />
</DataTrigger>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="4">
<Setter Property="IconSource" Value="/Resources/Images/Loading/4.ico" />
</DataTrigger>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="5">
<Setter Property="IconSource" Value="/Resources/Images/Loading/5.ico" />
</DataTrigger>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="6">
<Setter Property="IconSource" Value="/Resources/Images/Loading/6.ico" />
</DataTrigger>
</Style.Triggers>
</Style>
</tb:TaskbarIcon.Style>
</tb:TaskbarIcon>
</Grid>
</Window>

View File

@ -333,14 +333,6 @@
<Resource Include="Resources\Images\mblogoblackfull.png" />
<Resource Include="Resources\Images\mblogowhitefull.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\Images\Loading\1.ico" />
<Resource Include="Resources\Images\Loading\2.ico" />
<Resource Include="Resources\Images\Loading\3.ico" />
<Resource Include="Resources\Images\Loading\4.ico" />
<Resource Include="Resources\Images\Loading\5.ico" />
<Resource Include="Resources\Images\Loading\6.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
<Visible>False</Visible>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB