Esempio 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();
 }
Esempio 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();
        }