NotifyWPF

---------
CHG   Lot of plumbing, some fixes
CHG   Work on sample project.
CHG   Popups and ContextMenu now store coordinates - otherwise delayed opending may happen elsewhere.

git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@55 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
Philipp Sumi
2009-03-31 22:20:07 +00:00
parent 229042b075
commit 354ba1ca43
26 changed files with 1379 additions and 308 deletions

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
namespace Sample_Project.Commands
{
public static class TaskbarIconCommands
{
public static HideMainWindowCommand HideMain { get; set; }
public static ShowMainWindowCommand ShowMain { get; set; }
static TaskbarIconCommands()
{
HideMain = new HideMainWindowCommand();
ShowMain =new ShowMainWindowCommand();
}
public static void RefreshCommands()
{
HideMain.RaiseCanExcecuteChanged();
ShowMain.RaiseCanExcecuteChanged();
}
}
}