mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-02-15 18:49:29 -05:00
WPF NotifyIcon
-------------- CHG Changes in sample project. git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@107 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
@@ -7,14 +7,14 @@ Contact and Information: http://www.hardcodet.net
|
|||||||
|
|
||||||
1.0.1
|
1.0.1
|
||||||
*****
|
*****
|
||||||
CHG DataContext is also assigned to ContextMenu, and properly coerced for
|
CHG DataContext is also assigned to ContextMenu (thanks Nic Pilllinger),
|
||||||
ToolTips and Popups. Also checks whether target item has a binding
|
and properly coerced for ToolTips and Popups. Also checks whether
|
||||||
on the DataContext (does not just override if DataContext is null).
|
target item has a binding on the DataContext
|
||||||
Thanks Nic Pilllinger for pointing this one out.
|
(does not just override if DataContext is null).
|
||||||
CHG Popup creation no longer calls Popup.CreateRootPopup which tries to
|
CHG Popup creation no longer calls Popup.CreateRootPopup which tries to
|
||||||
bind to dependency properties that do not exist, thus causing debug
|
bind to dependency properties that do not exist, thus causing debug
|
||||||
warnings. Thanks to Loic Berthollet for the hint.
|
warnings (thanks to Loic Berthollet).
|
||||||
CHG The LeftClickCommand now executes with a delay in order to mak sure
|
CHG The LeftClickCommand now executes with a delay in order to make sure
|
||||||
it's not a double-click.
|
it's not a double-click.
|
||||||
FIX Removed debug output in WindowMessageSink.
|
FIX Removed debug output in WindowMessageSink.
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
x:Class="Samples.Main"
|
x:Class="Samples.Main"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
Title="Main"
|
Title="NotifyIcon Samples"
|
||||||
Height="563"
|
Height="563"
|
||||||
Width="703"
|
Width="703"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
Click="btnInlineToolTip_Click" />
|
Click="btnInlineToolTip_Click" />
|
||||||
<Button
|
<Button
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="10,249,0,0"
|
Margin="10,244,0,0"
|
||||||
Width="164"
|
Width="164"
|
||||||
Content="Popups"
|
Content="Popups"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
Click="btnPopups_Click" />
|
Click="btnPopups_Click" />
|
||||||
<Button
|
<Button
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="10,286,0,0"
|
Margin="10,281,0,0"
|
||||||
Width="164"
|
Width="164"
|
||||||
Content="Context Menus"
|
Content="Context Menus"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
Click="btnContextMenus_Click" />
|
Click="btnContextMenus_Click" />
|
||||||
<Button
|
<Button
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="10,323,0,0"
|
Margin="10,318,0,0"
|
||||||
Width="164"
|
Width="164"
|
||||||
Content="Balloon Tips"
|
Content="Balloon Tips"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
Click="btnBalloons_Click" />
|
Click="btnBalloons_Click" />
|
||||||
<Button
|
<Button
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="10,360,0,0"
|
Margin="10,355,0,0"
|
||||||
Width="164"
|
Width="164"
|
||||||
Content="Commands"
|
Content="Commands"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
@@ -141,24 +141,36 @@
|
|||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="244.31,50,0,66"
|
Margin="244.31,50,0,66"
|
||||||
Width="1"
|
Width="1"
|
||||||
Data="M269,57 L269,390.18163" />
|
Data="M269,57 L269,390.18163" Opacity="0.325" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Margin="255.31,191,10,0"
|
Margin="255.31,191,10,0"
|
||||||
TextWrapping="Wrap"
|
TextWrapping="Wrap"
|
||||||
VerticalAlignment="Top"><Run
|
VerticalAlignment="Top">
|
||||||
Text="You will always find the latest news related to the component on the project page:" /><LineBreak /><Hyperlink
|
<Run Text="The latest news related to the component can be found on the project page:"/>
|
||||||
NavigateUri="http://www.hardcodet.net/wpf-notifyicon"><Run
|
<LineBreak/>
|
||||||
Text="http://www.hardcodet.net/wpf-notifyicon" /></Hyperlink><LineBreak /><Run
|
<Hyperlink NavigateUri="http://www.hardcodet.net/wpf-notifyicon">
|
||||||
Text="" /><LineBreak /><Run
|
<Run Text="http://www.hardcodet.net/wpf-notifyicon"/>
|
||||||
Text="Critical feedback is appreciated - please post bug reports, requests, questions etc. to the CodeProject forum" /><Run
|
</Hyperlink>
|
||||||
Language="de-ch"
|
<LineBreak/>
|
||||||
Text=":" /><LineBreak /><Hyperlink
|
<LineBreak/>
|
||||||
NavigateUri="http://www.codeproject.com/KB/WPF/wpf_notifyicon.aspx"><Run
|
<Run Text="Critical feedback is appreciated - please post bug reports, requests, questions etc. to the CodeProject forum"/>
|
||||||
Text="http://www.codeproject.com/KB/WPF/wpf_notifyicon.aspx" /></Hyperlink><LineBreak /><Run
|
<Run Language="de-ch" Text=":"/>
|
||||||
Text="" /><LineBreak /><Run
|
<LineBreak/>
|
||||||
Language="de-ch"
|
<Hyperlink NavigateUri="http://www.codeproject.com/KB/WPF/wpf_notifyicon.aspx">
|
||||||
Text="I" /><Run
|
<Run Text="http://www.codeproject.com/KB/WPF/wpf_notifyicon.aspx"/>
|
||||||
Text="f you love it or hate it, please let me know and leave your rating - thanks!" /></TextBlock>
|
</Hyperlink>
|
||||||
|
<LineBreak/>
|
||||||
|
<LineBreak/>
|
||||||
|
<LineBreak/>
|
||||||
|
<TextBlock FontWeight="Bold">
|
||||||
|
<Run FontWeight="Bold" Text="Love it or hate it? Please let me know and "/>
|
||||||
|
<Hyperlink NavigateUri="http://www.codeproject.com/KB/WPF/wpf_notifyicon.aspx">
|
||||||
|
<Run Text="rate the project"/>
|
||||||
|
</Hyperlink>
|
||||||
|
<Run Text=" - thanks!" />
|
||||||
|
</TextBlock>
|
||||||
|
|
||||||
|
</TextBlock>
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Margin="10,0,10,10"
|
Margin="10,0,10,10"
|
||||||
VerticalAlignment="Bottom"
|
VerticalAlignment="Bottom"
|
||||||
@@ -176,19 +188,17 @@
|
|||||||
Margin="11,0,17.926,41"
|
Margin="11,0,17.926,41"
|
||||||
VerticalAlignment="Bottom"
|
VerticalAlignment="Bottom"
|
||||||
Height="1"
|
Height="1"
|
||||||
Data="M11,517 L561.07363,517" />
|
Data="M11,517 L561.07363,517" Opacity="0.33" />
|
||||||
<Button
|
<Button
|
||||||
HorizontalAlignment="Left"
|
Margin="11,429,0,0"
|
||||||
Margin="11,397,0,0"
|
|
||||||
Width="164"
|
|
||||||
Content="Events"
|
Content="Events"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
Height="27"
|
Height="27"
|
||||||
x:Name="btnEvents"
|
x:Name="btnEvents"
|
||||||
Click="btnEvents_Click" />
|
Click="btnEvents_Click" Width="164" HorizontalAlignment="Left" />
|
||||||
<Button
|
<Button
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="11,434,0,0"
|
Margin="10,392,0,0"
|
||||||
Width="164"
|
Width="164"
|
||||||
Content="Data Binding"
|
Content="Data Binding"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:tb="http://www.hardcodet.net/taskbar"
|
xmlns:tb="http://www.hardcodet.net/taskbar"
|
||||||
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
||||||
Title="WPF NotifyIcon Sample"
|
Title="WPF NotifyIcon"
|
||||||
Height="874"
|
Height="874"
|
||||||
Width="880"
|
Width="880"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
|||||||
Reference in New Issue
Block a user