mirror of
https://github.com/ckaczor/wpf-notifyicon.git
synced 2026-01-15 01:35:38 -05:00
WPF NotifyIcon
-------------- FIX Removed debug output in WindowMessageSink. CHG Major rework on sample project. git-svn-id: https://svn.evolvesoftware.ch/repos/evolve.net/WPF/NotifyIcon@104 9f600761-6f11-4665-b6dc-0185e9171623
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Samples.Commands
|
||||
|
||||
public override bool CanExecute(object parameter)
|
||||
{
|
||||
return Application.Current.MainWindow.IsVisible;
|
||||
return !IsDesignMode && Application.Current.MainWindow.IsVisible;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user