public override bool DisplayOptions(User user, System.Windows.Window parentWindow)
        {
            var options = new MultimediaReportOptions();

            options.Owner = parentWindow;
            if (options.ShowDialog().ValueOrFalse())
            {
                _recurse         = options.Recurse;
                _extensionFilter = options.ExtensionFilter;
                _typeFilter      = options.TypeFilter;
                _includeMaterial = options.IncludeMaterial;
                return(true);
            }
            return(false);
        }
Example #2
0
 public override bool DisplayOptions(User user, System.Windows.Window parentWindow)
 {
     var options = new MultimediaReportOptions();
     options.Owner = parentWindow;
     if (options.ShowDialog().ValueOrFalse()) {
         _recurse = options.Recurse;
         _extensionFilter = options.ExtensionFilter;
         _typeFilter = options.TypeFilter;
         _includeMaterial = options.IncludeMaterial;
         return true;
     }
     return false;
 }