- Timestamp:
- Aug 4, 2011, 5:34:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PiwigoLib/PiwigoWpf/Command/PwgCmdGetImageforCategory.cs
r11904 r11905 12 12 public sealed class PwgCmdGetImageforCategory : PwgCmdBase 13 13 { 14 public override bool CanExecute(object parameter)15 {16 Boolean retVal = false;17 if ( AppHelper.IsInDesignModeStatic == true)18 {19 retVal = false;20 }21 else22 {23 if ((PwgModelManager.Instance.Session != null)24 & (PwgModelManager.Instance.Session.ServeurName != null))25 {26 retVal = !String.IsNullOrWhiteSpace(PwgModelManager.Instance.Session.ServeurName);27 }28 }29 return (retVal);30 }31 32 14 public override void Execute(object parameter) 33 15 {
Note: See TracChangeset
for help on using the changeset viewer.