mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
Renamed OpenDatabase to CompositeKey UserControl
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<UserControl x:Name="UserControl"
|
||||
x:Class="ModernKeePass.Controls.OpenDatabaseUserControl"
|
||||
x:Class="ModernKeePass.Controls.CompositeKeyUserControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
@@ -11,7 +11,7 @@ using ModernKeePass.ViewModels;
|
||||
|
||||
namespace ModernKeePass.Controls
|
||||
{
|
||||
public sealed partial class OpenDatabaseUserControl
|
||||
public sealed partial class CompositeKeyUserControl
|
||||
{
|
||||
public CompositeKeyVm Model => Grid.DataContext as CompositeKeyVm;
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace ModernKeePass.Controls
|
||||
DependencyProperty.Register(
|
||||
"CreateNew",
|
||||
typeof(bool),
|
||||
typeof(OpenDatabaseUserControl),
|
||||
typeof(CompositeKeyUserControl),
|
||||
new PropertyMetadata(false, (o, args) => { }));
|
||||
|
||||
public bool UpdateKey
|
||||
@@ -36,12 +36,12 @@ namespace ModernKeePass.Controls
|
||||
DependencyProperty.Register(
|
||||
"UpdateKey",
|
||||
typeof(bool),
|
||||
typeof(OpenDatabaseUserControl),
|
||||
typeof(CompositeKeyUserControl),
|
||||
new PropertyMetadata(false, (o, args) => { }));
|
||||
|
||||
public bool ShowComplexityIndicator => CreateNew || UpdateKey;
|
||||
|
||||
public OpenDatabaseUserControl()
|
||||
public CompositeKeyUserControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
Reference in New Issue
Block a user