mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-02-16 18:49:54 -05:00
CHG Reformatted code and updated copyright notice.
NTFY-20 git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@201 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
// hardcodet.net NotifyIcon for WPF
|
// hardcodet.net NotifyIcon for WPF
|
||||||
// Copyright (c) 2009 Philipp Sumi
|
// Copyright (c) 2009 - 2013 Philipp Sumi
|
||||||
// Contact and Information: http://www.hardcodet.net
|
// Contact and Information: http://www.hardcodet.net
|
||||||
//
|
//
|
||||||
// This library is free software; you can redistribute it and/or
|
// This library is free software; you can redistribute it and/or
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// hardcodet.net NotifyIcon for WPF
|
// hardcodet.net NotifyIcon for WPF
|
||||||
// Copyright (c) 2009 Philipp Sumi
|
// Copyright (c) 2009 - 2013 Philipp Sumi
|
||||||
// Contact and Information: http://www.hardcodet.net
|
// Contact and Information: http://www.hardcodet.net
|
||||||
//
|
//
|
||||||
// This library is free software; you can redistribute it and/or
|
// This library is free software; you can redistribute it and/or
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// hardcodet.net NotifyIcon for WPF
|
// hardcodet.net NotifyIcon for WPF
|
||||||
// Copyright (c) 2009 Philipp Sumi
|
// Copyright (c) 2009 - 2013 Philipp Sumi
|
||||||
// Contact and Information: http://www.hardcodet.net
|
// Contact and Information: http://www.hardcodet.net
|
||||||
//
|
//
|
||||||
// This library is free software; you can redistribute it and/or
|
// This library is free software; you can redistribute it and/or
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System.Reflection;
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
@@ -36,7 +37,6 @@ using System.Windows.Markup;
|
|||||||
|
|
||||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
||||||
|
|
||||||
|
|
||||||
[assembly: ThemeInfo(
|
[assembly: ThemeInfo(
|
||||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
||||||
//(used if a resource is not found in the page,
|
//(used if a resource is not found in the page,
|
||||||
@@ -58,5 +58,5 @@ using System.Windows.Markup;
|
|||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
|
||||||
[assembly: AssemblyVersion("1.1.0.0")]
|
[assembly: AssemblyVersion("1.0.5.0")]
|
||||||
[assembly: AssemblyFileVersion("1.1.0.0")]
|
[assembly: AssemblyFileVersion("1.0.5.0")]
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
// hardcodet.net NotifyIcon for WPF
|
// hardcodet.net NotifyIcon for WPF
|
||||||
// Copyright (c) 2009 Philipp Sumi
|
// Copyright (c) 2009 - 2013 Philipp Sumi
|
||||||
// Contact and Information: http://www.hardcodet.net
|
// Contact and Information: http://www.hardcodet.net
|
||||||
//
|
//
|
||||||
// This library is free software; you can redistribute it and/or
|
// This library is free software; you can redistribute it and/or
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// hardcodet.net NotifyIcon for WPF
|
// hardcodet.net NotifyIcon for WPF
|
||||||
// Copyright (c) 2009 Philipp Sumi
|
// Copyright (c) 2009 - 2013 Philipp Sumi
|
||||||
// Contact and Information: http://www.hardcodet.net
|
// Contact and Information: http://www.hardcodet.net
|
||||||
//
|
//
|
||||||
// This library is free software; you can redistribute it and/or
|
// This library is free software; you can redistribute it and/or
|
||||||
@@ -194,7 +194,7 @@ namespace Hardcodet.Wpf.TaskbarNotification
|
|||||||
popup.PopupAnimation = animation;
|
popup.PopupAnimation = animation;
|
||||||
|
|
||||||
//in case the balloon is cleaned up through routed events, the
|
//in case the balloon is cleaned up through routed events, the
|
||||||
//control didn't removed the balloon from its parent popup when
|
//control didn't remove the balloon from its parent popup when
|
||||||
//if was closed the last time - just make sure it doesn't have
|
//if was closed the last time - just make sure it doesn't have
|
||||||
//a parent that is a popup
|
//a parent that is a popup
|
||||||
var parent = LogicalTreeHelper.GetParent(balloon) as Popup;
|
var parent = LogicalTreeHelper.GetParent(balloon) as Popup;
|
||||||
@@ -445,7 +445,8 @@ namespace Hardcodet.Wpf.TaskbarNotification
|
|||||||
if (me == MouseEvent.IconLeftMouseUp && !isLeftClickCommandInvoked)
|
if (me == MouseEvent.IconLeftMouseUp && !isLeftClickCommandInvoked)
|
||||||
{
|
{
|
||||||
//show context menu once we are sure it's not a double click
|
//show context menu once we are sure it's not a double click
|
||||||
singleClickTimerAction = () =>
|
singleClickTimerAction =
|
||||||
|
() =>
|
||||||
{
|
{
|
||||||
LeftClickCommand.ExecuteIfEnabled(LeftClickCommandParameter, LeftClickCommandTarget ?? this);
|
LeftClickCommand.ExecuteIfEnabled(LeftClickCommandParameter, LeftClickCommandTarget ?? this);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// hardcodet.net NotifyIcon for WPF
|
// hardcodet.net NotifyIcon for WPF
|
||||||
// Copyright (c) 2009 Philipp Sumi
|
// Copyright (c) 2009 - 2013 Philipp Sumi
|
||||||
// Contact and Information: http://www.hardcodet.net
|
// Contact and Information: http://www.hardcodet.net
|
||||||
//
|
//
|
||||||
// This library is free software; you can redistribute it and/or
|
// This library is free software; you can redistribute it and/or
|
||||||
|
|||||||
Reference in New Issue
Block a user