mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 15:40:18 -04:00
WIP with data binding - bis...
This commit is contained in:
@@ -14,6 +14,7 @@ namespace ModernKeePass.ViewModels
|
||||
public string URL { get; private set; }
|
||||
public string Notes { get; private set; }
|
||||
|
||||
public EntryVm() { }
|
||||
public EntryVm(PwEntry entry)
|
||||
{
|
||||
Title = entry.Strings.GetSafe(PwDefs.TitleField).ReadString();
|
||||
|
@@ -17,6 +17,8 @@ namespace ModernKeePass.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public GroupVm() { }
|
||||
|
||||
public GroupVm(PwGroup group)
|
||||
{
|
||||
Name = group.Name;
|
||||
|
8
ModernKeePass/ViewModels/Test.cs
Normal file
8
ModernKeePass/ViewModels/Test.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
namespace ModernKeePass.ViewModels
|
||||
{
|
||||
public class Test
|
||||
{
|
||||
public string Title { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user