16 lines
454 B
C#
16 lines
454 B
C#
using Store.Management.ViewModels;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace Store.Management.Views;
|
|
|
|
public partial class UserEditorDialog : UserControl
|
|
{
|
|
public UserEditorDialog() => InitializeComponent();
|
|
|
|
private void OnPasswordChanged(object sender, RoutedEventArgs e)
|
|
{
|
|
((UserEditorDialogViewModel)DataContext).UpdatePasswords(NewPassword.Password, Confirmation.Password, OldPassword.Password);
|
|
}
|
|
}
|