From aa4e7d00b3fb5c68af8d63f4abb36c665cc1c8e0 Mon Sep 17 00:00:00 2001 From: Philipp Sumi Date: Sat, 16 May 2009 20:33:45 +0000 Subject: [PATCH] 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 --- Source/Changelog.txt | 12 ++-- Source/Sample Project/Main.xaml | 62 +++++++++++-------- .../Showcase/ShowcaseWindow.xaml | 2 +- 3 files changed, 43 insertions(+), 33 deletions(-) diff --git a/Source/Changelog.txt b/Source/Changelog.txt index 81bf8aa..086df01 100644 --- a/Source/Changelog.txt +++ b/Source/Changelog.txt @@ -7,14 +7,14 @@ Contact and Information: http://www.hardcodet.net 1.0.1 ***** -CHG DataContext is also assigned to ContextMenu, and properly coerced for - ToolTips and Popups. Also checks whether target item has a binding - on the DataContext (does not just override if DataContext is null). - Thanks Nic Pilllinger for pointing this one out. +CHG DataContext is also assigned to ContextMenu (thanks Nic Pilllinger), + and properly coerced for ToolTips and Popups. Also checks whether + target item has a binding on the DataContext + (does not just override if DataContext is null). CHG Popup creation no longer calls Popup.CreateRootPopup which tries to bind to dependency properties that do not exist, thus causing debug - warnings. Thanks to Loic Berthollet for the hint. -CHG The LeftClickCommand now executes with a delay in order to mak sure + warnings (thanks to Loic Berthollet). +CHG The LeftClickCommand now executes with a delay in order to make sure it's not a double-click. FIX Removed debug output in WindowMessageSink. diff --git a/Source/Sample Project/Main.xaml b/Source/Sample Project/Main.xaml index a972bc9..410cb08 100644 --- a/Source/Sample Project/Main.xaml +++ b/Source/Sample Project/Main.xaml @@ -2,7 +2,7 @@ x:Class="Samples.Main" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - Title="Main" + Title="NotifyIcon Samples" Height="563" Width="703" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" @@ -68,7 +68,7 @@ Click="btnInlineToolTip_Click" />