Esempio n. 1
0
 public PasswordFolder(Folder folder, Password password, PasswordFolder parent)
     : base()
 {
     this.Folder = folder;
     this.Password = password;
     this.Parent = parent;
 }
Esempio n. 2
0
 protected virtual void OnSelectedFolderChanged(Folder oldFolder, Folder newFolder)
 {
     if (newFolder != null) this.categoriesTree.Deselect();
     this.PasswordGrid.DataContext = newFolder;
     foldersTreeView.Select(newFolder);
     SelectedNode = newFolder;
 }
Esempio n. 3
0
 public Folder(int id, string name, Folder parent)
     : base(id, name)
 {
     this.parent = parent;
 }
Esempio n. 4
0
 public Folder AddFolder(string name)
 {
     Folder folder = new Folder(0, name, this);
     Folders.Add(folder);
     folder.Save();
     return folder;
 }
Esempio n. 5
0
 public PasswordFolder(Folder folder, Password password)
     : base()
 {
     this.Folder = folder;
     this.Password = password;
 }