using PDF_Office.Model.Dialog.ToolsDialogs.SaftyDialogs;
using PDF_Office.ViewModels.Dialog.ToolsDialogs.SaftyDialogs;
using System.Windows.Controls;

namespace PDF_Office.Views.Dialog.ToolsDialogs.SaftyDialogs
{
    /// <summary>
    /// Interaction logic for CheckPasswordDialog
    /// </summary>
    public partial class CheckPasswordDialog : UserControl
    {
        public CheckPasswordDialog()
        {
            InitializeComponent();
            CheckPasswordDialogModel.Password=ForCheckPasswordBox.Password;
        }

        private void ForCheckPasswordBox_PasswordChanged(object sender, System.Windows.RoutedEventArgs e)
        {
            CheckPasswordDialogModel.Password = ForCheckPasswordBox.Password;
        }
    }
}
