├── .gitignore ├── LICENSE ├── README.md ├── appveyor.yml └── source ├── CleanAll.bat ├── Components ├── BindToMLib │ ├── AssemblyInfo.cs │ ├── BindToMLib.csproj │ ├── DarkBrushs.xaml │ ├── LightBrushs.xaml │ ├── MWindowDialogLib │ │ └── DarkLightBrushs.xaml │ ├── MWindowLib │ │ ├── DarkBrushs.xaml │ │ └── LightBrushs.xaml │ └── WatermarkControlsLib │ │ └── DarkLightBrushs.xaml ├── MLib │ ├── AppearanceManager.cs │ ├── AssemblyInfo.cs │ ├── Behaviors │ │ └── MergeStyleBehaviour.cs │ ├── Controls │ │ ├── Button.xaml │ │ ├── CheckBox.xaml │ │ ├── ComboBox.xaml │ │ ├── ContentControlEx.cs │ │ ├── ContentControlEx.xaml │ │ ├── Expander.xaml │ │ ├── GridSplitter.xaml │ │ ├── GroupBox.xaml │ │ ├── Hyperlink.xaml │ │ ├── Label.xaml │ │ ├── ListBox.xaml │ │ ├── ListView.xaml │ │ ├── MResizeGrip.xaml │ │ ├── MResizeGrip.xaml.cs │ │ ├── Menu │ │ │ ├── ContextMenu.xaml │ │ │ ├── DarkBrushs.xaml │ │ │ ├── LightBrushs.xaml │ │ │ └── Menu.xaml │ │ ├── Metro │ │ │ ├── Extensions.cs │ │ │ ├── MetroProgressBar.cs │ │ │ └── MetroProgressBar.xaml │ │ ├── PasswordBox.xaml │ │ ├── ProgressBar.xaml │ │ ├── RadioButton.xaml │ │ ├── RelativeAnimatingContentControl.cs │ │ ├── ScrollBar.xaml │ │ ├── Slider.xaml │ │ ├── StatusBar.xaml │ │ ├── TabControl.xaml │ │ ├── TextBlock.xaml │ │ ├── TextBox.xaml │ │ ├── ToolTip.xaml │ │ ├── Toolbar.xaml │ │ └── TreeView.xaml │ ├── Converters │ │ ├── BackgroundToForegroundConverter.cs │ │ ├── ThicknessBindingConverter.cs │ │ ├── ToUpperConverter.cs │ │ └── TreeViewMarginConverter.cs │ ├── Events │ │ └── ColorChangedEventArgs.cs │ ├── Interfaces │ │ ├── IAppearanceManager.cs │ │ ├── IThemeInfo.cs │ │ └── IThemeInfos.cs │ ├── Internal │ │ ├── AppearanceManagerImpl.cs │ │ └── Models │ │ │ ├── ThemeInfo.cs │ │ │ └── ThemeInfos.cs │ ├── MLib.csproj │ ├── Styles │ │ └── FocusVisualStyleKey.xaml │ ├── Themes │ │ ├── DarkBrushs.xaml │ │ ├── DarkTheme.xaml │ │ ├── Generic.xaml │ │ ├── LightBrushs.xaml │ │ ├── LightTheme.xaml │ │ ├── MenuKeys.cs │ │ └── ResourceKeys.cs │ ├── Util │ │ ├── BindingProxy.cs │ │ ├── InvokeExtensions.cs │ │ ├── PasswordBoxHelper.cs │ │ └── TransitioningContentControl.cs │ └── images │ │ └── Behavior_64x.png ├── MWindowDialogLib │ ├── AssemblyInfo.cs │ ├── Behaviors │ │ └── SetKeyboardFocusWhenIsDefault.cs │ ├── ContentDialogService.cs │ ├── Converters │ │ ├── EnumMatchToBooleanConverter.cs │ │ ├── ImageEnumToImageConverter.cs │ │ ├── ImageEnumToVisibilityConverter.cs │ │ ├── NullBoolToVisibilityConverter.cs │ │ └── NullToVisibilityConverter.cs │ ├── Dialogs │ │ ├── CustomDialog.xaml │ │ ├── CustomDialog.xaml.cs │ │ ├── DialogChrome.xaml │ │ ├── DialogChrome.xaml.cs │ │ ├── DialogFrame.xaml │ │ ├── DialogFrame.xaml.cs │ │ ├── DialogParticipation.cs │ │ ├── MsgBoxDialog.xaml │ │ └── MsgBoxDialog.xaml.cs │ ├── Internal │ │ ├── ContentDialogServiceImpl.cs │ │ ├── ContextRegistration.cs │ │ ├── DialogCoordinator.cs │ │ ├── DialogManager.cs │ │ ├── Find.cs │ │ ├── IContextRegistration.cs │ │ ├── MessageBoxServiceImpl.cs │ │ └── MetroWindowServiceImpl.cs │ ├── MWindowDialogLib.csproj │ ├── MWindowDialogLib_uglhfwov_wpftmp.csproj │ ├── MsgBox │ │ ├── Images │ │ │ ├── Metro │ │ │ │ ├── Dark │ │ │ │ │ ├── appbar.cancel.png │ │ │ │ │ ├── appbar.check.png │ │ │ │ │ ├── appbar.information.png │ │ │ │ │ ├── appbar.lightbulb.hue.on.png │ │ │ │ │ ├── appbar.lightbulb.hue.png │ │ │ │ │ ├── appbar.lightbulb.png │ │ │ │ │ ├── appbar.lightning.png │ │ │ │ │ ├── appbar.noentry.png │ │ │ │ │ ├── appbar.question.png │ │ │ │ │ ├── appbar.sign.stop.png │ │ │ │ │ ├── appbar.stop.png │ │ │ │ │ ├── appbar.warning.circle.png │ │ │ │ │ └── appbar.warning.png │ │ │ │ ├── Light │ │ │ │ │ ├── appbar.cancel.png │ │ │ │ │ ├── appbar.check.png │ │ │ │ │ ├── appbar.information.png │ │ │ │ │ ├── appbar.lightbulb.hue.on.png │ │ │ │ │ ├── appbar.lightbulb.hue.png │ │ │ │ │ ├── appbar.lightbulb.png │ │ │ │ │ ├── appbar.lightning.png │ │ │ │ │ ├── appbar.noentry.png │ │ │ │ │ ├── appbar.question.png │ │ │ │ │ ├── appbar.sign.stop.png │ │ │ │ │ ├── appbar.stop.png │ │ │ │ │ ├── appbar.warning.circle.png │ │ │ │ │ └── appbar.warning.png │ │ │ │ └── SVG │ │ │ │ │ ├── appbar.cancel.svg │ │ │ │ │ ├── appbar.check.svg │ │ │ │ │ ├── appbar.information.svg │ │ │ │ │ ├── appbar.lightbulb.hue.on.svg │ │ │ │ │ ├── appbar.lightbulb.hue.svg │ │ │ │ │ ├── appbar.lightbulb.svg │ │ │ │ │ ├── appbar.lightning.svg │ │ │ │ │ ├── appbar.noentry.svg │ │ │ │ │ ├── appbar.question.svg │ │ │ │ │ ├── appbar.sign.stop.svg │ │ │ │ │ ├── appbar.stop.svg │ │ │ │ │ ├── appbar.warning.circle.svg │ │ │ │ │ └── appbar.warning.svg │ │ │ └── MsgBoxImages │ │ │ │ ├── 48px-Dialog-accept.svg.png │ │ │ │ ├── 48px-Dialog-error-round.svg.png │ │ │ │ ├── 48px-Dialog-error.svg.png │ │ │ │ ├── 48px-Dialog-information.svg.png │ │ │ │ ├── 48px-Dialog-information_on.svg.png │ │ │ │ ├── 48px-Dialog-information_red.svg.png │ │ │ │ ├── 48px-Emblem-important-red.svg.png │ │ │ │ ├── 48px-Emblem-important-yellow.svg.png │ │ │ │ ├── 48px-Emblem-important.svg.png │ │ │ │ ├── 48px-Emblem-notice.svg.png │ │ │ │ ├── 48px-Help-browser.svg.png │ │ │ │ ├── 48px-Process-stop.svg.png │ │ │ │ └── 48px-Software-update-urgent.svg.png │ │ ├── Local │ │ │ ├── Strings.Designer.cs │ │ │ ├── Strings.de-DE.Designer.cs │ │ │ ├── Strings.de-DE.resx │ │ │ ├── Strings.es-ES.Designer.cs │ │ │ ├── Strings.es-ES.resx │ │ │ ├── Strings.fr-FR.Designer.cs │ │ │ ├── Strings.fr-FR.resx │ │ │ ├── Strings.hi.Designer.cs │ │ │ ├── Strings.hi.resx │ │ │ ├── Strings.it-IT.Designer.cs │ │ │ ├── Strings.it-IT.resx │ │ │ ├── Strings.nl-NL.Designer.cs │ │ │ ├── Strings.nl-NL.resx │ │ │ ├── Strings.resx │ │ │ ├── Strings.zh-Hans.Designer.cs │ │ │ └── Strings.zh-Hans.resx │ │ └── Views │ │ │ ├── MsgBoxView.xaml │ │ │ └── MsgBoxView.xaml.cs │ ├── Styles │ │ └── WindowButtonStyle.xaml │ ├── Themes │ │ ├── DarkBrushs.xaml │ │ ├── DarkIcons.xaml │ │ ├── DarkTheme.xaml │ │ ├── Generic.xaml │ │ ├── LightBrushs.xaml │ │ ├── LightIcons.xaml │ │ ├── LightTheme.xaml │ │ └── ResourceKeys.cs │ ├── Util │ │ └── InvokeExtensions.cs │ ├── ViewModels │ │ ├── Base │ │ │ ├── BaseViewModel.cs │ │ │ └── RelayCommandcs.cs │ │ ├── DialogResultViewModel.cs │ │ ├── IMsgBoxViewModel.cs │ │ └── MsgBoxViewModel.cs │ └── images │ │ └── AppFlyout_64x.png ├── MWindowInterfacesLib │ ├── AssemblyInfo.cs │ ├── Enums │ │ └── StaticMsgBoxModes.cs │ ├── Events │ │ └── DialogStateChangedEventArgs.cs │ ├── Interfaces │ │ ├── IBaseMetroDialogFrame.cs │ │ ├── IBaseMetroDialogFrameViewModel.cs │ │ ├── IContentDialogService.cs │ │ ├── IDialogCoordinator.cs │ │ ├── IDialogManager.cs │ │ ├── IMetroDialogFrameSettings.cs │ │ ├── IMetroWindow.cs │ │ ├── IMsgBoxDialogFrame.cs │ │ └── MWindow │ │ │ └── IMetroWindowService.cs │ ├── MWindowInterfacesLib.csproj │ ├── MetroDialogFrameSettings.cs │ └── MsgBox │ │ ├── Enums │ │ ├── MsgBoxButtons.cs │ │ ├── MsgBoxImage.cs │ │ └── MsgBoxResult.cs │ │ └── IMessageBoxService.cs └── MWindowLib │ ├── AssemblyInfo.cs │ ├── Behaviours │ ├── BorderlessWindowBehavior.cs │ ├── StylizedBehaviorCollection.cs │ └── StylizedBehaviors.cs │ ├── Controls │ ├── IMetroThumb.cs │ ├── MWResizeGrip.xaml │ ├── MWResizeGrip.xaml.cs │ ├── MetroThumb.cs │ ├── MetroWindowHelpers.cs │ ├── PropertyChangeNotifier.cs │ ├── SafeRaise.cs │ └── TreeHelper.cs │ ├── Converters │ └── InverseBooleanConverter.cs │ ├── Definition │ └── ThemeBase.cs │ ├── Internal │ └── MetroWindowServiceImpl.cs │ ├── MWindowLib.csproj │ ├── MetroWindow.xaml │ ├── MetroWindow.xaml.cs │ ├── Microsoft.Windows.Shell │ └── Standard │ │ ├── Debug.cs │ │ ├── ErrorCodes.cs │ │ └── NativeMethods.cs │ ├── Native │ ├── Constants.cs │ ├── MONITORINFO.cs │ ├── RECT.cs │ └── UnsafeNativeMethods.cs │ ├── SimpleMetroWindow.xaml │ ├── SimpleMetroWindow.xaml.cs │ ├── Styles │ └── WindowButtonStyle.xaml │ ├── Themes │ ├── DarkBrushs.xaml │ ├── DarkTheme.xaml │ ├── Generic.xaml │ ├── LightBrushs.xaml │ ├── LightTheme.xaml │ └── ResourceKeys.cs │ ├── Util │ ├── InvokeExtensions.cs │ └── WindowSizing.cs │ └── images │ └── Application_64x.png ├── MDemo.sln ├── MDemo ├── App.xaml ├── App.xaml.cs ├── AssemblyInfo.cs ├── Behaviours │ ├── FocusExtension.cs │ ├── PasswordBoxTextChanged.cs │ └── SelectionChangedBehavior.cs .cs ├── Converters │ └── EnumToBooleanConverter.cs ├── Demos │ ├── BindingProxy .cs │ ├── Converters │ │ ├── IntToIsDefaultConverter.cs │ │ └── SampleParametersConverter.cs │ ├── CustomDialogDemos.cs │ ├── InputDialogDemos.cs │ ├── LoginDialogDemos.cs │ ├── MessageDialogDemos.cs │ ├── ProgressDialogDemos.cs │ ├── ViewModels │ │ ├── CustomDialogViewModel.cs │ │ ├── DemoViewModel.cs │ │ ├── InputDialogViewModel.cs │ │ ├── LoginDialogViewModel.cs │ │ ├── MessageDialogViewModel.cs │ │ ├── MsgDemoViewModel.cs │ │ ├── ProgressDialogViewModel.cs │ │ └── Tasks │ │ │ ├── IProgress.cs │ │ │ ├── ProgressSettings.cs │ │ │ └── ProgressViewModel.cs │ └── Views │ │ ├── CustomDialogView.xaml │ │ ├── CustomDialogView.xaml.cs │ │ ├── Dialogs.xaml │ │ ├── InputView.xaml │ │ ├── InputView.xaml.cs │ │ ├── LoginView.xaml │ │ ├── LoginView.xaml.cs │ │ ├── MessageView.xaml │ │ ├── MessageView.xaml.cs │ │ ├── ProgressView.xaml │ │ ├── ProgressView.xaml.cs │ │ ├── SimpleDialogWindow.xaml │ │ └── SimpleDialogWindow.xaml.cs ├── MDemo.csproj ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── Models │ ├── AppCore.cs │ └── SettingDefaults.cs ├── Resources │ ├── Icons │ │ ├── dark │ │ │ ├── appbar.camera.flash.png │ │ │ ├── appbar.check.png │ │ │ ├── appbar.lock.png │ │ │ └── appbar.question.png │ │ ├── design │ │ │ ├── appbar.camera.flash.design │ │ │ ├── appbar.camera.flash.svg │ │ │ ├── appbar.check.design │ │ │ ├── appbar.check.svg │ │ │ ├── appbar.lock.design │ │ │ ├── appbar.lock.svg │ │ │ ├── appbar.question.design │ │ │ └── appbar.question.svg │ │ └── light │ │ │ ├── appbar.camera.flash.png │ │ │ ├── appbar.check.png │ │ │ ├── appbar.lock.png │ │ │ └── appbar.question.png │ └── logo │ │ ├── pdfbinder_light.svg │ │ ├── pdfbinder_logo_128.png │ │ ├── pdfbinder_logo_32.png │ │ └── pdfbinder_logo_64.png ├── ServiceInjector.cs ├── Themes │ ├── Dark │ │ └── DarkIcons.xaml │ └── Light │ │ └── LightIcons.xaml └── ViewModels │ ├── AppLifeCycleViewModel.cs │ ├── AppViewModel.cs │ ├── Base │ ├── ModelBase.cs │ ├── RelayCommand.cs │ └── ViewModelBase.cs │ ├── ThemeDefinitionViewModel.cs │ └── ThemeViewModel.cs ├── More_Components ├── ServiceLocator │ ├── ServiceContainer.cs │ └── ServiceLocator.csproj ├── Settings │ ├── Settings │ │ ├── AssemblyInfo.cs │ │ ├── Interfaces │ │ │ ├── IOptions.cs │ │ │ ├── IOptionsPanel.cs │ │ │ ├── IProfile.cs │ │ │ ├── ISettingsManager.cs │ │ │ └── IViewPosSizeModel.cs │ │ ├── Internal │ │ │ └── SettingsManagerImpl.cs │ │ ├── ProgramSettings │ │ │ ├── LanguageCollection.cs │ │ │ └── OptionsPanel.cs │ │ ├── SerializableDictionary.cs │ │ ├── Settings.csproj │ │ ├── SettingsManager.cs │ │ └── UserProfile │ │ │ ├── IViewSize.cs │ │ │ ├── LocalizabilityAttribute.cs │ │ │ ├── Profile.cs │ │ │ ├── ViewPosSizeModel.cs │ │ │ └── ViewSize.cs │ └── SettingsModel │ │ ├── ExtensionMethods │ │ └── SecureStringExtensionMethod.cs │ │ ├── Interfaces │ │ ├── IEngine.cs │ │ ├── IOptionGroup.cs │ │ └── IOptionsSchema.cs │ │ ├── Models │ │ ├── Engine.cs │ │ ├── Factory.cs │ │ ├── FileReference.cs │ │ ├── OptionGroup.cs │ │ ├── OptionsSchema.cs │ │ └── XML │ │ │ ├── Converters │ │ │ ├── AlternativeDataTypeHandler.cs │ │ │ ├── IAlternativeDataTypeHandler.cs │ │ │ └── SecureStringHandler.cs │ │ │ └── XMLLayer.cs │ │ └── SettingsModel.csproj └── fs3_Components │ ├── FileListView │ ├── Factory.cs │ ├── FileListView.csproj │ ├── Images │ │ ├── Generic │ │ │ ├── 075b_UpFolder_16x16_72.png │ │ │ ├── Back.png │ │ │ ├── Folder │ │ │ │ ├── Folder_yellow_32.png │ │ │ │ ├── folderopened_yellow_128.png │ │ │ │ ├── folderopened_yellow_16.png │ │ │ │ └── folderopened_yellow_64.png │ │ │ ├── IsHiddenVisible.png │ │ │ ├── appbar.image.macro.png │ │ │ ├── forward.png │ │ │ ├── magnifying_glass.png │ │ │ ├── magnifying_glass.svg │ │ │ └── refresh.png │ │ ├── GenericIcons.xaml │ │ ├── Metro │ │ │ ├── Dark │ │ │ │ ├── File_16.png │ │ │ │ ├── File_32.png │ │ │ │ ├── appbar.folder_16.png │ │ │ │ ├── appbar.folder_32.png │ │ │ │ ├── appbar.image.macro_16.png │ │ │ │ ├── appbar.image.macro_32.png │ │ │ │ ├── appbar.magnify.png │ │ │ │ ├── appbar.page.hidden_16.png │ │ │ │ ├── appbar.page.hidden_32.png │ │ │ │ ├── appbar.refresh_16.png │ │ │ │ └── appbar.refresh_32.png │ │ │ ├── Light │ │ │ │ ├── File_16.png │ │ │ │ ├── File_32.png │ │ │ │ ├── appbar.folder_16.png │ │ │ │ ├── appbar.folder_32.png │ │ │ │ ├── appbar.image.macro_16.png │ │ │ │ ├── appbar.image.macro_32.png │ │ │ │ ├── appbar.magnify.png │ │ │ │ ├── appbar.page.hidden_16.png │ │ │ │ ├── appbar.page.hidden_32.png │ │ │ │ ├── appbar.refresh_16.png │ │ │ │ └── appbar.refresh_32.png │ │ │ └── SVG │ │ │ │ ├── File.svg │ │ │ │ ├── Sketchup │ │ │ │ ├── MyBase.svg │ │ │ │ ├── appbar.arrow.left.svg │ │ │ │ ├── appbar.arrow.right.left.svg │ │ │ │ ├── appbar.base.svg │ │ │ │ ├── appbar.chevron.down.svg │ │ │ │ ├── appbar.chevron.left.svg │ │ │ │ ├── appbar.chevron.right.svg │ │ │ │ ├── appbar.chevron.up.svg │ │ │ │ ├── appbar.navigate.next.svg │ │ │ │ └── appbar.navigate.previous.svg │ │ │ │ ├── appbar.folder.svg │ │ │ │ ├── appbar.image.macro.svg │ │ │ │ ├── appbar.magnify.svg │ │ │ │ ├── appbar.page.hidden.svg │ │ │ │ └── appbar.refresh.svg │ │ ├── MetroDarkIcons.xaml │ │ └── MetroLightIcons.xaml │ ├── Interfaces │ │ ├── IFileListViewModel.cs │ │ ├── IFileOpenEventSource.cs │ │ └── ILVItemViewModel.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Settings.StyleCop │ ├── ViewModels │ │ ├── Base │ │ │ ├── RelayCommand.cs │ │ │ └── ViewModelBase.cs │ │ ├── EditFolderBookmarks.cs │ │ ├── FileListViewModel.cs │ │ └── LVItemViewModel.cs │ ├── Views │ │ ├── Behavior │ │ │ ├── BringIntoViewListBoxItem.cs │ │ │ ├── DoubleClickSelectorItem.cs │ │ │ └── SelectionChangedBehavior.cs │ │ └── BindingProxy.cs │ ├── app.config │ └── packages.config │ ├── FileSystemModels │ ├── Browse │ │ ├── BrowseResult.cs │ │ ├── BrowsingEventArgs.cs │ │ ├── ICanNavigate.cs │ │ └── INavigateable.cs │ ├── Converters │ │ └── BrowseItemTypeToShellImageConverter.cs │ ├── Events │ │ ├── EditBookmarkEvent.cs │ │ ├── FileOpenEventArgs.cs │ │ ├── FilterChangedEventArgs.cs │ │ └── FolderChangedEventArgs.cs │ ├── Factory.cs │ ├── FileSystemCommands.cs │ ├── FileSystemModels.csproj │ ├── Interfaces │ │ ├── Bookmark │ │ │ ├── IBookmarksViewModel.cs │ │ │ └── IEditBookmarks.cs │ │ ├── IBrowseNavigation.cs │ │ ├── IConfigExplorerSettings.cs │ │ ├── IItem.cs │ │ ├── IListItemViewModel.cs │ │ └── IPathModel.cs │ ├── Local │ │ ├── Strings.Designer.cs │ │ ├── Strings.de-DE.Designer.cs │ │ ├── Strings.de-DE.resx │ │ ├── Strings.es-ES.Designer.cs │ │ ├── Strings.es-ES.resx │ │ ├── Strings.fr-FR.Designer.cs │ │ ├── Strings.fr-FR.resx │ │ ├── Strings.hi-IN.Designer.cs │ │ ├── Strings.hi-IN.resx │ │ ├── Strings.it-IT.Designer.cs │ │ ├── Strings.it-IT.resx │ │ ├── Strings.ja-JP.Designer.cs │ │ ├── Strings.ja-JP.resx │ │ ├── Strings.resx │ │ ├── Strings.ru-RU.Designer.cs │ │ ├── Strings.ru-RU.resx │ │ ├── Strings.zh-CHS.Designer.cs │ │ └── Strings.zh-CHS.resx │ ├── Models │ │ ├── BrowseNavigation.cs │ │ ├── CustomFolderItemModel.cs │ │ ├── ExplorerSettingsModel.cs │ │ ├── ExplorerUserProfile.cs │ │ ├── FSItems │ │ │ ├── Base │ │ │ │ ├── FSItemType.cs │ │ │ │ ├── FileSystemModel.cs │ │ │ │ └── PathModel.cs │ │ │ ├── DriveModel.cs │ │ │ ├── FileModel.cs │ │ │ └── FolderModel.cs │ │ └── FilterItemModel.cs │ ├── PathFactory.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Utils │ │ ├── DirectoryInfoExtension.cs │ │ ├── IItemExtension.cs │ │ ├── IconExtractor.cs │ │ ├── IconUtilities.cs │ │ └── LinqExtensions.cs │ ├── ViewModels │ │ ├── Base │ │ │ ├── RelayCommand.cs │ │ │ └── ViewModelBase.cs │ │ ├── Bookmarks │ │ │ └── BookmarkesViewModel.cs │ │ ├── Collections │ │ │ ├── BinarySorter.cs │ │ │ ├── DoubleLinkListIndexNode.cs │ │ │ ├── FastObservableCollection.cs │ │ │ ├── ImmutableCollectionBase.cs │ │ │ ├── KeyCollection.cs │ │ │ ├── ObservableDictionary.cs │ │ │ ├── ObservableSortedDictionary.cs │ │ │ ├── SortableObservableCollection.cs │ │ │ └── ValueCollection.cs │ │ ├── ListItemViewModel.cs │ │ └── Semaphores │ │ │ ├── AsyncLock .cs │ │ │ └── AsyncSemaphore .cs │ └── packages.config │ ├── FilterControlsLib │ ├── Collections │ │ └── SortableObservableCollection.cs │ ├── Factory.cs │ ├── FilterControlsLib.csproj │ ├── Interfaces │ │ ├── IFilterComboBoxViewModel.cs │ │ └── IFilterItemViewModel.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ └── ViewModels │ │ ├── Base │ │ └── ViewModelBase.cs │ │ ├── FilterComboBoxViewModel.cs │ │ └── FilterItemViewModel.cs │ ├── FolderBrowser │ ├── Converters │ │ ├── BoolToVisibilityConverter .cs │ │ ├── BrowseItemTypeToImageConverter .cs │ │ ├── InverseBooleanConverter.cs │ │ ├── SpecialFolderToImageConverter .cs │ │ └── UpdateBindingConverter.cs │ ├── FolderBrowser.csproj │ ├── FolderBrowserFactory.cs │ ├── Images │ │ ├── Generic │ │ │ ├── BrowseButton │ │ │ │ ├── arrow-right-b.svg │ │ │ │ ├── arrow-right-b_64.png │ │ │ │ ├── close-round.png │ │ │ │ ├── close-round.svg │ │ │ │ └── refresh.png │ │ │ ├── Desktop.png │ │ │ ├── Error.png │ │ │ ├── Favourites.png │ │ │ ├── Folder.png │ │ │ ├── FolderClosed.png │ │ │ ├── FolderOpen.png │ │ │ ├── HardDisk.ico │ │ │ ├── MyDocuments.png │ │ │ ├── MyMusic.png │ │ │ ├── MyPictures.png │ │ │ ├── MyVideos.png │ │ │ └── ProgramFiles.png │ │ ├── GenericIcons.xaml │ │ ├── Metro │ │ │ ├── Dark │ │ │ │ ├── BrowseButton │ │ │ │ │ ├── appbar.refresh_16.png │ │ │ │ │ ├── appbar.refresh_32.png │ │ │ │ │ ├── arrow-right-b_64.png │ │ │ │ │ └── close-round.png │ │ │ │ ├── Desktop.png │ │ │ │ ├── Favourites.png │ │ │ │ ├── Folder.png │ │ │ │ ├── FolderClosed.png │ │ │ │ ├── FolderOpen.png │ │ │ │ ├── HardDisk.png │ │ │ │ ├── MyDocuments.png │ │ │ │ ├── MyMusic.png │ │ │ │ ├── MyPictures.png │ │ │ │ ├── MyVideos.png │ │ │ │ └── ProgramFiles.png │ │ │ ├── Light │ │ │ │ ├── BrowseButton │ │ │ │ │ ├── appbar.refresh_16.png │ │ │ │ │ └── appbar.refresh_32.png │ │ │ │ ├── Desktop.png │ │ │ │ ├── Favourites.png │ │ │ │ ├── Folder.png │ │ │ │ ├── FolderClosed.png │ │ │ │ ├── FolderOpen.png │ │ │ │ ├── HardDisk.png │ │ │ │ ├── MyDocuments.png │ │ │ │ ├── MyMusic.png │ │ │ │ ├── MyPictures.png │ │ │ │ ├── MyVideos.png │ │ │ │ └── ProgramFiles.png │ │ │ └── SVG │ │ │ │ ├── Desktop.svg │ │ │ │ ├── Favourites.svg │ │ │ │ ├── FolderClosed.svg │ │ │ │ ├── FolderOpen.svg │ │ │ │ ├── HardDisk.svg │ │ │ │ ├── MyDocuments.svg │ │ │ │ ├── MyMusic.svg │ │ │ │ ├── MyPictures.svg │ │ │ │ ├── MyVideos.svg │ │ │ │ └── ProgramFiles.svg │ │ ├── MetroDarkIcons.xaml │ │ └── MetroLightIcons.xaml │ ├── Interfaces │ │ ├── Dialogs │ │ │ ├── IDialogViewModel.cs │ │ │ └── IDropDownViewModel.cs │ │ ├── IBrowserViewModel.cs │ │ ├── ICustomFolderItemViewModel.cs │ │ ├── IDriveViewModel.cs │ │ ├── IFolderViewModel.cs │ │ ├── IParent.cs │ │ └── ITreeItemViewModel.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Themes │ │ ├── Generic.xaml │ │ ├── MetroDark.xaml │ │ ├── MetroLight.xaml │ │ └── ResourceKeys.cs │ ├── ViewModels │ │ ├── BrowserViewModel.cs │ │ ├── CustomFolderItemViewModel.cs │ │ ├── Dialogs │ │ │ ├── DialogBaseViewModel.cs │ │ │ ├── DialogViewModel.cs │ │ │ └── DropDownViewModel .cs │ │ ├── DriveViewModel.cs │ │ ├── EditFolderBookmarks.cs │ │ ├── FolderViewModel.cs │ │ ├── Messages │ │ │ ├── DisplayMessageViewModel.cs │ │ │ └── IDisplayMessageViewModel.cs │ │ ├── SortableObservableCollection.cs │ │ ├── SortableObservableDictionaryCollection.cs │ │ └── TreeItemViewModel.cs │ ├── Views │ │ ├── Behaviours │ │ │ ├── DialogCloser.cs │ │ │ ├── SelectTextOnFocus .cs │ │ │ ├── TextChangedCommand.cs │ │ │ ├── TextEnterCommand.cs │ │ │ ├── TreeViewItemExpanded.cs │ │ │ ├── TreeViewSelectionChangedBehavior.cs │ │ │ └── TreeViewVirtualItemBehaviour.cs │ │ ├── BindingProxy.cs │ │ ├── BookmarkFolderDropDown.xaml │ │ ├── BookmarkFolderDropDown.xaml.cs │ │ ├── BrowseDirectoriesView.xaml │ │ ├── BrowseDirectoriesView.xaml.cs │ │ ├── DropDownView.xaml │ │ ├── DropDownView.xaml.cs │ │ ├── FolderBrowserDialog.xaml │ │ ├── FolderBrowserDialog.xaml.cs │ │ ├── FolderBrowserDialogView.xaml │ │ ├── FolderBrowserDialogView.xaml.cs │ │ ├── FolderBrowserTreeView.xaml │ │ ├── FolderBrowserTreeView.xaml.cs │ │ └── SpecialFolderMarkUpExtension.cs │ └── packages.config │ ├── FolderControlsLib │ ├── Factory.cs │ ├── FolderControlsLib.csproj │ ├── Interfaces │ │ ├── IFolderComboBoxViewModel.cs │ │ └── IFolderItemViewModel.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ ├── ViewModels │ │ ├── Base │ │ │ ├── RelayCommand.cs │ │ │ └── ViewModelBase.cs │ │ ├── FolderComboBoxViewModel.cs │ │ └── FolderItemViewModel.cs │ └── packages.config │ └── TestFileSystemModels │ ├── PathUnitTests.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── TestFileSystemModels.csproj │ └── packages.config └── PDF Binder ├── Components ├── Doc │ ├── Doc.csproj │ ├── DocManager │ │ ├── DocumentType.cs │ │ ├── FileFilterEntries.cs │ │ ├── FileFilterEntry.cs │ │ ├── FileItem.cs │ │ ├── FileManagerServiceImpl.cs │ │ ├── Interfaces │ │ │ ├── IDocumentType.cs │ │ │ ├── IDocumentTypeItem.cs │ │ │ ├── IDocumentTypeManager.cs │ │ │ ├── IFileFilterEntries.cs │ │ │ ├── IFileFilterEntry.cs │ │ │ └── IFileItem.cs │ │ └── SortableObservableCollectio.cs │ ├── DocumentTypeItem.cs │ ├── FileManagerService.cs │ └── Properties │ │ └── AssemblyInfo.cs └── ExplorerLib │ ├── Explorer.cs │ ├── ExplorerLib.csproj │ ├── IExplorer.cs │ ├── Local │ ├── Strings.Designer.cs │ └── Strings.resx │ └── Properties │ └── AssemblyInfo.cs ├── PDF Binder ├── App.config ├── App.xaml ├── App.xaml.cs ├── AppCommands.cs ├── Behaviours │ ├── ListViewMultipleSelection.cs │ └── SelectionChangedBehavior.cs .cs ├── BindToMLib │ └── DropDownButtonLib │ │ └── DarkLightBrushs.xaml ├── Converters │ ├── BoolToVisibilityConverter.cs │ ├── IntMinMaxToBooleanConverter.cs │ ├── StateToImageConverter.cs │ ├── StateToStringConverter.cs │ └── StateToVisibilityConverter.cs ├── MainWindow.xaml ├── MainWindow.xaml.cs ├── Models │ ├── AppCore.cs │ ├── FBContentDialog │ │ ├── FBContentView.xaml │ │ ├── FBContentView.xaml.cs │ │ └── FolderBrowserContentDialog.cs │ └── SettingDefaults.cs ├── PDF Binder.csproj ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Resources │ ├── Icons │ │ ├── dark │ │ │ ├── appbar.camera.flash.png │ │ │ ├── appbar.check.png │ │ │ ├── appbar.lock.png │ │ │ └── appbar.question.png │ │ ├── design │ │ │ ├── appbar.camera.flash.design │ │ │ ├── appbar.camera.flash.svg │ │ │ ├── appbar.check.design │ │ │ ├── appbar.check.svg │ │ │ ├── appbar.lock.design │ │ │ ├── appbar.lock.svg │ │ │ ├── appbar.question.design │ │ │ └── appbar.question.svg │ │ └── light │ │ │ ├── appbar.camera.flash.png │ │ │ ├── appbar.check.png │ │ │ ├── appbar.lock.png │ │ │ └── appbar.question.png │ └── logo │ │ ├── pdfbinder_light.svg │ │ ├── pdfbinder_logo_128.png │ │ ├── pdfbinder_logo_32.png │ │ └── pdfbinder_logo_64.png ├── ServiceInjector.cs ├── SettingsView.xaml ├── SettingsView.xaml.cs ├── Themes │ ├── Dark │ │ └── DarkIcons.xaml │ ├── Light │ │ └── LightIcons.xaml │ └── WatermarkControlsLib │ │ ├── DarkBrushs.xaml │ │ └── LightBrushs.xaml ├── ViewModels │ ├── AppLifeCycleViewModel.cs │ ├── AppViewModel.cs │ ├── Base │ │ ├── ModelBase.cs │ │ ├── RelayCommand.cs │ │ └── ViewModelBase.cs │ ├── FBContentDialog │ │ ├── FolderBrowserContentDialogViewModel.cs │ │ └── FolderBrowserControler.cs │ ├── FileInfoViewModel.cs │ ├── FileViewModel..cs │ ├── IVMManager.cs │ ├── ProgressViewModel.cs │ ├── SettingsViewModel.cs │ ├── ThemeViewModel.cs │ └── VMManagement │ │ ├── VMItem.cs │ │ ├── VMItemKeys.cs │ │ ├── VMManager.cs │ │ └── VMManagerService.cs ├── Views │ ├── AppView.xaml │ ├── AppView.xaml.cs │ ├── FolderBrowserContentDialogView.xaml │ ├── FolderBrowserContentDialogView.xaml.cs │ ├── SettingsView.xaml │ └── SettingsView.xaml.cs ├── WindowActivatedBehaviour.cs └── packages.config ├── PDFBinderLib ├── BinderFactory.cs ├── Implementations │ ├── Combiner.cs │ ├── IProgress.cs │ └── SourceTestResult.cs ├── Interfaces │ ├── IBinder.cs │ └── IPDFFile.cs ├── PDFBinderLib.csproj ├── Properties │ └── AssemblyInfo.cs └── packages.config ├── PDF_Binder_Setup ├── PDFBinder.wxs ├── PDFBinderCore.wxs ├── PDF_Binder_Setup.wixproj └── ProductIcon │ └── pdfbinder_logo_128.ico └── SampleData ├── App.xaml.cs.pdf ├── MainWindow.pdf └── Result ├── PDF Binder Result.pdf └── Result.pdf /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Dirkster99 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | version: 1.3.{build} 2 | 3 | branches: 4 | only: 5 | - master 6 | 7 | configuration: Release 8 | 9 | platform: Any CPU 10 | 11 | image: Visual Studio 2019 Preview 12 | 13 | install: 14 | - cmd: choco install dotnetcore-sdk --pre 15 | 16 | before_build: 17 | - cmd: nuget restore source\MDemo.sln 18 | 19 | build: 20 | parallel: true 21 | verbosity: minimal 22 | 23 | artifacts: 24 | - path: source\Components\MLib\bin\Release 25 | name: MLib 26 | 27 | - path: source\Components\MWindowDialogLib\bin\Release 28 | name: MWindowDialogLib 29 | 30 | - path: source\Components\MWindowLib\bin\Release 31 | name: MWindowLib 32 | 33 | - path: source\MDemo\bin\Release 34 | name: MDemo 35 | 36 | - path: source\PDF Binder\PDF Binder\bin\Release 37 | name: PDF Binder 38 | -------------------------------------------------------------------------------- /source/Components/BindToMLib/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /source/Components/BindToMLib/BindToMLib.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netcoreapp3.0;net4.5.2 5 | true 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | Designer 21 | 22 | 23 | Designer 24 | 25 | 26 | Designer 27 | 28 | 29 | Designer 30 | 31 | 32 | Designer 33 | 34 | 35 | Designer 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /source/Components/BindToMLib/DarkBrushs.xaml: -------------------------------------------------------------------------------- 1 |  3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /source/Components/BindToMLib/LightBrushs.xaml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /source/Components/MLib/AppearanceManager.cs: -------------------------------------------------------------------------------- 1 | namespace MLib 2 | { 3 | using MLib.Interfaces; 4 | using MLib.Internal; 5 | 6 | /// 7 | /// Helper class to initialize an 8 | /// service interface. 9 | /// 10 | public sealed class AppearanceManager 11 | { 12 | /// 13 | /// Hidden default constructor. 14 | /// 15 | private AppearanceManager() 16 | { 17 | } 18 | 19 | /// 20 | /// Gets an instance of an object that implements the 21 | /// interface. 22 | /// 23 | /// 24 | public static IAppearanceManager GetInstance() 25 | { 26 | return new AppearanceManagerImpl(); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /source/Components/MLib/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /source/Components/MLib/Controls/GridSplitter.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 18 | -------------------------------------------------------------------------------- /source/Components/MLib/Interfaces/IThemeInfo.cs: -------------------------------------------------------------------------------- 1 | namespace MLib.Interfaces 2 | { 3 | using System; 4 | using System.Collections.Generic; 5 | 6 | /// 7 | /// Describes a WPF theme by its name and Uri source. 8 | /// 9 | public interface IThemeInfo 10 | { 11 | #region properties 12 | /// 13 | /// Gets the displayable (localized) name for this theme. 14 | /// 15 | string DisplayName { get; } 16 | 17 | /// 18 | /// Gets the Uri source for this theme. 19 | /// 20 | List ThemeSources { get; } 21 | #endregion properties 22 | 23 | #region methods 24 | /// 25 | /// Adds additional resource file references into the existing theme definition. 26 | /// 27 | /// 28 | void AddResources(List additionalResource); 29 | #endregion methods 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /source/Components/MLib/MLib.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 1.3.1.2 6 | 1.3.1.2 7 | 1.3.1.2 8 | Open Source 9 | Dirkster.MLib 10 | 2016-2020 11 | MLib is a set of WPF theming libraries based on MahApps.Metro and MUI 12 | 13 | true 14 | https://github.com/Dirkster99/MLib 15 | https://github.com/Dirkster99/MLib 16 | Dirkster.MLib 17 | MIT 18 | Behavior_64x.png 19 | custom wpf control c# .net metro modern black dark light theme control library 20 | Mutlitargetting NetCore 3 and Net 4 21 | 22 | https://github.com/Dirkster99/MLib 23 | 24 | net4;netcoreapp3.0 25 | true 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /source/Components/MLib/Styles/FocusVisualStyleKey.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | 18 | 19 | -------------------------------------------------------------------------------- /source/Components/MLib/Themes/Generic.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /source/Components/MLib/images/Behavior_64x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MLib/images/Behavior_64x.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/Dialogs/CustomDialog.xaml: -------------------------------------------------------------------------------- 1 |  16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/Dialogs/DialogChrome.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace MWindowDialogLib.Dialogs 2 | { 3 | using System.Windows; 4 | using System.Windows.Controls; 5 | 6 | /// 7 | /// Interaction logic for DialogChromexaml.xaml 8 | /// 9 | public partial class DialogChrome : UserControl 10 | { 11 | /// 12 | /// Class constructor. 13 | /// 14 | public DialogChrome() 15 | { 16 | InitializeComponent(); 17 | } 18 | 19 | /// 20 | /// Gets/sets the ChromeContent dependency property. 21 | /// 22 | public object ChromeContent 23 | { 24 | get { return (object)GetValue(ChromeContentProperty); } 25 | set { SetValue(ChromeContentProperty, value); } 26 | } 27 | 28 | /// 29 | /// Using a DependencyProperty as the backing store for ChromeContent. 30 | /// 31 | public static readonly DependencyProperty ChromeContentProperty = 32 | DependencyProperty.Register("ChromeContent", typeof(object), typeof(DialogChrome), new PropertyMetadata(null)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/Dialogs/MsgBoxDialog.xaml: -------------------------------------------------------------------------------- 1 |  16 | 17 | 20 | 21 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.cancel.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.check.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.information.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.lightbulb.hue.on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.lightbulb.hue.on.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.lightbulb.hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.lightbulb.hue.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.lightbulb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.lightbulb.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.lightning.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.noentry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.noentry.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.question.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.sign.stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.sign.stop.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.stop.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.warning.circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.warning.circle.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Dark/appbar.warning.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.cancel.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.check.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.information.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.information.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.lightbulb.hue.on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.lightbulb.hue.on.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.lightbulb.hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.lightbulb.hue.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.lightbulb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.lightbulb.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.lightning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.lightning.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.noentry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.noentry.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.question.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.sign.stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.sign.stop.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.stop.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.warning.circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.warning.circle.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/Metro/Light/appbar.warning.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.cancel.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.check.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.information.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.lightbulb.hue.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.lightbulb.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.lightning.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.noentry.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.question.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.stop.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.warning.circle.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/Metro/SVG/appbar.warning.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-accept.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-accept.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-error-round.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-error-round.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-error.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-error.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-information.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-information.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-information_on.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-information_on.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-information_red.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Dialog-information_red.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Emblem-important-red.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Emblem-important-red.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Emblem-important-yellow.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Emblem-important-yellow.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Emblem-important.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Emblem-important.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Emblem-notice.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Emblem-notice.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Help-browser.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Help-browser.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Process-stop.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Process-stop.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Software-update-urgent.svg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Images/MsgBoxImages/48px-Software-update-urgent.svg.png -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Local/Strings.de-DE.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Local/Strings.de-DE.Designer.cs -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Local/Strings.es-ES.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Local/Strings.es-ES.Designer.cs -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Local/Strings.fr-FR.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Local/Strings.fr-FR.Designer.cs -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Local/Strings.hi.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Local/Strings.hi.Designer.cs -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Local/Strings.it-IT.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Local/Strings.it-IT.Designer.cs -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Local/Strings.nl-NL.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Local/Strings.nl-NL.Designer.cs -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Local/Strings.zh-Hans.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/MsgBox/Local/Strings.zh-Hans.Designer.cs -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/MsgBox/Views/MsgBoxView.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace MWindowDialogLib.MsgBox.Views 2 | { 3 | using System; 4 | using System.Windows.Controls; 5 | 6 | /// 7 | /// Interaction logic for MsgBoxView.xaml 8 | /// 9 | public partial class MsgBoxView : UserControl 10 | { 11 | #region constructor 12 | /// 13 | /// Constructor 14 | /// 15 | public MsgBoxView() 16 | { 17 | this.InitializeComponent(); 18 | } 19 | #endregion constructor 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/Themes/DarkTheme.xaml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/Themes/Generic.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/Themes/LightTheme.xaml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /source/Components/MWindowDialogLib/images/AppFlyout_64x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowDialogLib/images/AppFlyout_64x.png -------------------------------------------------------------------------------- /source/Components/MWindowInterfacesLib/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /source/Components/MWindowInterfacesLib/Enums/StaticMsgBoxModes.cs: -------------------------------------------------------------------------------- 1 | namespace MWindowInterfacesLib.Enums 2 | { 3 | /// 4 | /// An enum representing the state of a MessageBox dialog when it is shown through 5 | /// the static API calling function. 6 | /// 7 | public enum StaticMsgBoxModes 8 | { 9 | /// 10 | /// Message Box is shown as overlay over the current window content. 11 | /// 12 | InternalFixed = 0, 13 | 14 | /// 15 | /// Message Box is shown as modal dialog. The modal dialog is indepentent 16 | /// of the current content and is hosted in a seperate modal window. But the 17 | /// modal window is fixed over the current window such that it raises the 18 | /// impression that it is a content dialog (although its not technically speaking). 19 | /// 20 | ExternalFixed = 1, 21 | 22 | /// 23 | /// Message Box is shown as modal dialog that user can drag via the title bar. 24 | /// This type of modal dialog is consistent with the non-conent legacy Windows 25 | /// dialogs of all versions prior to Windows 10. 26 | /// 27 | ExternalMoveable = 2 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /source/Components/MWindowInterfacesLib/Events/DialogStateChangedEventArgs.cs: -------------------------------------------------------------------------------- 1 | namespace MWindowInterfacesLib.Events 2 | { 3 | using System; 4 | 5 | /// 6 | /// Implements an event class that can be used to tell listeners when a dialog 7 | /// is closed, opened and so forth. 8 | /// 9 | public class DialogStateChangedEventArgs : EventArgs 10 | { 11 | /// 12 | /// Class constructor. 13 | /// 14 | public DialogStateChangedEventArgs() 15 | { 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /source/Components/MWindowInterfacesLib/Interfaces/IMetroDialogFrameSettings.cs: -------------------------------------------------------------------------------- 1 | namespace MWindowInterfacesLib.Interfaces 2 | { 3 | using MWindowInterfacesLib.Enums; 4 | 5 | /// 6 | /// Defines the properties that can be set to control the behaviour 7 | /// and features of a content dialog. 8 | /// 9 | public interface IMetroDialogFrameSettings 10 | { 11 | /// 12 | /// Gets/sets whether an animation is shown upon closing a dialog. 13 | /// 14 | bool AnimateHide { get; set; } 15 | 16 | /// 17 | /// Gets/sets whether an animation is shown upon opening a dialog. 18 | /// 19 | bool AnimateShow { get; set; } 20 | 21 | /// 22 | /// Gets/sets whether static (non-async) message boxes are shown 23 | /// as (fixed, moveable) external message box or not. 24 | /// 25 | StaticMsgBoxModes MsgBoxMode { get; set; } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /source/Components/MWindowInterfacesLib/MWindowInterfacesLib.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 1.3.1.2 6 | 1.3.1.2 7 | 1.3.1.2 8 | Open Source 9 | Dirkster.MWindowInterfacesLib 10 | 2016-2020 11 | Part of MLib, which is a set of WPF theming libraries based on MahApps.Metro and MUI 12 | 13 | net4;netcoreapp3.0 14 | true 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /source/Components/MWindowLib/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /source/Components/MWindowLib/Behaviours/StylizedBehaviorCollection.cs: -------------------------------------------------------------------------------- 1 | namespace MWindowLib.Behaviours 2 | { 3 | using global::Microsoft.Xaml.Behaviors; 4 | using System.Windows; 5 | 6 | /// 7 | /// Class implements a freezable collection to keep track of behaviors 8 | /// in the attached property. 9 | /// 10 | public class StylizedBehaviorCollection : FreezableCollection 11 | { 12 | /// 13 | /// Class constructor. 14 | /// 15 | protected override Freezable CreateInstanceCore() 16 | { 17 | return new StylizedBehaviorCollection(); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /source/Components/MWindowLib/Controls/IMetroThumb.cs: -------------------------------------------------------------------------------- 1 | namespace MWindowLib.Controls 2 | { 3 | using System.Windows; 4 | using System.Windows.Controls.Primitives; 5 | using System.Windows.Input; 6 | 7 | internal interface IMetroThumb : IInputElement 8 | { 9 | event DragStartedEventHandler DragStarted; 10 | 11 | event DragDeltaEventHandler DragDelta; 12 | 13 | event DragCompletedEventHandler DragCompleted; 14 | 15 | event MouseButtonEventHandler MouseDoubleClick; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /source/Components/MWindowLib/Controls/SafeRaise.cs: -------------------------------------------------------------------------------- 1 | namespace MWindowLib.Controls 2 | { 3 | using System; 4 | 5 | internal static class SafeRaise 6 | { 7 | public static void Raise(EventHandler eventToRaise, object sender) 8 | { 9 | if (eventToRaise != null) 10 | { 11 | eventToRaise(sender, EventArgs.Empty); 12 | } 13 | } 14 | 15 | public static void Raise(EventHandler eventToRaise, object sender) 16 | { 17 | Raise(eventToRaise, sender, EventArgs.Empty); 18 | } 19 | 20 | public static void Raise(EventHandler eventToRaise, object sender, T args) where T : EventArgs 21 | { 22 | if (eventToRaise != null) 23 | { 24 | eventToRaise(sender, args); 25 | } 26 | } 27 | 28 | public delegate T GetEventArgs() where T : EventArgs; 29 | 30 | public static void Raise(EventHandler eventToRaise, object sender, GetEventArgs getEventArgs) where T : EventArgs 31 | { 32 | if (eventToRaise != null) 33 | { 34 | eventToRaise(sender, getEventArgs()); 35 | } 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /source/Components/MWindowLib/Native/MONITORINFO.cs: -------------------------------------------------------------------------------- 1 | namespace MWindowLib.Native 2 | { 3 | using System.Runtime.InteropServices; 4 | 5 | [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] 6 | internal class MONITORINFO 7 | { 8 | public int cbSize = Marshal.SizeOf(typeof(MONITORINFO)); 9 | public RECT rcMonitor = new RECT(); 10 | public RECT rcWork = new RECT(); 11 | public int dwFlags = 0; 12 | 13 | public enum MonitorOptions : uint 14 | { 15 | MONITOR_DEFAULTTONULL = 0x00000000, 16 | MONITOR_DEFAULTTOPRIMARY = 0x00000001, 17 | MONITOR_DEFAULTTONEAREST = 0x00000002 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /source/Components/MWindowLib/Themes/DarkTheme.xaml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /source/Components/MWindowLib/Themes/Generic.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /source/Components/MWindowLib/Themes/LightTheme.xaml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /source/Components/MWindowLib/images/Application_64x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/Components/MWindowLib/images/Application_64x.png -------------------------------------------------------------------------------- /source/MDemo/App.xaml: -------------------------------------------------------------------------------- 1 |  6 | 7 | -------------------------------------------------------------------------------- /source/MDemo/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /source/MDemo/Demos/BindingProxy .cs: -------------------------------------------------------------------------------- 1 | namespace MDemo.Demos 2 | { 3 | using System.Windows; 4 | 5 | /// 6 | /// Implements an XAML proxy which can be used to bind items (TreeViewItem, ListViewItem etc) 7 | /// with a viewmodel that manages the collections. 8 | /// 9 | /// Source: http://www.thomaslevesque.com/2011/03/21/wpf-how-to-bind-to-data-when-the-datacontext-is-not-inherited/ 10 | /// Issue: http://stackoverflow.com/questions/9994241/mvvm-binding-command-to-contextmenu-item 11 | /// 12 | public class BindingProxy : Freezable 13 | { 14 | public static readonly DependencyProperty DataProperty = 15 | DependencyProperty.Register("Data", typeof(object), typeof(BindingProxy), new UIPropertyMetadata(null)); 16 | 17 | /// 18 | /// Gets the data object this class is forwarding to everyone 19 | /// who has a reference to this object. 20 | /// 21 | public object Data 22 | { 23 | get { return (object)this.GetValue(DataProperty); } 24 | set { this.SetValue(DataProperty, value); } 25 | } 26 | 27 | /// 28 | /// Overrides of Freezable 29 | /// 30 | /// 31 | protected override Freezable CreateInstanceCore() 32 | { 33 | return new BindingProxy(); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /source/MDemo/Demos/Converters/SampleParametersConverter.cs: -------------------------------------------------------------------------------- 1 | namespace MDemo.Demos.Converters 2 | { 3 | using System; 4 | using System.Globalization; 5 | using System.Windows.Data; 6 | 7 | /// 8 | /// Binds multiple sample parameters in the samples window 9 | /// for usage on one command. 10 | /// 11 | /// Source: http://stackoverflow.com/questions/15952812/multiple-command-parameters-wpf-button-object 12 | /// 13 | public class SampleParametersConverter : IMultiValueConverter 14 | { 15 | public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) 16 | { 17 | 18 | return new object[] { values[0], values[1] }; 19 | } 20 | 21 | public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) 22 | { 23 | return null; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /source/MDemo/Demos/Views/CustomDialogView.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace MDemo.Demos.Views 2 | { 3 | using System.Windows.Controls; 4 | 5 | /// 6 | /// Interaction logic for CustomDialogContent.xaml 7 | /// 8 | public partial class CustomDialogView : UserControl 9 | { 10 | public CustomDialogView() 11 | { 12 | InitializeComponent(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /source/MDemo/Demos/Views/InputView.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace MDemo.Demos.Views 2 | { 3 | using System.Windows.Controls; 4 | 5 | /// 6 | /// Interaction logic for InputDialog.xaml 7 | /// 8 | public partial class InputView : UserControl 9 | { 10 | public InputView() 11 | { 12 | InitializeComponent(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /source/MDemo/Demos/Views/LoginView.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace MDemo.Demos.Views 2 | { 3 | using System.Windows.Controls; 4 | 5 | /// 6 | /// Interaction logic for LoginView.xaml 7 | /// 8 | public partial class LoginView : UserControl 9 | { 10 | public LoginView() 11 | { 12 | InitializeComponent(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /source/MDemo/Demos/Views/MessageView.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace MDemo.Demos.Views 2 | { 3 | using System.Windows.Controls; 4 | 5 | /// 6 | /// Interaction logic for MessageView.xaml 7 | /// 8 | public partial class MessageView : UserControl 9 | { 10 | public MessageView() 11 | { 12 | InitializeComponent(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /source/MDemo/Demos/Views/ProgressView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Windows; 7 | using System.Windows.Controls; 8 | using System.Windows.Data; 9 | using System.Windows.Documents; 10 | using System.Windows.Input; 11 | using System.Windows.Media; 12 | using System.Windows.Media.Imaging; 13 | using System.Windows.Navigation; 14 | using System.Windows.Shapes; 15 | 16 | namespace MDemo.Demos.Views 17 | { 18 | /// 19 | /// Interaction logic for ProgressView.xaml 20 | /// 21 | public partial class ProgressView : UserControl 22 | { 23 | public ProgressView() 24 | { 25 | InitializeComponent(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /source/MDemo/Demos/Views/SimpleDialogWindow.xaml: -------------------------------------------------------------------------------- 1 |  20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 31 | 32 | Ready. 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /source/MDemo/Demos/Views/SimpleDialogWindow.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace MDemo.Demos.Views 2 | { 3 | /// 4 | /// Interaction logic for SimpleDialogWindow.xaml 5 | /// 6 | public partial class SimpleDialogWindow : MWindowLib.SimpleMetroWindow 7 | { 8 | public SimpleDialogWindow() 9 | { 10 | InitializeComponent(); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/dark/appbar.camera.flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/dark/appbar.camera.flash.png -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/dark/appbar.check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/dark/appbar.check.png -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/dark/appbar.lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/dark/appbar.lock.png -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/dark/appbar.question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/dark/appbar.question.png -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/design/appbar.camera.flash.design: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/design/appbar.camera.flash.design -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/design/appbar.camera.flash.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/design/appbar.check.design: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/design/appbar.check.design -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/design/appbar.check.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/design/appbar.lock.design: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/design/appbar.lock.design -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/design/appbar.lock.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/design/appbar.question.design: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/design/appbar.question.design -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/design/appbar.question.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/light/appbar.camera.flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/light/appbar.camera.flash.png -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/light/appbar.check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/light/appbar.check.png -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/light/appbar.lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/light/appbar.lock.png -------------------------------------------------------------------------------- /source/MDemo/Resources/Icons/light/appbar.question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/Icons/light/appbar.question.png -------------------------------------------------------------------------------- /source/MDemo/Resources/logo/pdfbinder_logo_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/logo/pdfbinder_logo_128.png -------------------------------------------------------------------------------- /source/MDemo/Resources/logo/pdfbinder_logo_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/logo/pdfbinder_logo_32.png -------------------------------------------------------------------------------- /source/MDemo/Resources/logo/pdfbinder_logo_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/MDemo/Resources/logo/pdfbinder_logo_64.png -------------------------------------------------------------------------------- /source/MDemo/ServiceInjector.cs: -------------------------------------------------------------------------------- 1 | namespace MDemo 2 | { 3 | using MLib; 4 | using MLib.Interfaces; 5 | using MWindowDialogLib; 6 | using MWindowInterfacesLib.Interfaces; 7 | using ServiceLocator; 8 | using Settings; 9 | using Settings.Interfaces; 10 | 11 | /// 12 | /// Creates and initializes all services. 13 | /// 14 | public static class ServiceInjector 15 | { 16 | /// 17 | /// Loads service objects into the ServiceContainer on startup of application. 18 | /// 19 | /// Returns the current instance 20 | /// to let caller work with service container items right after creation. 21 | public static ServiceContainer InjectServices() 22 | { 23 | ServiceContainer.Instance.AddService(ContentDialogService.Instance); 24 | 25 | var appearance = AppearanceManager.GetInstance(); 26 | ServiceContainer.Instance.AddService(SettingsManager.GetInstance(appearance.CreateThemeInfos())); 27 | ServiceContainer.Instance.AddService(appearance); 28 | 29 | return ServiceContainer.Instance; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /source/MDemo/Themes/Dark/DarkIcons.xaml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /source/MDemo/Themes/Light/LightIcons.xaml: -------------------------------------------------------------------------------- 1 |  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /source/MDemo/ViewModels/Base/ModelBase.cs: -------------------------------------------------------------------------------- 1 | namespace MDemo.ViewModels.Base 2 | { 3 | public class ModelBase 4 | { 5 | /// 6 | /// Gets an instance of the service container and retrieves the requested service coponent. 7 | /// 8 | /// 9 | /// 10 | public TServiceContract GetService() where TServiceContract : class 11 | { 12 | return ServiceLocator.ServiceContainer.Instance.GetService(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /source/More_Components/ServiceLocator/ServiceLocator.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp3.0;net4.5.2 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /source/More_Components/Settings/Settings/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Windows; 2 | 3 | [assembly: ThemeInfo( 4 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located 5 | //(used if a resource is not found in the page, 6 | // or application resource dictionaries) 7 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located 8 | //(used if a resource is not found in the page, 9 | // app, or any theme specific resource dictionaries) 10 | )] 11 | -------------------------------------------------------------------------------- /source/More_Components/Settings/Settings/Interfaces/IOptions.cs: -------------------------------------------------------------------------------- 1 | namespace Settings.Interfaces 2 | { 3 | using Settings.ProgramSettings; 4 | using System.Collections.Generic; 5 | 6 | public interface IOptions 7 | { 8 | #region properties 9 | bool IsDirty { get; set; } 10 | string LanguageSelected { get; set; } 11 | bool ReloadOpenFilesOnAppStart { get; set; } 12 | string SourceFilePath { get; set; } 13 | 14 | string DefaultSourceLanguage { get; set; } 15 | string DefaultTargetLanguage { get; set; } 16 | 17 | string DefaultDefaultSourceLanguage { get; } 18 | string DefaultDefaultTargetLanguage { get; } 19 | 20 | int DefaultIconSize { get; } 21 | int IconSizeMin { get; } 22 | int IconSizeMax { get; } 23 | 24 | int DefaultFontSize { get; } 25 | int FontSizeMin { get; } 26 | int FontSizeMax { get; } 27 | #endregion properties 28 | 29 | #region methods 30 | /// 31 | /// Reset the dirty flag (e.g. after saving program options when they where edit). 32 | /// 33 | /// 34 | void SetDirtyFlag(bool flag); 35 | 36 | void SetIconSize(int size); 37 | void SetFontSize(int size); 38 | #endregion methods 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /source/More_Components/Settings/Settings/Interfaces/IOptionsPanel.cs: -------------------------------------------------------------------------------- 1 | namespace Settings.Interfaces 2 | { 3 | using SettingsModel.Interfaces; 4 | 5 | public interface IOptionsPanel 6 | { 7 | IEngine Options { get; } 8 | } 9 | } -------------------------------------------------------------------------------- /source/More_Components/Settings/Settings/Interfaces/IViewPosSizeModel.cs: -------------------------------------------------------------------------------- 1 | namespace Settings.Interfaces 2 | { 3 | using System; 4 | 5 | public interface IViewPosSizeModel 6 | { 7 | bool DefaultConstruct { get; } 8 | double Height { get; set; } 9 | bool IsMaximized { get; set; } 10 | double Width { get; set; } 11 | double X { get; set; } 12 | double Y { get; set; } 13 | 14 | void SetValidPos(double SystemParameters_VirtualScreenLeft, double SystemParameters_VirtualScreenTop); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /source/More_Components/Settings/Settings/ProgramSettings/OptionsPanel.cs: -------------------------------------------------------------------------------- 1 | namespace Settings.ProgramSettings 2 | { 3 | using Settings.Interfaces; 4 | using SettingsModel.Interfaces; 5 | using SettingsModel.Models; 6 | 7 | internal class OptionsPanel : IOptionsPanel 8 | { 9 | private IEngine mQuery = null; 10 | 11 | public OptionsPanel() 12 | { 13 | mQuery = Factory.CreateEngine(); 14 | } 15 | 16 | /// 17 | /// Gets the options that used to manage program options. 18 | /// 19 | public IEngine Options 20 | { 21 | get 22 | { 23 | return mQuery; 24 | } 25 | 26 | private set 27 | { 28 | mQuery = value; 29 | } 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /source/More_Components/Settings/Settings/Settings.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netcoreapp3.0;net4.5.2 5 | true 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /source/More_Components/Settings/Settings/SettingsManager.cs: -------------------------------------------------------------------------------- 1 | namespace Settings 2 | { 3 | using MLib.Interfaces; 4 | using Settings.Interfaces; 5 | using Settings.Internal; 6 | 7 | /// 8 | /// Helper class to initialize an 9 | /// service interface. 10 | /// 11 | public sealed class SettingsManager 12 | { 13 | /// 14 | /// Hidden default constructor. 15 | /// 16 | private SettingsManager() 17 | { 18 | } 19 | 20 | /// 21 | /// Gets an instance of an object that implements the 22 | /// interface. 23 | /// 24 | /// 25 | public static ISettingsManager GetInstance(IThemeInfos themeInfos) 26 | { 27 | return new SettingsManagerImpl(themeInfos); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /source/More_Components/Settings/Settings/UserProfile/LocalizabilityAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Settings.UserProfile 4 | { 5 | internal class LocalizabilityAttribute : Attribute 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /source/More_Components/Settings/Settings/UserProfile/ViewSize.cs: -------------------------------------------------------------------------------- 1 | namespace Settings.UserProfile 2 | { 3 | // 50, 50, 800, 550 4 | public class ViewSize 5 | { 6 | public ViewSize(double x, double y, double width, double height) 7 | { 8 | X = x; 9 | Y = y; 10 | Width = width; 11 | Height = height; 12 | } 13 | 14 | public double X { get; private set; } 15 | public double Y { get; private set; } 16 | public double Width { get; private set; } 17 | public double Height { get; private set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /source/More_Components/Settings/SettingsModel/Models/Factory.cs: -------------------------------------------------------------------------------- 1 | namespace SettingsModel.Models 2 | { 3 | using SettingsModel.Interfaces; 4 | 5 | /// 6 | /// Factory class to create an 7 | /// object from a class that is otherwise unknown to the outside world. 8 | /// 9 | public static class Factory 10 | { 11 | /// 12 | /// Create a new engine object that provides all root functions required 13 | /// to model, track, persist, and load data at run-time. 14 | /// 15 | /// 16 | public static IEngine CreateEngine() 17 | { 18 | return new OptionsEngine(); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /source/More_Components/Settings/SettingsModel/Models/FileReference.cs: -------------------------------------------------------------------------------- 1 | namespace SettingsModel.Models 2 | { 3 | using System.Xml.Serialization; 4 | 5 | /// 6 | /// Implement a simple file reverence model to allow XML persistence 7 | /// of a List via this class. 8 | /// 9 | public class FileReference 10 | { 11 | /// 12 | /// Gets/sets the path to a file. 13 | /// 14 | [XmlAttribute(AttributeName = "path")] 15 | public string path { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /source/More_Components/Settings/SettingsModel/Models/XML/Converters/IAlternativeDataTypeHandler.cs: -------------------------------------------------------------------------------- 1 | namespace SettingsModel.Models.XML.Converters 2 | { 3 | using System; 4 | 5 | internal interface IAlternativeDataTypeHandler 6 | { 7 | Type SourceDataType { get; } 8 | Type TargetDataType { get; } 9 | 10 | object Convert(object objectInput); 11 | object ConvertBack(object objectEncryptedData); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /source/More_Components/Settings/SettingsModel/SettingsModel.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netcoreapp3.0;net4.0 5 | 6 | 7 | 8 | 9 | 4.7.0 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Factory.cs: -------------------------------------------------------------------------------- 1 | namespace FileListView 2 | { 3 | using FileListView.Interfaces; 4 | using FileListView.ViewModels; 5 | using FileSystemModels.Interfaces; 6 | using FileSystemModels.Models.FSItems.Base; 7 | 8 | /// 9 | /// Implements factory methods that creates library objects that are accessible 10 | /// through interfaces but are otherwise invisible for the outside world. 11 | /// 12 | public sealed class Factory 13 | { 14 | private Factory(){ } 15 | 16 | public static IFileListViewModel CreateFileListViewModel(IBrowseNavigation browseNavigation) 17 | { 18 | return new FileListViewModel(browseNavigation); 19 | } 20 | 21 | public static ILVItemViewModel CreateItem( 22 | string path 23 | , FSItemType type 24 | , string displayName) 25 | { 26 | return new LVItemViewModel(path, type, displayName); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/075b_UpFolder_16x16_72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/075b_UpFolder_16x16_72.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/Back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/Back.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/Folder/Folder_yellow_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/Folder/Folder_yellow_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/Folder/folderopened_yellow_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/Folder/folderopened_yellow_128.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/Folder/folderopened_yellow_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/Folder/folderopened_yellow_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/Folder/folderopened_yellow_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/Folder/folderopened_yellow_64.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/IsHiddenVisible.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/IsHiddenVisible.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/appbar.image.macro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/appbar.image.macro.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/forward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/forward.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/magnifying_glass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/magnifying_glass.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Generic/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Generic/refresh.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/GenericIcons.xaml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/File_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/File_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/File_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/File_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.folder_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.folder_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.folder_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.folder_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.image.macro_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.image.macro_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.image.macro_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.image.macro_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.magnify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.magnify.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.page.hidden_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.page.hidden_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.page.hidden_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.page.hidden_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.refresh_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.refresh_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.refresh_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Dark/appbar.refresh_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/File_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/File_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/File_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/File_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.folder_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.folder_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.folder_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.folder_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.image.macro_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.image.macro_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.image.macro_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.image.macro_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.magnify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.magnify.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.page.hidden_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.page.hidden_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.page.hidden_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.page.hidden_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.refresh_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.refresh_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.refresh_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileListView/Images/Metro/Light/appbar.refresh_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/Sketchup/appbar.arrow.left.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/Sketchup/appbar.arrow.right.left.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/Sketchup/appbar.base.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/Sketchup/appbar.chevron.down.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/Sketchup/appbar.chevron.left.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/Sketchup/appbar.chevron.right.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/Sketchup/appbar.chevron.up.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/Sketchup/appbar.navigate.next.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/Sketchup/appbar.navigate.previous.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/appbar.folder.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/appbar.image.macro.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/appbar.magnify.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/appbar.page.hidden.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/Metro/SVG/appbar.refresh.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/MetroDarkIcons.xaml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Images/MetroLightIcons.xaml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Interfaces/IFileOpenEventSource.cs: -------------------------------------------------------------------------------- 1 | namespace FileListView.Interfaces 2 | { 3 | using System; 4 | using FileSystemModels.Events; 5 | 6 | /// 7 | /// implements an interface that can be used to request event based actions, such as, 8 | /// opening a file system item (in the client application or windows). 9 | /// 10 | public interface IFileOpenEventSource 11 | { 12 | /// 13 | /// Event is fired to indicate that user wishes to open a file via this viewmodel. 14 | /// 15 | event EventHandler OnFileOpen; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/Interfaces/ILVItemViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace FileListView.Interfaces 2 | { 3 | using FileSystemModels.Interfaces; 4 | 5 | /// 6 | /// Defines the properties and members of an item view model that is 7 | /// designed for usage in list views or similar controls. 8 | /// 9 | public interface ILVItemViewModel : IListItemViewModel 10 | { 11 | /// 12 | /// Renames this item with the indicated name. 13 | /// 14 | /// This includes renaming the item in the file system. 15 | /// 16 | /// 17 | void RenameFileOrFolder(string newFolderName); 18 | } 19 | } -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileListView/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Browse/BrowseResult.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Browse 2 | { 3 | /// 4 | /// Determines the state of a browsing process. for instance, browsing a 5 | /// viewmodel (and it attached view(s)) from 'C:\' to 'G:\' may involve 6 | /// a: 7 | /// - start state == (Unknown) 8 | /// 9 | /// and a state of completion: 10 | /// - error == Incomplete or 11 | /// - success == Complete 12 | /// 13 | public enum BrowseResult 14 | { 15 | /// 16 | /// Result is unknown since browse task is currently running 17 | /// or completed with unknown result ... 18 | /// 19 | Unknown = 0, 20 | 21 | /// 22 | /// Browse Process OK - destination does exist and is accessible 23 | /// 24 | Complete = 1, 25 | 26 | /// 27 | /// Error indicator - destination does not exist or is not accessible 28 | /// 29 | InComplete = 2 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Browse/ICanNavigate.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Browse 2 | { 3 | using System; 4 | 5 | /// 6 | /// Defines an interface that should be exposed if a control can 7 | /// request the controller (and hence other controls) to browse to 8 | /// a new file system location. 9 | /// 10 | public interface ICanNavigate 11 | { 12 | /// 13 | /// Indicates when the viewmodel starts heading off somewhere else 14 | /// and when its done browsing to a new location. 15 | /// 16 | event EventHandler BrowseEvent; 17 | 18 | /// 19 | /// Can only be set by the control if user started browser process 20 | /// 21 | /// Use IsBrowsing and IsExternallyBrowsing to lock the controls UI 22 | /// during browse operations or display appropriate progress bar(s). 23 | /// 24 | bool IsBrowsing { get; } 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Browse/INavigateable.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Browse 2 | { 3 | using FileSystemModels.Interfaces; 4 | using System.Threading.Tasks; 5 | 6 | /// 7 | /// Defines an interface that supports the case where a controller 8 | /// can request a control or sub-system to browse to a certain location. 9 | /// 10 | public interface INavigateable : ICanNavigate 11 | { 12 | /// 13 | /// Controller can start browser process if IsBrowsing = false 14 | /// 15 | /// 16 | /// 17 | bool NavigateTo(IPathModel newPath); 18 | 19 | /// 20 | /// Controller can start browser process if IsBrowsing = false 21 | /// 22 | /// 23 | /// 24 | Task NavigateToAsync(IPathModel newPath); 25 | 26 | /// 27 | /// Sets the IsExternalBrowsing state and cleans up any running processings 28 | /// if any. This method should only be called by an external controll instance. 29 | /// 30 | /// 31 | void SetExternalBrowsingState(bool isBrowsing); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Events/FileOpenEventArgs.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Events 2 | { 3 | using System; 4 | 5 | /// 6 | /// This event tells the receiver that the user wants to open a file. 7 | /// 8 | public class FileOpenEventArgs : EventArgs 9 | { 10 | /// 11 | /// Path an file name of file to open. 12 | /// 13 | public string FileName { get; set; } 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Events/FilterChangedEventArgs.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Events 2 | { 3 | using System; 4 | 5 | /// 6 | /// Class implements ... 7 | /// 8 | public class FilterChangedEventArgs : EventArgs 9 | { 10 | /// 11 | /// Path of directory... 12 | /// 13 | public string FilterText { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Events/FolderChangedEventArgs.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Events 2 | { 3 | using System; 4 | using FileSystemModels.Interfaces; 5 | 6 | /// 7 | /// Class implements an event that signals that 8 | /// event source (caller) would like to change to indicated path. 9 | /// 10 | public class FolderChangedEventArgs : EventArgs 11 | { 12 | /// 13 | /// Event type class constructor from parameter 14 | /// 15 | public FolderChangedEventArgs(IPathModel path) 16 | : this() 17 | { 18 | this.Folder = path; 19 | } 20 | 21 | /// 22 | /// Class constructor 23 | /// 24 | public FolderChangedEventArgs() 25 | : base() 26 | { 27 | this.Folder = null; 28 | } 29 | 30 | /// 31 | /// Path to this directory... 32 | /// 33 | public IPathModel Folder { get; private set; } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Factory.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels 2 | { 3 | using FileSystemModels.Interfaces.Bookmark; 4 | using FileSystemModels.ViewModels; 5 | 6 | /// 7 | /// Implements a factory for core models and viemodels that can be implemented 8 | /// by clients and controls that are based on this library. 9 | /// 10 | public sealed class Factory 11 | { 12 | private Factory(){} 13 | 14 | /// 15 | /// Factory pattern that can create objects to manage 16 | /// recently visited file system folder entries. 17 | /// 18 | /// 19 | public static IBookmarksViewModel CreateBookmarksViewModel() 20 | { 21 | return new BookmarkesViewModel() as IBookmarksViewModel; 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Interfaces/Bookmark/IEditBookmarks.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Interfaces.Bookmark 2 | { 3 | using FileSystemModels.Events; 4 | using System; 5 | using System.Windows.Input; 6 | 7 | /// 8 | /// Defines an interface to Add/Remove Bookmark entries from 9 | /// a list of bookmarked items. 10 | /// 11 | /// The object should be implenented by any client objects that wants to 12 | /// add or remove entries from a bookmark locations model. 13 | /// 14 | public interface IEditBookmarks 15 | { 16 | /// 17 | /// Invokes the actual event that adds/removes a bookmark in the bookmark 18 | /// model collection at the client side of this event. 19 | /// 20 | event EventHandler RequestEditBookmarkedFolders; 21 | 22 | /// 23 | /// Gets a command that removes folder location via a corresponding event. 24 | /// 25 | ICommand RecentFolderRemoveCommand { get; } 26 | 27 | /// 28 | /// Gets a command that adds folder location via a corresponding event. 29 | /// 30 | ICommand RecentFolderAddCommand { get; } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Interfaces/IConfigExplorerSettings.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Interfaces 2 | { 3 | using FileSystemModels.Models; 4 | 5 | /// 6 | /// Define an interface for configuring and reading setting 7 | /// and user profile data for the explorer (tool window) viewmodel. 8 | /// 9 | /// This interface includes usage of the class. 10 | /// 11 | public interface IConfigExplorerSettings 12 | { 13 | /// 14 | /// Configure this viewmodel (+ attached browser viewmodel) with the given settings. 15 | /// 16 | /// 17 | /// 18 | bool ConfigureExplorerSettings(ExplorerSettingsModel settings); 19 | 20 | /// 21 | /// Compare given settings with current settings 22 | /// and return a new settings model if the current settings 23 | /// changed in comparison to the given settings. 24 | /// 25 | /// Always return current settings if settings is null. 26 | /// 27 | /// 28 | /// 29 | ExplorerSettingsModel GetExplorerSettings(ExplorerSettingsModel input); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Interfaces/IItem.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Interfaces 2 | { 3 | using FileSystemModels.Models.FSItems.Base; 4 | 5 | /// 6 | /// Define the basic properties and methods of a viewmodel for 7 | /// a file system item. 8 | /// 9 | public interface IItem 10 | { 11 | /// 12 | /// Gets the type (folder, file) of this item 13 | /// 14 | FSItemType ItemType { get; } 15 | 16 | /// 17 | /// Gets the path to this item 18 | /// 19 | string ItemPath { get; } 20 | 21 | /// 22 | /// Gets the name (without the path) of this item. 23 | /// 24 | string ItemName { get; } 25 | 26 | /// 27 | /// Gets a folder item string for display purposes. 28 | /// This string can evaluete to 'C:\ (Windows)' for drives, 29 | /// if the 'C:\' drive was named 'Windows'. 30 | /// 31 | string ItemDisplayString { get; } 32 | 33 | /// 34 | /// Gets whether this folder is currently expanded or not. 35 | /// 36 | bool IsExpanded { get; } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Interfaces/IListItemViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Interfaces 2 | { 3 | /// 4 | /// Define the properties and methods of a viewmodel for 5 | /// a file system item. 6 | /// 7 | public interface IListItemViewModel : IItem 8 | { 9 | #region properties 10 | /// 11 | /// Gets whether or not to show an Icon for this item or not. 12 | /// 13 | bool ShowIcon { get; } 14 | #endregion properties 15 | 16 | #region methods 17 | /// 18 | /// Determine whether a given path is an exeisting directory or not. 19 | /// 20 | /// true if this directory exists and otherwise false 21 | bool DirectoryPathExists(); 22 | #endregion methods 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Local/Strings.de-DE.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileSystemModels/Local/Strings.de-DE.Designer.cs -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Local/Strings.es-ES.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileSystemModels/Local/Strings.es-ES.Designer.cs -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Local/Strings.fr-FR.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileSystemModels/Local/Strings.fr-FR.Designer.cs -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Local/Strings.hi-IN.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileSystemModels/Local/Strings.hi-IN.Designer.cs -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Local/Strings.it-IT.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileSystemModels/Local/Strings.it-IT.Designer.cs -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Local/Strings.ja-JP.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileSystemModels/Local/Strings.ja-JP.Designer.cs -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Local/Strings.ru-RU.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileSystemModels/Local/Strings.ru-RU.Designer.cs -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Local/Strings.zh-CHS.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FileSystemModels/Local/Strings.zh-CHS.Designer.cs -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Models/FSItems/Base/FSItemType.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Models.FSItems.Base 2 | { 3 | /// 4 | /// Determine whether a file system item is a folder or a file. 5 | /// 6 | public enum FSItemType 7 | { 8 | /// 9 | /// Uknown type of file system item. 10 | /// 11 | Unknown = 0, 12 | 13 | /// 14 | /// Reference to harddisk or other drives such as 'C:\' 15 | /// 16 | LogicalDrive = 1, 17 | 18 | /// 19 | /// File system item is a folder. 20 | /// 21 | Folder = 2, 22 | 23 | /// 24 | /// File system item is a file. 25 | /// 26 | File = 3, 27 | 28 | ////DummyEntry = 4 29 | 30 | ////Computer = 4, 31 | ////NetworkShare = 5, 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/Utils/LinqExtensions.cs: -------------------------------------------------------------------------------- 1 | namespace FileSystemModels.Utils 2 | { 3 | using System; 4 | using System.Collections.ObjectModel; 5 | using System.Linq; 6 | 7 | /// 8 | /// Class provides extension methods for manipulating collections with Linq. 9 | /// 10 | public static class LinqExtensions 11 | { 12 | #region methods 13 | /// 14 | /// Remove all elements that satisfy a condition from an observable collection. 15 | /// 16 | /// 17 | /// 18 | /// 19 | /// item count of removed items 20 | public static int Remove(this ObservableCollection coll, Func condition) 21 | { 22 | var itemsToRemove = coll.Where(condition).ToList(); 23 | 24 | foreach (var itemToRemove in itemsToRemove) 25 | coll.Remove(itemToRemove); 26 | 27 | return itemsToRemove.Count; 28 | } 29 | #endregion methods 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FileSystemModels/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FilterControlsLib/Interfaces/IFilterItemViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace FilterControlsLib.Interfaces 2 | { 3 | /// 4 | /// Defines the properties and methods of a view model 5 | /// for a filter item displayed in a list of filters. 6 | /// 7 | public interface IFilterItemViewModel 8 | { 9 | /// 10 | /// Gets the regular expression based filter string eg: '*.exe'. 11 | /// 12 | string FilterText { get; set; } 13 | 14 | /// 15 | /// Gets the name for this filter 16 | /// (human readable for display in tool tip or label). 17 | /// 18 | string FilterDisplayName { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FilterControlsLib/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace FilterControlsLib.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.5.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FilterControlsLib/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Converters/InverseBooleanConverter.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.Converters 2 | { 3 | using System; 4 | using System.Windows.Data; 5 | 6 | /// 7 | /// Convert boolean true into false and vice versa. 8 | /// 9 | [ValueConversion(typeof(bool), typeof(bool))] 10 | public class InverseBooleanConverter : IValueConverter 11 | { 12 | private const string _wrongTargetType = "The target must be a boolean"; 13 | 14 | #region IValueConverter Members 15 | public object Convert(object value, Type targetType, object parameter, 16 | System.Globalization.CultureInfo culture) 17 | { 18 | if (targetType != typeof(bool)) 19 | return Binding.DoNothing; 20 | ////throw new InvalidOperationException(_wrongTargetType); 21 | 22 | return !(bool)value; 23 | } 24 | 25 | public object ConvertBack(object value, Type targetType, object parameter, 26 | System.Globalization.CultureInfo culture) 27 | { 28 | if (targetType != typeof(bool)) 29 | return Binding.DoNothing; 30 | ////throw new InvalidOperationException(_wrongTargetType); 31 | 32 | return !(bool)value; 33 | } 34 | 35 | #endregion 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/BrowseButton/arrow-right-b.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/BrowseButton/arrow-right-b_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/BrowseButton/arrow-right-b_64.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/BrowseButton/close-round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/BrowseButton/close-round.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/BrowseButton/close-round.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/BrowseButton/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/BrowseButton/refresh.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/Desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/Desktop.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/Error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/Error.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/Favourites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/Favourites.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/Folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/Folder.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/FolderClosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/FolderClosed.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/FolderOpen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/FolderOpen.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/HardDisk.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/HardDisk.ico -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/MyDocuments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/MyDocuments.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/MyMusic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/MyMusic.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/MyPictures.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/MyPictures.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/MyVideos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/MyVideos.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Generic/ProgramFiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Generic/ProgramFiles.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/BrowseButton/appbar.refresh_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/BrowseButton/appbar.refresh_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/BrowseButton/appbar.refresh_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/BrowseButton/appbar.refresh_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/BrowseButton/arrow-right-b_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/BrowseButton/arrow-right-b_64.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/BrowseButton/close-round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/BrowseButton/close-round.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/Desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/Desktop.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/Favourites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/Favourites.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/Folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/Folder.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/FolderClosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/FolderClosed.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/FolderOpen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/FolderOpen.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/HardDisk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/HardDisk.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/MyDocuments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/MyDocuments.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/MyMusic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/MyMusic.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/MyPictures.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/MyPictures.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/MyVideos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/MyVideos.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/ProgramFiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Dark/ProgramFiles.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/BrowseButton/appbar.refresh_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/BrowseButton/appbar.refresh_16.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/BrowseButton/appbar.refresh_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/BrowseButton/appbar.refresh_32.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/Desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/Desktop.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/Favourites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/Favourites.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/Folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/Folder.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/FolderClosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/FolderClosed.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/FolderOpen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/FolderOpen.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/HardDisk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/HardDisk.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/MyDocuments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/MyDocuments.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/MyMusic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/MyMusic.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/MyPictures.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/MyPictures.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/MyVideos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/MyVideos.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/ProgramFiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Dirkster99/MLib/f0020225120aa4f98a5f1c38c415500da1b0c0f6/source/More_Components/fs3_Components/FolderBrowser/Images/Metro/Light/ProgramFiles.png -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Images/Metro/SVG/MyMusic.svg: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Interfaces/Dialogs/IDialogViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.Dialogs.Interfaces 2 | { 3 | using FileSystemModels.Interfaces.Bookmark; 4 | using FolderBrowser.Interfaces; 5 | 6 | public interface IDialogViewModel 7 | { 8 | bool? DialogCloseResult { get; } 9 | 10 | /// 11 | /// Gets the viewmodel that drives the folder picker control. 12 | /// 13 | IBrowserViewModel TreeBrowser { get; } 14 | 15 | /// 16 | /// Gets the viewmodel that drives the folder bookmark drop down control. 17 | /// 18 | IBookmarksViewModel BookmarkedLocations { get; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Interfaces/ICustomFolderItemViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.Interfaces 2 | { 3 | using System; 4 | 5 | public interface ICustomFolderItemViewModel 6 | { 7 | string Path { get; } 8 | Environment.SpecialFolder SpecialFolder { get; } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Interfaces/IDriveViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.Interfaces 2 | { 3 | /// 4 | /// Defines the interface to a viewmodel that binds to 5 | /// a drive item in the view. 6 | /// 7 | public interface IDriveViewModel : ITreeItemViewModel 8 | { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Interfaces/IFolderViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.Interfaces 2 | { 3 | /// 4 | /// Defines the interface to a viewmodel that binds to 5 | /// a folder item in the view. 6 | /// 7 | public interface IFolderViewModel : ITreeItemViewModel 8 | { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Interfaces/IParent.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.Interfaces 2 | { 3 | /// 4 | /// Models an interfaces to an item that can 5 | /// tell is parent (whether it has a paren or not). 6 | /// 7 | public interface IParent 8 | { 9 | /// 10 | /// Gets the parent object where this object is the child in the treeview. 11 | /// 12 | ITreeItemViewModel Parent { get; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Themes/Generic.xaml: -------------------------------------------------------------------------------- 1 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Themes/ResourceKeys.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.Themes 2 | { 3 | using System.Windows; 4 | 5 | public static class ResourceKeys 6 | { 7 | /// 8 | /// Resource key of the folder browser drop down normal background brush key. 9 | /// 10 | public static readonly ComponentResourceKey DropDownBackgroundKey = new ComponentResourceKey(typeof(ResourceKeys), "DropDownBackgroundKey"); 11 | 12 | /// 13 | /// Resource key of the folder browser dialogs normal background brush key. 14 | /// 15 | public static readonly ComponentResourceKey DialogBackgroundKey = new ComponentResourceKey(typeof(ResourceKeys), "DialogBackgroundKey"); 16 | 17 | /// 18 | /// Resource key of the treeview normal background brush key. 19 | /// 20 | public static readonly ComponentResourceKey TreeViewBackgroundKey = new ComponentResourceKey(typeof(ResourceKeys), "TreeViewBackgroundKey"); 21 | 22 | /// 23 | /// Resource key of the folder browser dialogs normal foreground brush key. 24 | /// 25 | public static readonly ComponentResourceKey DialogForegroundKey = new ComponentResourceKey(typeof(ResourceKeys), "DialogForegroundKey"); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/ViewModels/Messages/IDisplayMessageViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.ViewModels.Messages 2 | { 3 | using System; 4 | 5 | /// 6 | /// Defines an interface for a viewmodel class that can be 7 | /// used to pop-up messages in a UI (without using messageboxes). 8 | /// 9 | public interface IDisplayMessageViewModel : ISetMessageDisplay 10 | { 11 | bool IsErrorMessageAvailable { get; set; } 12 | 13 | string Message { get; set; } 14 | } 15 | 16 | public interface ISetMessageDisplay 17 | { 18 | void SetMessage(string Message); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Views/BookmarkFolderDropDown.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using System.Windows; 7 | using System.Windows.Controls; 8 | using System.Windows.Data; 9 | using System.Windows.Documents; 10 | using System.Windows.Input; 11 | using System.Windows.Media; 12 | using System.Windows.Media.Imaging; 13 | using System.Windows.Navigation; 14 | using System.Windows.Shapes; 15 | 16 | namespace FolderBrowser.Views 17 | { 18 | /// 19 | /// Interaction logic for BookmarkFolderDropDown.xaml 20 | /// 21 | public partial class BookmarkFolderDropDown : UserControl 22 | { 23 | public BookmarkFolderDropDown() 24 | { 25 | InitializeComponent(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Views/BrowseDirectoriesView.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.Views 2 | { 3 | using System.Windows.Controls; 4 | 5 | /// 6 | /// Interaction logic for BrowseDirectoriesView.xaml 7 | /// 8 | public partial class BrowseDirectoriesView : UserControl 9 | { 10 | public BrowseDirectoriesView() 11 | { 12 | InitializeComponent(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Views/DropDownView.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.Views 2 | { 3 | using System.Windows.Controls; 4 | using System.Windows.Controls.Primitives; 5 | 6 | /// 7 | /// Interaction logic for DropDownView.xaml 8 | /// 9 | public partial class DropDownView : UserControl 10 | { 11 | public DropDownView() 12 | { 13 | InitializeComponent(); 14 | } 15 | 16 | /// 17 | /// Make the drop down element resizeable. 18 | /// 19 | /// 20 | /// 21 | private void ResizeGripThumb_DragDelta(object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e) 22 | { 23 | Thumb MyThumb = sender as Thumb; 24 | 25 | // Set the new Width and Height fo Grid, Popup they will inherit 26 | double yAdjust = this.Height + e.VerticalChange; 27 | double xAdjust = this.Width + e.HorizontalChange; 28 | 29 | // Set new Height and Width 30 | if ((xAdjust >= 0) && (yAdjust >= 0)) 31 | { 32 | this.Width = xAdjust; 33 | this.Height = yAdjust; 34 | } 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/Views/FolderBrowserDialogView.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace FolderBrowser.Views 2 | { 3 | using System.Windows.Controls; 4 | 5 | /// 6 | /// Interaction logic for FolderBrowserDialogView.xaml 7 | /// 8 | public partial class FolderBrowserDialogView : UserControl 9 | { 10 | public FolderBrowserDialogView() 11 | { 12 | InitializeComponent(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderBrowser/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderControlsLib/Interfaces/IFolderItemViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace FolderControlsLib.Interfaces 2 | { 3 | using FileSystemModels.Interfaces; 4 | 5 | /// 6 | /// Defines properties and methods of an item that is used to display folder 7 | /// related information in a list like fashion with indentation if possible. 8 | /// (combobox, etc...). 9 | /// 10 | public interface IFolderItemViewModel : IListItemViewModel 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderControlsLib/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace FolderControlsLib.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.5.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderControlsLib/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/FolderControlsLib/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/TestFileSystemModels/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | [assembly: AssemblyTitle("TestFileSystemModels")] 6 | [assembly: AssemblyDescription("")] 7 | [assembly: AssemblyConfiguration("")] 8 | [assembly: AssemblyCompany("")] 9 | [assembly: AssemblyProduct("TestFileSystemModels")] 10 | [assembly: AssemblyCopyright("Copyright © 2018")] 11 | [assembly: AssemblyTrademark("")] 12 | [assembly: AssemblyCulture("")] 13 | 14 | [assembly: ComVisible(false)] 15 | 16 | [assembly: Guid("b0e0dbc0-4f7b-4b85-a1d8-510308ad0ba1")] 17 | 18 | // [assembly: AssemblyVersion("1.0.*")] 19 | [assembly: AssemblyVersion("1.0.0.0")] 20 | [assembly: AssemblyFileVersion("1.0.0.0")] 21 | -------------------------------------------------------------------------------- /source/More_Components/fs3_Components/TestFileSystemModels/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /source/PDF Binder/Components/Doc/DocManager/FileFilterEntry.cs: -------------------------------------------------------------------------------- 1 | namespace Doc.DocManager 2 | { 3 | using Doc.DocManager.Interfaces; 4 | 5 | 6 | internal class FileFilterEntry : IFileFilterEntry 7 | { 8 | #region constructors 9 | /// 10 | /// Class constructor 11 | /// 12 | /// 13 | /// 14 | public FileFilterEntry(string fileFilter 15 | ////, FileOpenDelegate fileOpenMethod 16 | ) 17 | { 18 | this.FileFilter = fileFilter; 19 | //// this.FileOpenMethod = fileOpenMethod; 20 | } 21 | #endregion constructors 22 | 23 | #region properties 24 | public string FileFilter { get; private set; } 25 | 26 | //// public FileOpenDelegate FileOpenMethod { get; private set; } 27 | #endregion properties 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /source/PDF Binder/Components/Doc/DocManager/FileItem.cs: -------------------------------------------------------------------------------- 1 | namespace Doc.DocManager 2 | { 3 | using Interfaces; 4 | 5 | internal class FileItem : IFileItem 6 | { 7 | string _path = string.Empty; 8 | string _filename = string.Empty; 9 | 10 | public FileItem(string path, string filename) 11 | { 12 | _path = path; 13 | _filename = filename; 14 | } 15 | 16 | public string FileName 17 | { 18 | get 19 | { 20 | return _filename; 21 | } 22 | } 23 | 24 | public string Path 25 | { 26 | get 27 | { 28 | return _path; 29 | } 30 | } 31 | 32 | public string PathAndFileName 33 | { 34 | get 35 | { 36 | return System.IO.Path.Combine( _path, _filename); 37 | } 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /source/PDF Binder/Components/Doc/DocManager/Interfaces/IDocumentTypeItem.cs: -------------------------------------------------------------------------------- 1 | namespace Doc.DocManager.Interfaces 2 | { 3 | using System.Collections.Generic; 4 | 5 | /// 6 | /// This interface specifies the data items necessary to descripe a document type 7 | /// in terms of prefered filters, a human readable short description etc. 8 | /// 9 | public interface IDocumentTypeItem 10 | { 11 | /// 12 | /// Gets a list of prefered file extension filter(s) for this document type. 13 | /// eg: "*.*" 14 | /// 15 | List DocFileTypeExtensions { get; } 16 | 17 | /// 18 | /// Gets the description of this document type. 19 | /// eg: 'All Files' 20 | /// 21 | string Description { get; } 22 | 23 | /// 24 | /// Gets the sort priority which can be used to cluster similar 25 | /// document types with a similar priority. 26 | /// 27 | int SortPriority { get; } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /source/PDF Binder/Components/Doc/DocManager/Interfaces/IFileFilterEntries.cs: -------------------------------------------------------------------------------- 1 | namespace Doc.DocManager.Interfaces 2 | { 3 | public interface IFileFilterEntries 4 | { 5 | string GetFilterString(); 6 | 7 | //FileOpenDelegate GetFileOpenMethod(int idx); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /source/PDF Binder/Components/Doc/DocManager/Interfaces/IFileFilterEntry.cs: -------------------------------------------------------------------------------- 1 | namespace Doc.DocManager.Interfaces 2 | { 3 | public interface IFileFilterEntry 4 | { 5 | string FileFilter { get; } 6 | 7 | //// FileOpenDelegate FileOpenMethod { get; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /source/PDF Binder/Components/Doc/DocManager/Interfaces/IFileItem.cs: -------------------------------------------------------------------------------- 1 | namespace Doc.DocManager.Interfaces 2 | { 3 | public interface IFileItem 4 | { 5 | string Path { get; } 6 | 7 | string FileName { get; } 8 | 9 | string PathAndFileName { get; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /source/PDF Binder/Components/Doc/DocumentTypeItem.cs: -------------------------------------------------------------------------------- 1 | namespace Doc 2 | { 3 | using DocManager.Interfaces; 4 | using System.Collections.Generic; 5 | 6 | internal class DocumentTypeItem : IDocumentTypeItem 7 | { 8 | #region fields 9 | #endregion fields 10 | 11 | #region constructors 12 | /// 13 | /// Class constructor 14 | /// 15 | public DocumentTypeItem(string description, List extensions, int sortPriority = 0) 16 | { 17 | this.Description = description; 18 | this.DocFileTypeExtensions = extensions; 19 | this.SortPriority = sortPriority; 20 | } 21 | #endregion constructors 22 | 23 | #region properties 24 | public List DocFileTypeExtensions { get; private set; } 25 | 26 | public string Description { get; private set; } 27 | 28 | public int SortPriority { get; private set; } 29 | #endregion properties 30 | 31 | #region methods 32 | #endregion methods 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /source/PDF Binder/Components/Doc/FileManagerService.cs: -------------------------------------------------------------------------------- 1 | using Doc.DocManager.Interfaces; 2 | 3 | namespace Doc 4 | { 5 | public class FileManagerService 6 | { 7 | #region properties 8 | /// 9 | /// Gets an instance of the MessageBox service component. 10 | /// This component displays message boxes, including stack traces, 11 | /// in an integrated WPF themed manner.. 12 | /// 13 | public static IFileManager Instance 14 | { 15 | get 16 | { 17 | return new DocManager.FileManagerServiceImpl(); 18 | } 19 | } 20 | #endregion properties 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /source/PDF Binder/PDF Binder/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /source/PDF Binder/PDF Binder/App.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | -------------------------------------------------------------------------------- /source/PDF Binder/PDF Binder/Converters/BoolToVisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | namespace PDF_Binder.Converters 2 | { 3 | using System; 4 | using System.Globalization; 5 | using System.Windows; 6 | using System.Windows.Data; 7 | 8 | /// 9 | /// Converts a state enumeration into 10 | /// a visibility state such that unknown states are by default not shown. 11 | /// 12 | [ValueConversion(typeof(bool), typeof(Visibility))] 13 | public class BoolToVisibilityConverter : IValueConverter 14 | { 15 | public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 16 | { 17 | if (value == null) 18 | return Binding.DoNothing; 19 | 20 | if ((value is bool) == false) 21 | return Binding.DoNothing; 22 | 23 | var state = (bool)value; 24 | 25 | if (state == false) 26 | return Visibility.Collapsed; 27 | 28 | return Visibility.Visible; 29 | } 30 | 31 | public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 32 | { 33 | throw new NotImplementedException(); 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /source/PDF Binder/PDF Binder/Converters/StateToVisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | namespace PDF_Binder.Converters 2 | { 3 | using PDFBinderLib; 4 | using System; 5 | using System.Globalization; 6 | using System.Windows; 7 | using System.Windows.Data; 8 | 9 | /// 10 | /// Converts a state enumeration into 11 | /// a visibility state such that unknown states are by default not shown. 12 | /// 13 | [ValueConversion(typeof(PDFBinderLib.PDFTestResult), typeof(Visibility))] 14 | public class StateToVisibilityConverter : IValueConverter 15 | { 16 | public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 17 | { 18 | if (value == null) 19 | return Binding.DoNothing; 20 | 21 | if ((value is PDFTestResult) == false) 22 | return Binding.DoNothing; 23 | 24 | var state = (PDFTestResult)value; 25 | 26 | string typeURL = string.Empty; 27 | 28 | if (state == PDFTestResult.Unknown) 29 | return Visibility.Hidden; 30 | 31 | return Visibility.Visible; 32 | } 33 | 34 | public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 35 | { 36 | throw new NotImplementedException(); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /source/PDF Binder/PDF Binder/MainWindow.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace PDF_Binder 2 | { 3 | using Settings.UserProfile; 4 | 5 | /// 6 | /// Interaction logic for MainWindow.xaml 7 | /// 8 | public partial class MainWindow : MWindowLib.MetroWindow 9 | ,IViewSize // Implements saving and loading/repositioning of Window 10 | { 11 | public MainWindow() 12 | { 13 | this.InitializeComponent(); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /source/PDF Binder/PDF Binder/Models/FBContentDialog/FBContentView.xaml: -------------------------------------------------------------------------------- 1 |  12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |