Ignore:
Timestamp:
Aug 4, 2011, 12:45:47 AM (13 years ago)
Author:
bayral
Message:

PiwigoWPF

Location:
extensions/PiwigoLib/PiwigoWpf/Command
Files:
1 added
2 edited

Legend:

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

    r11850 r11904  
    1212       #region ICommand Membres
    1313
    14        public abstract  Boolean CanExecute(object parameter);
     14       public abstract  bool CanExecute(object parameter);
    1515
    1616       public abstract void Execute(object parameter);
  • extensions/PiwigoLib/PiwigoWpf/Command/PwgCmdConnect.cs

    r11850 r11904  
    66using Com.Piwigo.Wpf.DTO.Helper;
    77using Com.Piwigo.Wpf.Helper;
     8using Com.Piwigo.Wpf.Service;
    89
    910namespace Com.Piwigo.Wpf.Command
     
    1112    public sealed class PwgCmdConnect : PwgCmdBase
    1213    {
    13         public override Boolean CanExecute(object parameter)
     14        public override bool CanExecute(object parameter)
    1415        {
    1516            Boolean retVal = false;
     
    4647
    4748                PwgCategoryListWPFHelper.ConvertPwgCategoryListToPwgCategoryListWPF(lstCat, ref lstCatWPF);
     49
     50                ImageCacheManager.Instance.SetCurrentServer(uriServer.AbsoluteUri);
    4851            }
    4952            catch (PwgServiceException ex)
Note: See TracChangeset for help on using the changeset viewer.