Exemplo n.º 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();
 }
Exemplo n.º 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();
        }