public MeaningFindWnd(MeaningFinderModel model, IValidationStatusProvider validator)
        {
            Debug.Assert(model != null);
            Debug.Assert(validator != null);

            InitializeComponent();

            this.DataContext = model;
            this.status.DataContext = validator;

            this.GotFocus += new RoutedEventHandler(MeaningFindWnd_GotFocus);
        }
 public MeaningFinderModelValidator(MeaningFinderModel model)
 {
     Debug.Assert(model != null);
     this.model = model;
     Hook(model);
     Validate();
 }