source: extensions/PiwigoLib/PiwigoWpf/Command/PwgCmdBase.cs @ 7150

Last change on this file since 7150 was 7150, checked in by bayral, 14 years ago

Piwigolib is now modify for mask the implementation of proxy.
Add start version of piwigo WPF

File size: 611 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Input;
6
7namespace Com.Piwigo.Wpf.Command
8{
9    public abstract class PwgCmdBase :  ICommand
10    {
11
12       #region ICommand Membres
13
14       public abstract  bool CanExecute(object parameter);
15
16       public abstract void Execute(object parameter);
17       
18        public event EventHandler CanExecuteChanged
19       {
20           add { CommandManager.RequerySuggested += value; }
21           remove { CommandManager.RequerySuggested -= value; }
22       }
23       #endregion
24    }
25}
Note: See TracBrowser for help on using the repository browser.