mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-02-16 18:49:54 -05:00
CHG Formatting only.
git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@196 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
@@ -381,14 +381,12 @@ namespace Hardcodet.Wpf.TaskbarNotification
|
|||||||
SetParentTaskbarIcon((DependencyObject) e.OldValue, null);
|
SetParentTaskbarIcon((DependencyObject) e.OldValue, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (e.NewValue != null)
|
if (e.NewValue != null)
|
||||||
{
|
{
|
||||||
//set this taskbar icon as a reference to the new tooltip element
|
//set this taskbar icon as a reference to the new tooltip element
|
||||||
SetParentTaskbarIcon((DependencyObject) e.NewValue, this);
|
SetParentTaskbarIcon((DependencyObject) e.NewValue, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//update tooltip settings - needed to make sure a string is set, even
|
//update tooltip settings - needed to make sure a string is set, even
|
||||||
//if the ToolTipText property is not set. Otherwise, the event that
|
//if the ToolTipText property is not set. Otherwise, the event that
|
||||||
//triggers tooltip display is never fired.
|
//triggers tooltip display is never fired.
|
||||||
|
|||||||
Reference in New Issue
Block a user