fixes #169 - Double click on taskbar icon
This commit is contained in:
parent
57dd61d209
commit
e977548b06
|
@ -10,7 +10,7 @@
|
||||||
WindowStyle="None"
|
WindowStyle="None"
|
||||||
ShowInTaskbar="False">
|
ShowInTaskbar="False">
|
||||||
<Grid>
|
<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>
|
<tb:TaskbarIcon.ContextMenu>
|
||||||
<ContextMenu Background="White">
|
<ContextMenu Background="White">
|
||||||
|
@ -35,32 +35,6 @@
|
||||||
</ContextMenu>
|
</ContextMenu>
|
||||||
</tb:TaskbarIcon.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>
|
</tb:TaskbarIcon>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
|
|
@ -333,14 +333,6 @@
|
||||||
<Resource Include="Resources\Images\mblogoblackfull.png" />
|
<Resource Include="Resources\Images\mblogoblackfull.png" />
|
||||||
<Resource Include="Resources\Images\mblogowhitefull.png" />
|
<Resource Include="Resources\Images\mblogowhitefull.png" />
|
||||||
</ItemGroup>
|
</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>
|
<ItemGroup>
|
||||||
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
|
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
|
||||||
<Visible>False</Visible>
|
<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 |
Loading…
Reference in New Issue
Block a user