Example #1
0
 internal void OnDeserializedMethod(StreamingContext context)
 {
     AddDirectoryCommand = new AddDirectoryCommand();
     AddImageCommand     = new AddImageCommand();
     AddPasswordsCommand = new AddPasswordsCommand();
     RenameCommand       = new RenameCommand();
     DeleteChildCommand  = new DeleteCommand(this.Items);
     SwitchView          = new SwitchViewCommand();
 }
Example #2
0
        public Directory()
        {
            Items = new ObservableCollection <ITreeElement>();

            AddDirectoryCommand = new AddDirectoryCommand();
            AddImageCommand     = new AddImageCommand();
            AddPasswordsCommand = new AddPasswordsCommand();
            RenameCommand       = new RenameCommand();
            DeleteChildCommand  = new DeleteCommand(this.Items);
            SwitchView          = new SwitchViewCommand();
        }