using System.Windows; using HC_APTBS.ViewModels.Dialogs; namespace HC_APTBS.Views.Dialogs { /// /// Admin dialog for managing the stored user list: add, remove, and change password. /// Each action persists immediately via ; /// the Close button simply dismisses the window. /// public partial class UserManageDialog : Window { /// Creates the dialog and wires the ViewModel. public UserManageDialog(UserManageViewModel vm) { InitializeComponent(); DataContext = vm; vm.RequestClose += Close; } } }