public TPcLockerEditor(TWizard parent, double progressPercent, TMagicLockManager magicLockManager) : base(parent, progressPercent)
 {
     Commands.AddCommand("Apply", Apply, () => CanSave);
     MagicLockManager = magicLockManager;
     SelectedUser     = MagicLockManager.SelectedUser;
     Password         = MagicLockManager.Password;
 }
 public bool Show(TMagicLockManager parent)
 {
     Parent            = parent;
     Password          = Parent.Password;
     _Form             = new TPasswordEditorView();
     _Form.DataContext = this;
     return(_Form.ShowDialog() ?? false);
 }