Ignore:
Timestamp:
Aug 4, 2011, 5:34:52 PM (13 years ago)
Author:
bayral
Message:

firsts steps of wpf client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/PiwigoWpf/Command/PwgCmdGetImageforCategory.cs

    r11904 r11905  
    1212    public sealed class PwgCmdGetImageforCategory : PwgCmdBase
    1313    {
    14         public override bool CanExecute(object parameter)
    15         {
    16             Boolean retVal = false;
    17             if ( AppHelper.IsInDesignModeStatic == true)
    18             {
    19                 retVal = false;
    20             }
    21             else
    22             {
    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 
    3214        public override void Execute(object parameter)
    3315        {
Note: See TracChangeset for help on using the changeset viewer.