├── .gitattributes ├── .gitignore ├── KSPModAdmin.Core ├── Config │ ├── AdminConfig.cs │ ├── ConfigHelper.cs │ ├── KSPConfig.cs │ └── xPathConfigReader.cs ├── Constants.cs ├── Controller │ ├── MainController.cs │ ├── ModSelectionController.cs │ └── OptionsController.cs ├── Enums.cs ├── EventDistributor.cs ├── IKSPMAPlugin.cs ├── KSPModAdmin.Core.csproj ├── KSPModAdmin.Core.csproj.user ├── KSPModAdmin.Core_mono.csproj ├── Messages.cs ├── Model │ ├── ConflicDataTreeModel.cs │ ├── ConflictInfoNode.cs │ ├── ICopyModInfo.cs │ ├── ModInfo.cs │ ├── ModNode.cs │ ├── ModSelectionColumnsInfo.cs │ ├── ModSelectionTreeModel.cs │ ├── ModSelectionViewInfo.cs │ └── NoteNode.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── Resources │ ├── DVSplit.cur │ ├── KMA2_48.png │ ├── airplane_checkbox_checked.png │ ├── airplane_delete.png │ ├── airplane_replace.png │ ├── airplane_scroll.png │ ├── anvil.jpg │ ├── arrow_left_blue.png │ ├── arrow_right_blue.png │ ├── bug_red.png │ ├── cc_license.jpg │ ├── checkbox_checked.png │ ├── checkbox_unchecked.png │ ├── checkbox_unknown.png │ ├── colors.png │ ├── component.png │ ├── component_add.png │ ├── component_add_24x24.png │ ├── component_data_delete.png │ ├── component_data_next.png │ ├── component_delete.png │ ├── component_delete_24x24.png │ ├── component_delete_data_24x24.png │ ├── component_earth.png │ ├── component_earth_replace_replace.png │ ├── component_edit.png │ ├── component_edit_info.png │ ├── component_edit_scroll_24x24.png │ ├── component_folder_add.png │ ├── component_folder_gearwheel.png │ ├── component_folder_gearwheel_24x24.png │ ├── component_folder_reset.png │ ├── component_gearwheel.png │ ├── component_gearwheel_24x24.png │ ├── component_into.png │ ├── component_next.png │ ├── component_next_data_24x24.png │ ├── component_next_earth.png │ ├── component_next_earth_24x24.png │ ├── component_options.png │ ├── component_package_replace.png │ ├── component_replace.png │ ├── component_replace_checkbox_checked.png │ ├── component_replace_checkbox_checked_24x24.png │ ├── component_replace_clock.png │ ├── component_replace_clock_24x24.png │ ├── component_replace_earth.png │ ├── component_replace_earth_24x24.png │ ├── component_replace_folder.png │ ├── component_replace_scroll.png │ ├── component_scroll.png │ ├── component_scroll_edit.png │ ├── component_scroll_floppy_disk.png │ ├── component_scroll_next.png │ ├── component_scroll_scroll.png │ ├── component_scroll_scroll_24x24.png │ ├── component_view.png │ ├── component_warning.png │ ├── component_warning_24x24.png │ ├── components.png │ ├── components_checkbox_checked.png │ ├── components_checkbox_checked_24x24.png │ ├── components_checkbox_unchecked.png │ ├── components_checkbox_unchecked_24x24.png │ ├── components_delete.png │ ├── components_delete_24x24.png │ ├── components_find.png │ ├── components_folder_reset.png │ ├── components_folder_view_24x24.png │ ├── components_gearwheel.png │ ├── components_gearwheel_24x24.png │ ├── components_into.png │ ├── components_package_into.png │ ├── components_package_out.png │ ├── components_package_replace.png │ ├── components_package_replace_24x24.png │ ├── components_replace_checkbox_checked.png │ ├── components_replace_checkbox_checked_24x24.png │ ├── components_replace_checkbox_unchecked.png │ ├── components_replace_clock.png │ ├── components_replace_clock_24x24.png │ ├── components_replace_earth.png │ ├── components_replace_earth_24x24.png │ ├── components_scroll_into.png │ ├── components_scroll_out.png │ ├── components_scroll_out1.png │ ├── components_scroll_replace.png │ ├── components_scroll_reset.png │ ├── compress.png │ ├── compress_24x24.png │ ├── compress_replace_folder_16x16.png │ ├── compress_replace_folder_24x24.png │ ├── data_add.png │ ├── data_copy_delete.png │ ├── data_delete.png │ ├── data_floppy_disk.png │ ├── data_floppy_disk_into.png │ ├── data_gearwheel_options.png │ ├── data_options.png │ ├── data_warning_options.png │ ├── delete2.png │ ├── disk_black_data_into.png │ ├── download.png │ ├── earth_checkbox_checked.png │ ├── earth_replace.png │ ├── flag_scotland_add.png │ ├── flag_scotland_delete.png │ ├── folder.png │ ├── folder1.png │ ├── folder_add.png │ ├── folder_add1.png │ ├── folder_delete1.png │ ├── folder_tool.png │ ├── folder_up.png │ ├── folder_view.png │ ├── forum.png │ ├── gears.png │ ├── gears_preferences.png │ ├── gears_preferences_24x24.png │ ├── harddisk.png │ ├── harddisk_floppy_disk_next.png │ ├── help.png │ ├── help_earth.png │ ├── house.png │ ├── kerbal_24x24.png │ ├── loader.gif │ ├── loading_icon │ ├── minus.gif │ ├── new.png │ ├── note_edit1.png │ ├── page.png │ ├── page_add.png │ ├── plus.gif │ ├── refresh.png │ ├── star.png │ ├── stop.png │ └── tick.png ├── Utils │ ├── AVCParser.cs │ ├── ActionKeyManager │ │ ├── ActionKeyManager.cs │ │ ├── Keyboard.cs │ │ └── VirtualKey.cs │ ├── CKAN │ │ ├── CkanArchive.cs │ │ ├── CkanMod.cs │ │ ├── CkanRepoManager.cs │ │ └── Json │ │ │ ├── CkanInstallInfo.cs │ │ │ ├── CkanModInfo.cs │ │ │ ├── CkanRelation.cs │ │ │ ├── CkanRepository.cs │ │ │ ├── CkanResource.cs │ │ │ └── JsonSingleOrArrayConverter.cs │ ├── Controls │ │ ├── FolderSelectionDialog │ │ │ ├── FolderSelectDialog.cs │ │ │ ├── Reflector.cs │ │ │ └── _license │ │ │ │ └── license.txt │ │ ├── ListViewAdv.cs │ │ ├── TabControlEx.cs │ │ ├── TextBoxNumeric.cs │ │ ├── TextBoxNumeric2.cs │ │ ├── ToolStripSpringComboBox.cs │ │ ├── ToolStripSpringTextBox.cs │ │ ├── TreeViewAdv │ │ │ ├── AutoRowHeightLayout.cs │ │ │ ├── ColumnCollection.cs │ │ │ ├── DrawContext.cs │ │ │ ├── DropNodeValidatingEventArgs.cs │ │ │ ├── DropPosition.cs │ │ │ ├── EditorContext.cs │ │ │ ├── Enums.cs │ │ │ ├── FixedRowHeightLayout.cs │ │ │ ├── GifDecoder │ │ │ │ ├── BitmapHelper.cs │ │ │ │ ├── GifDecoder.cs │ │ │ │ ├── NumericTextBox.cs │ │ │ │ ├── PerformanceAnalyzer.cs │ │ │ │ ├── ResourceHelper.cs │ │ │ │ ├── StringCollectionEditor.cs │ │ │ │ ├── TextHelper.cs │ │ │ │ └── TimeCounter.cs │ │ │ ├── Helper │ │ │ │ ├── ColumnData.cs │ │ │ │ ├── NamedTreeColumn.cs │ │ │ │ └── TreeViewAdvColumnHelper.cs │ │ │ ├── IRowLayout.cs │ │ │ ├── IToolTipProvider.cs │ │ │ ├── ITreeModel.cs │ │ │ ├── IncrementalSearch.cs │ │ │ ├── Input │ │ │ │ ├── ClickColumnState.cs │ │ │ │ ├── ColumnState.cs │ │ │ │ ├── InputState.cs │ │ │ │ ├── InputWithControl.cs │ │ │ │ ├── InputWithShift.cs │ │ │ │ ├── NormalInputState.cs │ │ │ │ ├── ReorderColumnState.cs │ │ │ │ └── ResizeColumnState.cs │ │ │ ├── ListModel.cs │ │ │ ├── NativeMethods.cs │ │ │ ├── Node.cs │ │ │ ├── NodeControlInfo.cs │ │ │ ├── NodeControls │ │ │ │ ├── BaseTextControl.cs │ │ │ │ ├── BindableControl.cs │ │ │ │ ├── ClassDiagram.cd │ │ │ │ ├── DrawEventArgs.cs │ │ │ │ ├── EditEventArgs.cs │ │ │ │ ├── EditableControl.cs │ │ │ │ ├── ExpandingIcon.cs │ │ │ │ ├── InteractiveControl.cs │ │ │ │ ├── LabelEventArgs.cs │ │ │ │ ├── NodeCheckBox.cs │ │ │ │ ├── NodeComboBox.cs │ │ │ │ ├── NodeControl.cs │ │ │ │ ├── NodeControlValueEventArgs.cs │ │ │ │ ├── NodeControlsCollection.cs │ │ │ │ ├── NodeDecimalTextBox.cs │ │ │ │ ├── NodeEventArgs.cs │ │ │ │ ├── NodeIcon.cs │ │ │ │ ├── NodeIntegerTextBox.cs │ │ │ │ ├── NodeNumericUpDown.cs │ │ │ │ ├── NodePlusMinus.cs │ │ │ │ ├── NodeStateIcon.cs │ │ │ │ └── NodeTextBox.cs │ │ │ ├── SortedTreeModel.cs │ │ │ ├── Threading │ │ │ │ ├── AbortableThreadPool.cs │ │ │ │ ├── WorkItem.cs │ │ │ │ └── WorkItemStatus.cs │ │ │ ├── TreeColumn.cs │ │ │ ├── TreeColumnCollection.cs │ │ │ ├── TreeColumnEventArgs.cs │ │ │ ├── TreeListAdapter.cs │ │ │ ├── TreeModel.cs │ │ │ ├── TreeModelBase.cs │ │ │ ├── TreeModelEventArgs.cs │ │ │ ├── TreeNodeAdv.cs │ │ │ ├── TreeNodeAdvMouseEventArgs.cs │ │ │ ├── TreePath.cs │ │ │ ├── TreePathEventArgs.cs │ │ │ ├── TreeViewAdv.Designer.cs │ │ │ ├── TreeViewAdv.Draw.cs │ │ │ ├── TreeViewAdv.Editor.cs │ │ │ ├── TreeViewAdv.Input.cs │ │ │ ├── TreeViewAdv.Properties.cs │ │ │ ├── TreeViewAdv.cs │ │ │ ├── TreeViewAdv.resx │ │ │ ├── TreeViewAdvCancelEventArgs.cs │ │ │ ├── TreeViewAdvEventArgs.cs │ │ │ ├── TreeViewRowDrawEventArgs.cs │ │ │ └── _license │ │ │ │ ├── ReleaseNotes.txt │ │ │ │ ├── license.txt │ │ │ │ └── licenseNote.txt │ │ ├── TreeViewEx.cs │ │ └── WebBrowserEx │ │ │ ├── DownloadManager.cs │ │ │ ├── FileDownloadEventArgs.cs │ │ │ ├── Imports.cs │ │ │ └── WebBrowserEx.cs │ ├── KSPPathHelper.cs │ ├── Localization │ │ ├── ControlTranslator.cs │ │ ├── LanguageDictionary.cs │ │ └── Localizer.cs │ ├── Logging │ │ ├── Log.cs │ │ ├── LogEx.cs │ │ └── PerformanceLogger.cs │ ├── Misc │ │ ├── AsyncTask.cs │ │ ├── ExtensionString.cs │ │ ├── Messenger.cs │ │ ├── NativeMethods.cs │ │ ├── PluginLoader.cs │ │ ├── ScreenHelper.cs │ │ ├── VersionComparer.cs │ │ └── VersionHelper.cs │ ├── ModNodeHandler.cs │ ├── ModPackHandler.cs │ ├── ModRegister.cs │ ├── ModZipCreator.cs │ ├── ScanInfo.cs │ ├── SiteHandler │ │ ├── BitbucketHandler.cs │ │ ├── CurseForgeHandler.cs │ │ ├── CurseHandler.cs │ │ ├── GitHubHandler.cs │ │ ├── ISiteHandler.cs │ │ ├── KSPForumHandler.cs │ │ ├── KerbalStuffHandler.cs │ │ ├── SiteHandlerManager.cs │ │ ├── SpacedockHandler.cs │ │ └── xPathConfigs │ │ │ ├── CurseForgeXPaths.cfg │ │ │ └── XPaths.cfg │ └── www │ │ ├── DropBox.cs │ │ ├── GitHub.cs │ │ ├── KSPForum - Kopie.cs │ │ ├── KSPForum.cs │ │ ├── MediaFire.cs │ │ ├── www - Kopie.cs │ │ └── www.cs ├── Views │ ├── IView.cs │ ├── frmAddMod.Designer.cs │ ├── frmAddMod.cs │ ├── frmAddMod.resx │ ├── frmBase.Designer.cs │ ├── frmBase.cs │ ├── frmColumnSelection.Designer.cs │ ├── frmColumnSelection.cs │ ├── frmColumnSelection.resx │ ├── frmConflictSolver.Designer.cs │ ├── frmConflictSolver.cs │ ├── frmConflictSolver.resx │ ├── frmCopyModInfo.Designer.cs │ ├── frmCopyModInfo.cs │ ├── frmCopyModInfo.resx │ ├── frmDestFolderSelection.Designer.cs │ ├── frmDestFolderSelection.cs │ ├── frmDestFolderSelection.resx │ ├── frmEditModInfo.Designer.cs │ ├── frmEditModInfo.cs │ ├── frmEditModInfo.resx │ ├── frmImExport.Designer.cs │ ├── frmImExport.cs │ ├── frmImExport.resx │ ├── frmMain.Designer.cs │ ├── frmMain.cs │ ├── frmMain.resx │ ├── frmSelectDownload.Designer.cs │ ├── frmSelectDownload.cs │ ├── frmSelectDownload.resx │ ├── frmTextDisplayer.Designer.cs │ ├── frmTextDisplayer.cs │ ├── frmTextDisplayer.resx │ ├── frmUpdateDLG.Designer.cs │ ├── frmUpdateDLG.cs │ ├── frmUpdateDLG.resx │ ├── frmWelcome.Designer.cs │ ├── frmWelcome.cs │ ├── frmWelcome.resx │ ├── ucBase.Designer.cs │ ├── ucBase.cs │ ├── ucBase.resx │ ├── ucKSPStartup.Designer.cs │ ├── ucKSPStartup.cs │ ├── ucKSPStartup.resx │ ├── ucModSelection.Designer.cs │ ├── ucModSelection.cs │ ├── ucModSelection.resx │ ├── ucOptions.Designer.cs │ ├── ucOptions.cs │ └── ucOptions.resx └── packages.config ├── KSPModAdmin.Plugin.BackupTab ├── Controller │ └── UcBackupViewController.cs ├── KSPMAPlugin.cs ├── KSPModAdmin.Plugin.BackupTab.csproj ├── KSPModAdmin.Plugin.BackupTab_mono.csproj ├── Languages │ ├── KSPMA.BackupTabPlugin.eng.lang │ ├── KSPMA.BackupTabPlugin.fake.lang │ └── KSPMA.BackupTabPlugin.ger.lang ├── Messages.cs ├── Model │ ├── BackupNode.cs │ └── BackupTreeModel.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── DataSources │ │ └── LanguageEntry.datasource │ ├── Resources.Designer.cs │ └── Resources.resx ├── Resources │ ├── KMA2_24.png │ ├── KMA2_new_24x24.png │ ├── data.png │ ├── data2_delete24x24.png │ ├── data_add.png │ ├── data_add_24x24.png │ ├── data_copy_delete.png │ ├── data_delete.png │ ├── data_delete_24x24.png │ ├── data_floppy_disk.png │ ├── data_floppy_disk_24x24.png │ ├── data_gearwheel.png │ ├── data_gearwheel_new.png │ ├── data_into_floppy_disk_24x24.png │ ├── delete2.png │ ├── disk_black_data_into.png │ ├── disk_blue_out_data_24x24.png │ ├── folder1.png │ ├── folder_view.png │ ├── gear.png │ ├── gear_new.png │ ├── help2.png │ ├── kerbal_24x24.png │ ├── kerbal_new_24x24.png │ ├── loader.gif │ ├── note_edit.png │ ├── note_floppy_disk.png │ ├── note_floppy_disk_16x16.png │ └── refresh.png ├── Views │ ├── UcBackupView.Designer.cs │ ├── UcBackupView.cs │ ├── UcBackupView.resx │ ├── frmEditNote.Designer.cs │ ├── frmEditNote.cs │ └── frmEditNote.resx └── packages.config ├── KSPModAdmin.Plugin.FlagsTab ├── Controller │ └── FlagsViewController.cs ├── KSPMAPlugin.cs ├── KSPModAdmin.Plugin.FlagsTab.csproj ├── KSPModAdmin.Plugin.FlagsTab_mono.csproj ├── Languages │ ├── KSPMA.FlagsTabPlugin.eng.lang │ ├── KSPMA.FlagsTabPlugin.fake.lang │ └── KSPMA.FlagsTabPlugin.ger.lang ├── Messages.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── Resources │ ├── Cant_Display_DDS.png │ ├── KMA2_Flag.png │ ├── flag_scotland.png │ ├── flag_scotland_add_24x24.png │ ├── flag_scotland_delete_24x24.png │ ├── loader.gif │ └── refresh.png └── Views │ ├── ucFlagsView.Designer.cs │ ├── ucFlagsView.cs │ └── ucFlagsView.resx ├── KSPModAdmin.Plugin.ModBrowserTab ├── Controller │ ├── ModBrowserCKANController.cs │ ├── ModBrowserKerbalStuffControlle.cs │ └── ModBrowserViewController.cs ├── GlobalSuppressions.cs ├── IKSPMAModBrowser.cs ├── KSPMAPlugin.cs ├── KSPModAdmin.Plugin.ModBrowserTab.csproj ├── Languages │ ├── KSPMA.ModBrowserTabPlugin.eng.lang │ ├── KSPMA.ModBrowserTabPlugin.fake.lang │ └── KSPMA.ModBrowserTabPlugin.ger.lang ├── Messages.cs ├── ModBrowserRegister.cs ├── Model │ ├── CkanNode.cs │ ├── CkanTreeModel.cs │ ├── KerbalStuffNode.cs │ └── KerbalStuffTreeModel.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── DataSources │ │ └── LanguageEntry.datasource │ ├── Resources.Designer.cs │ └── Resources.resx ├── Resources │ ├── component.png │ ├── component_add.png │ ├── component_gearwheel_24x24.png │ ├── components_gearwheel_24x24.png │ ├── earth_window.png │ ├── folder.png │ ├── folder_add.png │ ├── help2.png │ ├── loader.gif │ ├── navigate_beginning.png │ ├── navigate_end.png │ ├── navigate_left.png │ ├── navigate_right.png │ ├── refresh.png │ ├── refresh_24x24.png │ └── replace_24x24.png └── Views │ ├── UcModBrowserKerbalStuff.cs │ ├── ucModBrowserCKAN.Designer.cs │ ├── ucModBrowserCKAN.cs │ ├── ucModBrowserCKAN.resx │ ├── ucModBrowserKerbalStuff.Designer.cs │ ├── ucModBrowserKerbalStuff.resx │ ├── ucModBrowserView.Designer.cs │ ├── ucModBrowserView.cs │ └── ucModBrowserView.resx ├── KSPModAdmin.Plugin.PartsAndCraftsTab ├── Controller │ ├── CraftsTabViewController.cs │ └── PartsTabViewController.cs ├── Helper │ └── CfgFileHelper.cs ├── KSPMAPlugin.cs ├── KSPModAdmin.Plugin.PartsAndCraftsTab.csproj ├── KSPModAdmin.Plugin.PartsAndCraftsTab_mono.csproj ├── Languages │ ├── KSPMA.PartsAndCraftsTabPlugin.eng.lang │ ├── KSPMA.PartsAndCraftsTabPlugin.fake.lang │ └── KSPMA.PartsAndCraftsTabPlugin.ger.lang ├── Messages.cs ├── Model │ ├── CraftNode.cs │ ├── CraftsTreeModel.cs │ ├── PartNode.cs │ └── PartsTreeModel.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── DataSources │ │ └── LanguageEntry.datasource │ ├── Resources.Designer.cs │ └── Resources.resx ├── Resources │ ├── airplane.png │ ├── airplane_24x24.png │ ├── airplane_24x24_checkbox_checked.png │ ├── airplane_24x24_delete.png │ ├── airplane_24x24_replace.png │ ├── airplane_24x24_scroll.png │ ├── airplane_checkbox_checked.png │ ├── airplane_delete.png │ ├── airplane_replace.png │ ├── airplane_scroll.png │ ├── brick.png │ ├── brick_24x24.png │ ├── brick_delete.png │ ├── brick_delete_24x24.png │ ├── brick_edit.png │ ├── brick_edit_24x24.png │ ├── brick_folder_24x24.png │ ├── brick_replace.png │ ├── brick_replace_24x24.png │ ├── bricks.png │ ├── bricks_24x24.png │ ├── delete2.png │ ├── help2.png │ ├── loader.gif │ ├── refresh.png │ ├── refresh_24x24.png │ └── tick.png └── Views │ ├── frmPartEditor.Designer.cs │ ├── frmPartEditor.cs │ ├── frmPartEditor.resx │ ├── ucCraftsTabView.Designer.cs │ ├── ucCraftsTabView.cs │ ├── ucCraftsTabView.resx │ ├── ucPartsTabView.Designer.cs │ ├── ucPartsTabView.cs │ └── ucPartsTabView.resx ├── KSPModAdmin.Plugin.Template ├── Controller │ └── PluginViewController.cs ├── KSPMAPlugin.cs ├── KSPModAdmin.Plugin.Template.csproj ├── KSPModAdmin.Plugin.Template_mono.csproj ├── Languages │ ├── KSPMA.TemplatePlugin.eng.lang │ └── KSPMA.TemplatePlugin.fake.lang ├── Messages.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── DataSources │ │ └── LanguageEntry.datasource │ ├── Resources.Designer.cs │ └── Resources.resx ├── Resources │ └── help2.png └── Views │ ├── ucPluginView.Designer.cs │ ├── ucPluginView.cs │ └── ucPluginView.resx ├── KSPModAdmin.Plugin.Translation.Executable ├── App.config ├── KSPModAdmin.Plugin.Translation.Executable.csproj ├── KSPModAdmin.Plugin.Translation.Executable_mono.csproj ├── Program.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── frmMain.Designer.cs ├── frmMain.cs └── frmMain.resx ├── KSPModAdmin.Plugin.Translation ├── KSPMATranslationPlugin.cs ├── KSPModAdmin.Plugin.Translation.csproj ├── KSPModAdmin.Plugin.Translation_mono.csproj ├── LanguageEntry.cs ├── LanguageFileContent.cs ├── LanguageSelectInfo.cs ├── Languages │ ├── KSPMA.TranslationPlugin.eng.lang │ ├── KSPMA.TranslationPlugin.fake.lang │ └── KSPMA.TranslationPlugin.ger.lang ├── Messages.cs ├── Properties │ ├── AssemblyInfo.cs │ ├── DataSources │ │ └── LanguageEntry.datasource │ ├── Resources.Designer.cs │ └── Resources.resx ├── Resources │ ├── disk_blue.png │ ├── pencil2.png │ ├── pencil2_delete.png │ └── text.png ├── TranslationController.cs ├── ucTranslationView.Designer.cs ├── ucTranslationView.cs └── ucTranslationView.resx ├── KSPModAdmin.UnitTests ├── CorseForgeParserUnitTest.cs ├── GitHubParserUnitTest.cs ├── KSPModAdmin.UnitTests.csproj ├── Properties │ └── AssemblyInfo.cs ├── SpacedockParserUnitTest.cs └── packages.config ├── KSPModAdmin.Updater ├── KSPModAdmin.Updater.csproj ├── KSPModAdmin.Updater.csproj.user ├── KSPModAdmin.Updater_mono.csproj ├── Properties │ └── AssemblyInfo.cs ├── _main.cs ├── app.config └── packages.config ├── KSPModAdmin.sln ├── KSPModAdmin ├── App.config ├── KSPMA2.ico ├── KSPModAdmin.csproj ├── KSPModAdmin.csproj.user ├── KSPModAdmin_mono.csproj ├── Languages │ ├── KSPMA.eng.lang │ ├── KSPMA.fake.lang │ ├── KSPMA.ger.lang │ ├── KSPMA.ital.lang │ └── KSPMA.rus.lang ├── Pics │ └── KSPMA Icon │ │ ├── Icons │ │ ├── KMA2_16.ico │ │ ├── KMA2_24.ico │ │ ├── KMA2_256.ico │ │ ├── KMA2_32.ico │ │ ├── KMA2_48.ico │ │ └── KSPMA2.ico │ │ ├── KMA_Vectors.ai │ │ ├── KMA_and_KMA2_icon.psd │ │ └── PNGs │ │ ├── KMA2_128.png │ │ ├── KMA2_16.png │ │ ├── KMA2_24.png │ │ ├── KMA2_256.png │ │ ├── KMA2_32.png │ │ └── KMA2_48.png ├── Properties │ ├── AssemblyInfo.cs │ ├── Resources.Designer.cs │ ├── Resources.resx │ ├── Settings.Designer.cs │ └── Settings.settings ├── Resources │ ├── components.png │ ├── components_tool_48x48.ico │ └── gears.png ├── _main.cs └── docs │ ├── HowTo_BBCode.txt │ ├── Licenses │ ├── FolderSelectionDialogLicense.txt │ └── TreeViewAdvLicense.txt │ ├── ReadMe.txt │ └── ToDo.txt ├── KSPModAdmin_mono.sln ├── Settings.StyleCop └── packages └── repositories.config /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows image file caches 2 | Thumbs.db 3 | ehthumbs.db 4 | 5 | # Folder config file 6 | Desktop.ini 7 | 8 | # Recycle Bin used on file shares 9 | $RECYCLE.BIN/ 10 | 11 | # Windows Installer files 12 | *.cab 13 | *.msi 14 | *.msm 15 | *.msp 16 | 17 | # ========================= 18 | # Operating System Files 19 | # ========================= 20 | 21 | # OSX 22 | # ========================= 23 | 24 | .DS_Store 25 | .AppleDouble 26 | .LSOverride 27 | 28 | # Icon must end with two \r 29 | Icon 30 | 31 | 32 | # Thumbnails 33 | ._* 34 | 35 | # Files that might appear on external disk 36 | .Spotlight-V100 37 | .Trashes 38 | 39 | # Directories potentially created on remote AFP share 40 | .AppleDB 41 | .AppleDesktop 42 | Network Trash Folder 43 | Temporary Items 44 | .apdisk 45 | 46 | # no bin or obj folders 47 | **/bin 48 | **/obj 49 | 50 | # no *.suo files 51 | *.suo 52 | 53 | # no *.user files 54 | *.user 55 | 56 | # no StyleCop.Cache files 57 | StyleCop.Cache 58 | 59 | # no _pics folder 60 | **/_pics 61 | 62 | # no _Releases folder 63 | **/_Releases 64 | **/_Releases/KSPModAdmin/lang 65 | **/_Releases/KSPModAdmin/Plugins 66 | 67 | #other ignores 68 | packages/HtmlAgilityPack.1.4.9 69 | packages/Newtonsoft.Json.6.0.6 70 | packages/sharpcompress.0.10.3 71 | packages/StyleCop.4.7.49.0 72 | packages/StyleCop.MSBuild.4.7.49.1 73 | /.project 74 | /KSPModAdmin_mono.userprefs 75 | /.vs 76 | 77 | packages/ 78 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Config/xPathConfigReader.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace KSPModAdmin.Core.Config 8 | { 9 | public class xPathConfigReader 10 | { 11 | public xPathConfigReader() 12 | { } 13 | 14 | public static Dictionary Read(string configFileContent) 15 | { 16 | var result = new Dictionary(); 17 | 18 | var rows = configFileContent.Replace('\r', ' ').Split('\n'); 19 | 20 | foreach (var row in rows) 21 | { 22 | if (string.IsNullOrEmpty(row.Trim())) 23 | continue; 24 | 25 | var index = row.IndexOf('='); 26 | var key = row.Substring(0, index).Trim(); 27 | var value = row.Substring(index+1).Trim(); 28 | 29 | result.Add(key, value); 30 | } 31 | 32 | return result; 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/KSPModAdmin.Core.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ShowAllFiles 5 | 6 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Model/ICopyModInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace KSPModAdmin.Core.Model 4 | { 5 | /// 6 | /// Interface for ModNodeHandler.TryCopyDestToMatchingNodes. 7 | /// 8 | public interface ICopyModInfo 9 | { 10 | /// 11 | /// Gets flat list of all file nodes this tree containing. 12 | /// 13 | /// A flat list of all file nodes this tree containing. 14 | List GetAllFileNodesAsICopyModInfo(); 15 | 16 | /// 17 | /// Gets the full path this node within the tree. 18 | /// 19 | /// The full path this node within the tree. 20 | string GetFullTreePath(); 21 | 22 | /// 23 | /// Gets the parent node. 24 | /// 25 | /// The parent node. 26 | ICopyModInfo GetParent(); 27 | 28 | /// 29 | /// Gets the root node of this node (top most parent). 30 | /// 31 | /// The root node of this node (top most parent). 32 | ICopyModInfo GetRoot(); 33 | 34 | /// 35 | /// Gets the destination for this file. 36 | /// 37 | string Destination { get; set; } 38 | 39 | /// 40 | /// Gets the checked state of the mod. 41 | /// 42 | bool Checked { get; set; } 43 | 44 | /// 45 | /// Gets the flag if one of the childes is checked. 46 | /// 47 | bool HasCheckedChilds { get; } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Model/ModSelectionViewInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace KSPModAdmin.Core.Model 4 | { 5 | /// 6 | /// Class that holds ModSelectionView related informations. 7 | /// 8 | public class ModSelectionViewInfo 9 | { 10 | /// 11 | /// The position of the splitter from the SlipControl. 12 | /// 13 | public double ModInfosSplitterPos { get { return mModInfosSplitterPos; } set { mModInfosSplitterPos = value; } } 14 | private double mModInfosSplitterPos = 0.0d; 15 | 16 | /// 17 | /// List of width of all columns. 18 | /// 19 | public List ModInfosColumnWidths { get { return mModInfosColumnWidths; } set { mModInfosColumnWidths = value; } } 20 | private List mModInfosColumnWidths = new List(); 21 | 22 | /// 23 | /// Informations of the ModSelection columns. 24 | /// 25 | public ModSelectionColumnsInfo ModSelectionColumnsInfo { get; set; } 26 | 27 | /// 28 | /// Flag to determine if this object is empty. 29 | /// 30 | public bool IsEmpty { get { return (ModInfosSplitterPos == 0.0d && ModInfosColumnWidths.Count == 0 && ModSelectionColumnsInfo == null); } } 31 | } 32 | } -------------------------------------------------------------------------------- /KSPModAdmin.Core/Model/NoteNode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace KSPModAdmin.Core.Model 5 | { 6 | /// 7 | /// Representation of a TreeNode with a note. 8 | /// 9 | [Serializable] 10 | public class NoteNode : TreeNode 11 | { 12 | /// 13 | /// The identifier of the Node. 14 | /// 15 | public string Key { get { return base.Name; } set { base.Name = value; } } 16 | 17 | /// 18 | /// The displayed text for the Node. 19 | /// 20 | public new string Name { get { return Text; } set { Text = value; } } 21 | 22 | /// 23 | /// The note of the Node. 24 | /// 25 | public string Note { get; set; } 26 | 27 | 28 | /// 29 | /// Creates a instance of the NoteNode. 30 | /// 31 | public NoteNode(string key, string name, string note) 32 | { 33 | Key = key; 34 | Name = name; 35 | Note = note; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("KSPModAdmin.Core")] 9 | [assembly: AssemblyDescription("This dll contains the core functionality fot KSP Mod Admin.")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("KSPModAdmin.Core")] 13 | [assembly: AssemblyCopyright("Copyright © 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("63da1aff-8e8e-479f-ba22-09f48448d1da")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/DVSplit.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/DVSplit.cur -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/KMA2_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/KMA2_48.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/airplane_checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/airplane_checkbox_checked.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/airplane_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/airplane_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/airplane_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/airplane_replace.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/airplane_scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/airplane_scroll.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/anvil.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/anvil.jpg -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/arrow_left_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/arrow_left_blue.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/arrow_right_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/arrow_right_blue.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/bug_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/bug_red.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/cc_license.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/cc_license.jpg -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/checkbox_checked.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/checkbox_unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/checkbox_unchecked.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/checkbox_unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/checkbox_unknown.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/colors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/colors.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_add.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_add_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_add_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_data_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_data_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_data_next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_data_next.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_delete_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_delete_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_delete_data_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_delete_data_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_earth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_earth.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_earth_replace_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_earth_replace_replace.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_edit.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_edit_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_edit_info.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_edit_scroll_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_edit_scroll_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_folder_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_folder_add.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_folder_gearwheel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_folder_gearwheel.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_folder_gearwheel_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_folder_gearwheel_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_folder_reset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_folder_reset.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_gearwheel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_gearwheel.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_gearwheel_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_gearwheel_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_into.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_into.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_next.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_next_data_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_next_data_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_next_earth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_next_earth.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_next_earth_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_next_earth_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_options.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_package_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_package_replace.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_replace.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_replace_checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_replace_checkbox_checked.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_replace_checkbox_checked_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_replace_checkbox_checked_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_replace_clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_replace_clock.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_replace_clock_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_replace_clock_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_replace_earth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_replace_earth.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_replace_earth_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_replace_earth_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_replace_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_replace_folder.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_replace_scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_replace_scroll.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_scroll.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_scroll_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_scroll_edit.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_scroll_floppy_disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_scroll_floppy_disk.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_scroll_next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_scroll_next.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_scroll_scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_scroll_scroll.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_scroll_scroll_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_scroll_scroll_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_view.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_warning.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/component_warning_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/component_warning_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_checkbox_checked.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_checkbox_checked_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_checkbox_checked_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_checkbox_unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_checkbox_unchecked.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_checkbox_unchecked_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_checkbox_unchecked_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_delete_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_delete_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_find.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_find.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_folder_reset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_folder_reset.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_folder_view_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_folder_view_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_gearwheel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_gearwheel.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_gearwheel_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_gearwheel_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_into.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_into.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_package_into.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_package_into.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_package_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_package_out.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_package_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_package_replace.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_package_replace_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_package_replace_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_replace_checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_replace_checkbox_checked.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_replace_checkbox_checked_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_replace_checkbox_checked_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_replace_checkbox_unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_replace_checkbox_unchecked.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_replace_clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_replace_clock.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_replace_clock_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_replace_clock_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_replace_earth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_replace_earth.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_replace_earth_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_replace_earth_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_scroll_into.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_scroll_into.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_scroll_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_scroll_out.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_scroll_out1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_scroll_out1.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_scroll_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_scroll_replace.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/components_scroll_reset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/components_scroll_reset.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/compress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/compress.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/compress_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/compress_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/compress_replace_folder_16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/compress_replace_folder_16x16.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/compress_replace_folder_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/compress_replace_folder_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/data_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/data_add.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/data_copy_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/data_copy_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/data_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/data_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/data_floppy_disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/data_floppy_disk.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/data_floppy_disk_into.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/data_floppy_disk_into.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/data_gearwheel_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/data_gearwheel_options.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/data_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/data_options.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/data_warning_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/data_warning_options.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/delete2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/delete2.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/disk_black_data_into.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/disk_black_data_into.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/download.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/earth_checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/earth_checkbox_checked.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/earth_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/earth_replace.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/flag_scotland_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/flag_scotland_add.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/flag_scotland_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/flag_scotland_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/folder.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/folder1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/folder1.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/folder_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/folder_add.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/folder_add1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/folder_add1.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/folder_delete1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/folder_delete1.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/folder_tool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/folder_tool.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/folder_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/folder_up.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/folder_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/folder_view.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/forum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/forum.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/gears.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/gears.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/gears_preferences.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/gears_preferences.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/gears_preferences_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/gears_preferences_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/harddisk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/harddisk.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/harddisk_floppy_disk_next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/harddisk_floppy_disk_next.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/help.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/help_earth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/help_earth.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/house.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/kerbal_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/kerbal_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/loader.gif -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/loading_icon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/loading_icon -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/minus.gif -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/new.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/note_edit1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/note_edit1.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/page.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/page_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/page_add.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/plus.gif -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/refresh.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/star.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/stop.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Resources/tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Core/Resources/tick.png -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/CKAN/CkanArchive.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace KSPMODAdmin.Core.Utils.Ckan 4 | { 5 | /// 6 | /// Class that contains all information from a Ckan Repository archive. 7 | /// 8 | public class CkanArchive 9 | { 10 | /// 11 | /// The CKAN Repository information from which this Archive comes from. 12 | /// 13 | public CkanRepository Repository { get; set; } 14 | 15 | /// 16 | /// The full path to the CKAN Repository archive. 17 | /// 18 | public string FullPath { get; set; } 19 | 20 | /// 21 | /// A List of all Mods that this CKAN Repository Archive contains. 22 | /// 23 | public Dictionary Mods { get; set; } 24 | 25 | /// 26 | /// Creates a instance of the class CkanArchive. 27 | /// 28 | public CkanArchive() 29 | { 30 | Mods = new Dictionary(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/CKAN/CkanMod.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace KSPMODAdmin.Core.Utils.Ckan 4 | { 5 | /// 6 | /// Class that represents a mod entry in a CKAN Repository archive. 7 | /// 8 | public class CkanMod 9 | { 10 | /// 11 | /// Name of the mod. 12 | /// 13 | public string Name { get; set; } 14 | 15 | /// 16 | /// The all known CKAN ModInfos for this mod. 17 | /// 18 | public List ModInfos { get; set; } 19 | 20 | /// 21 | /// Path to the CKAN Repository archive. 22 | /// 23 | public string ArchivePath { get; set; } 24 | 25 | /// 26 | /// Creates a new instance of the class CkanMod. 27 | /// 28 | public CkanMod() 29 | { 30 | ModInfos = new List(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/CKAN/Json/CkanInstallInfo.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System.Collections.Generic; 3 | using Newtonsoft.Json; 4 | 5 | namespace KSPMODAdmin.Core.Utils.Ckan 6 | { 7 | public class CkanInstallInfo 8 | { 9 | public string file = string.Empty; 10 | public string find = string.Empty; 11 | public string install_to = string.Empty; 12 | [JsonConverter(typeof(JsonSingleOrArrayConverter))] 13 | public List filter = new List(); 14 | [JsonConverter(typeof(JsonSingleOrArrayConverter))] 15 | public List filter_regexp = new List(); 16 | } 17 | } -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/CKAN/Json/CkanModInfo.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Collections.Generic; 4 | using Newtonsoft.Json; 5 | 6 | namespace KSPMODAdmin.Core.Utils.Ckan 7 | { 8 | public class CkanModInfo 9 | { 10 | [JsonIgnore] 11 | public CkanMod Mod { get; set; } 12 | 13 | public string spec_version = string.Empty; 14 | public string name = string.Empty; 15 | public string @abstract = string.Empty; 16 | public string identifier = string.Empty; 17 | public Uri download; 18 | public string license = string.Empty; 19 | public string version = string.Empty; 20 | public uint epoch = 0; 21 | public string mod_version = string.Empty; 22 | 23 | public CkanInstallInfo[] install; 24 | 25 | public string comment = string.Empty; 26 | [JsonConverter(typeof(JsonSingleOrArrayConverter))] 27 | public List author = new List(); 28 | public string description = string.Empty; 29 | public string release_status = string.Empty; 30 | public string ksp_version = string.Empty; 31 | public string ksp_version_min = string.Empty; 32 | public string ksp_version_max = string.Empty; 33 | 34 | public CkanResource resources; 35 | public CkanRelation[] depands; 36 | public CkanRelation[] recommends; 37 | public CkanRelation[] suggests; 38 | public CkanRelation[] conflicts; 39 | 40 | public string download_size = string.Empty; 41 | } 42 | } -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/CKAN/Json/CkanRelation.cs: -------------------------------------------------------------------------------- 1 | // 2 | 3 | namespace KSPMODAdmin.Core.Utils.Ckan 4 | { 5 | public class CkanRelation 6 | { 7 | public string name = string.Empty; 8 | public string version = string.Empty; 9 | public string min_version = string.Empty; 10 | public string max_version = string.Empty; 11 | } 12 | } -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/CKAN/Json/CkanRepository.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Diagnostics.CodeAnalysis; 4 | 5 | namespace KSPMODAdmin.Core.Utils.Ckan 6 | { 7 | /// 8 | /// Class that contains the CKAN Repository infos. 9 | /// 10 | public class CkanRepository 11 | { 12 | public string name = string.Empty; 13 | public Uri uri; 14 | 15 | public override string ToString() 16 | { 17 | return String.Format("{0} ({1})", name, uri); 18 | } 19 | 20 | public static CkanRepository GitHubRepository 21 | { 22 | get { return new CkanRepository() { name = "GitHub", uri = CkanRepoManager.DefaultRepoURL }; } 23 | } 24 | } 25 | 26 | /// 27 | /// Class that contains all available CKAN Repositories. 28 | /// 29 | public struct CkanRepositories 30 | { 31 | public CkanRepository[] repositories; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/CKAN/Json/CkanResource.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | 4 | namespace KSPMODAdmin.Core.Utils.Ckan 5 | { 6 | public class CkanResource 7 | { 8 | public Uri homepage; 9 | public Uri bugtracker; 10 | public Uri license; 11 | public Uri ci; 12 | public Uri kerbalstuff; 13 | public Uri manual; 14 | } 15 | } -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/FolderSelectionDialog/_license/license.txt: -------------------------------------------------------------------------------- 1 | I have found the FolderSelectionDialog and the Reflector classes on this Blog: 2 | http://www.lyquidity.com/devblog/?p=136 3 | 4 | Download the source code here: 5 | http://s3downloads.lyquidity.com/FolderSelectDialog/FolderSelectDialog.zip 6 | 7 | 8 | There’s no license as such as you are free to take and do with the code what you will. 9 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/ColumnCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Collections.ObjectModel; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 7 | { 8 | /*internal class ColumnCollection: Collection 9 | { 10 | public int TotalWidth 11 | { 12 | get 13 | { 14 | int res = 0; 15 | foreach (Column c in Items) 16 | res += c.Width; 17 | return res; 18 | } 19 | } 20 | }*/ 21 | } 22 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/DrawContext.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Drawing; 5 | using KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls; 6 | 7 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 8 | { 9 | public struct DrawContext 10 | { 11 | private Graphics _graphics; 12 | public Graphics Graphics 13 | { 14 | get { return _graphics; } 15 | set { _graphics = value; } 16 | } 17 | 18 | private Rectangle _bounds; 19 | public Rectangle Bounds 20 | { 21 | get { return _bounds; } 22 | set { _bounds = value; } 23 | } 24 | 25 | private Font _font; 26 | public Font Font 27 | { 28 | get { return _font; } 29 | set { _font = value; } 30 | } 31 | 32 | private DrawSelectionMode _drawSelection; 33 | public DrawSelectionMode DrawSelection 34 | { 35 | get { return _drawSelection; } 36 | set { _drawSelection = value; } 37 | } 38 | 39 | private bool _drawFocus; 40 | public bool DrawFocus 41 | { 42 | get { return _drawFocus; } 43 | set { _drawFocus = value; } 44 | } 45 | 46 | private NodeControl _currentEditorOwner; 47 | public NodeControl CurrentEditorOwner 48 | { 49 | get { return _currentEditorOwner; } 50 | set { _currentEditorOwner = value; } 51 | } 52 | 53 | private bool _enabled; 54 | public bool Enabled 55 | { 56 | get { return _enabled; } 57 | set { _enabled = value; } 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/DropNodeValidatingEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Drawing; 3 | 4 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 5 | { 6 | public class DropNodeValidatingEventArgs : EventArgs 7 | { 8 | Point _point; 9 | TreeNodeAdv _node; 10 | 11 | public DropNodeValidatingEventArgs(Point point, TreeNodeAdv node) 12 | { 13 | _point = point; 14 | _node = node; 15 | } 16 | 17 | public Point Point 18 | { 19 | get { return _point; } 20 | } 21 | 22 | public TreeNodeAdv Node 23 | { 24 | get { return _node; } 25 | set { _node = value; } 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/DropPosition.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | public struct DropPosition 8 | { 9 | private TreeNodeAdv _node; 10 | public TreeNodeAdv Node 11 | { 12 | get { return _node; } 13 | set { _node = value; } 14 | } 15 | 16 | private NodePosition _position; 17 | public NodePosition Position 18 | { 19 | get { return _position; } 20 | set { _position = value; } 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/EditorContext.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Windows.Forms; 5 | using System.Drawing; 6 | using KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls; 7 | 8 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 9 | { 10 | public struct EditorContext 11 | { 12 | private TreeNodeAdv _currentNode; 13 | public TreeNodeAdv CurrentNode 14 | { 15 | get { return _currentNode; } 16 | set { _currentNode = value; } 17 | } 18 | 19 | private Control _editor; 20 | public Control Editor 21 | { 22 | get { return _editor; } 23 | set { _editor = value; } 24 | } 25 | 26 | private NodeControl _owner; 27 | public NodeControl Owner 28 | { 29 | get { return _owner; } 30 | set { _owner = value; } 31 | } 32 | 33 | private Rectangle _bounds; 34 | public Rectangle Bounds 35 | { 36 | get { return _bounds; } 37 | set { _bounds = value; } 38 | } 39 | 40 | private DrawContext _drawContext; 41 | public DrawContext DrawContext 42 | { 43 | get { return _drawContext; } 44 | set { _drawContext = value; } 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/Enums.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | public enum DrawSelectionMode 8 | { 9 | None, Active, Inactive, FullRowSelect 10 | } 11 | 12 | public enum TreeSelectionMode 13 | { 14 | Single, Multi, MultiSameParent 15 | } 16 | 17 | public enum NodePosition 18 | { 19 | Inside, Before, After 20 | } 21 | 22 | public enum VerticalAlignment 23 | { 24 | Top, Bottom, Center 25 | } 26 | 27 | public enum IncrementalSearchMode 28 | { 29 | None, Standard, Continuous 30 | } 31 | 32 | [Flags] 33 | public enum GridLineStyle 34 | { 35 | None = 0, 36 | Horizontal = 1, 37 | Vertical = 2, 38 | HorizontalAndVertical = 3 39 | } 40 | 41 | public enum ImageScaleMode 42 | { 43 | /// 44 | /// Don't scale 45 | /// 46 | Clip, 47 | /// 48 | /// Scales image to fit the display rectangle, aspect ratio is not fixed. 49 | /// 50 | Fit, 51 | /// 52 | /// Scales image down if it is larger than display rectangle, taking aspect ratio into account 53 | /// 54 | ScaleDown, 55 | /// 56 | /// Scales image up if it is smaller than display rectangle, taking aspect ratio into account 57 | /// 58 | ScaleUp, 59 | /// 60 | /// Scales image to match the display rectangle, taking aspect ratio into account 61 | /// 62 | AlwaysScale, 63 | 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/FixedRowHeightLayout.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Drawing; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 7 | { 8 | internal class FixedRowHeightLayout : IRowLayout 9 | { 10 | private TreeViewAdv _treeView; 11 | 12 | public FixedRowHeightLayout(TreeViewAdv treeView, int rowHeight) 13 | { 14 | _treeView = treeView; 15 | PreferredRowHeight = rowHeight; 16 | } 17 | 18 | private int _rowHeight; 19 | public int PreferredRowHeight 20 | { 21 | get { return _rowHeight; } 22 | set { _rowHeight = value; } 23 | } 24 | 25 | public Rectangle GetRowBounds(int rowNo) 26 | { 27 | return new Rectangle(0, rowNo * _rowHeight, 0, _rowHeight); 28 | } 29 | 30 | public int PageRowCount 31 | { 32 | get 33 | { 34 | return Math.Max((_treeView.DisplayRectangle.Height - _treeView.ColumnHeaderHeight) / _rowHeight, 0); 35 | } 36 | } 37 | 38 | public int CurrentPageSize 39 | { 40 | get 41 | { 42 | return PageRowCount; 43 | } 44 | } 45 | 46 | public int GetRowAt(Point point) 47 | { 48 | point = new Point(point.X, point.Y + (_treeView.FirstVisibleRow * _rowHeight) - _treeView.ColumnHeaderHeight); 49 | return point.Y / _rowHeight; 50 | } 51 | 52 | public int GetFirstRow(int lastPageRow) 53 | { 54 | return Math.Max(0, lastPageRow - PageRowCount + 1); 55 | } 56 | 57 | public void ClearCache() 58 | { 59 | } 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/GifDecoder/BitmapHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Drawing; 5 | using System.Runtime.InteropServices; 6 | using System.Drawing.Imaging; 7 | 8 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls 9 | { 10 | public static class BitmapHelper 11 | { 12 | [StructLayout(LayoutKind.Sequential)] 13 | private struct PixelData 14 | { 15 | public byte B; 16 | public byte G; 17 | public byte R; 18 | public byte A; 19 | } 20 | 21 | public static void SetAlphaChanelValue(Bitmap image, byte value) 22 | { 23 | if (image == null) 24 | throw new ArgumentNullException("image"); 25 | if (image.PixelFormat != PixelFormat.Format32bppArgb) 26 | throw new ArgumentException("Wrong PixelFormat"); 27 | 28 | BitmapData bitmapData = image.LockBits(new Rectangle(0, 0, image.Width, image.Height), 29 | ImageLockMode.ReadWrite, PixelFormat.Format32bppArgb); 30 | unsafe 31 | { 32 | PixelData* pPixel = (PixelData*)bitmapData.Scan0; 33 | for (int i = 0; i < bitmapData.Height; i++) 34 | { 35 | for (int j = 0; j < bitmapData.Width; j++) 36 | { 37 | pPixel->A = value; 38 | pPixel++; 39 | } 40 | pPixel += bitmapData.Stride - (bitmapData.Width * 4); 41 | } 42 | } 43 | image.UnlockBits(bitmapData); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/GifDecoder/ResourceHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.Reflection; 4 | using System.Windows.Forms; 5 | using System.Collections.Generic; 6 | using System.Text; 7 | 8 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls 9 | { 10 | public static class ResourceHelper 11 | { 12 | // VSpilt Cursor with Innerline (symbolisize hidden column) 13 | private static Cursor _dVSplitCursor = GetCursor(KSPModAdmin.Core.Properties.Resources.DVSplit); 14 | public static Cursor DVSplitCursor 15 | { 16 | get { return _dVSplitCursor; } 17 | } 18 | 19 | private static GifDecoder _loadingIcon = GetGifDecoder(KSPModAdmin.Core.Properties.Resources.loading_icon); 20 | public static GifDecoder LoadingIcon 21 | { 22 | get { return _loadingIcon; } 23 | } 24 | 25 | /// 26 | /// Help function to convert byte[] from resource into Cursor Type 27 | /// 28 | /// 29 | /// 30 | private static Cursor GetCursor(byte[] data) 31 | { 32 | using (MemoryStream s = new MemoryStream(data)) 33 | return new Cursor(s); 34 | } 35 | 36 | /// 37 | /// Help function to convert byte[] from resource into GifDecoder Type 38 | /// 39 | /// 40 | /// 41 | private static GifDecoder GetGifDecoder(byte[] data) 42 | { 43 | using (MemoryStream ms = new MemoryStream(data)) 44 | return new GifDecoder(ms, true); 45 | } 46 | 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/GifDecoder/StringCollectionEditor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.ComponentModel.Design; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls 7 | { 8 | public class StringCollectionEditor : CollectionEditor 9 | { 10 | public StringCollectionEditor(Type type) : base(type) 11 | { 12 | } 13 | 14 | protected override Type CreateCollectionItemType() 15 | { 16 | return typeof(string); 17 | } 18 | 19 | protected override object CreateInstance(Type itemType) 20 | { 21 | return ""; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/GifDecoder/TextHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Windows.Forms; 5 | using System.Drawing; 6 | 7 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls 8 | { 9 | public static class TextHelper 10 | { 11 | public static StringAlignment TranslateAligment(HorizontalAlignment alignment) 12 | { 13 | if (alignment == HorizontalAlignment.Left) 14 | return StringAlignment.Near; 15 | else if (alignment == HorizontalAlignment.Right) 16 | return StringAlignment.Far; 17 | else 18 | return StringAlignment.Center; 19 | } 20 | 21 | public static TextFormatFlags TranslateAligmentToFlag(HorizontalAlignment alignment) 22 | { 23 | if (alignment == HorizontalAlignment.Left) 24 | return TextFormatFlags.Left; 25 | else if (alignment == HorizontalAlignment.Right) 26 | return TextFormatFlags.Right; 27 | else 28 | return TextFormatFlags.HorizontalCenter; 29 | } 30 | 31 | public static TextFormatFlags TranslateTrimmingToFlag(StringTrimming trimming) 32 | { 33 | if (trimming == StringTrimming.EllipsisCharacter) 34 | return TextFormatFlags.EndEllipsis; 35 | else if (trimming == StringTrimming.EllipsisPath) 36 | return TextFormatFlags.PathEllipsis; 37 | if (trimming == StringTrimming.EllipsisWord) 38 | return TextFormatFlags.WordEllipsis; 39 | if (trimming == StringTrimming.Word) 40 | return TextFormatFlags.WordBreak; 41 | else 42 | return TextFormatFlags.Default; 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/Helper/NamedTreeColumn.cs: -------------------------------------------------------------------------------- 1 | using System.Diagnostics.CodeAnalysis; 2 | 3 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.Helper 4 | { 5 | [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Reviewed. Suppression is OK here.")] 6 | public class NamedTreeColumn : TreeColumn 7 | { 8 | public string Name { get { return mName; } set { mName = value; } } 9 | private string mName = string.Empty; 10 | } 11 | } -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/IRowLayout.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Drawing; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 7 | { 8 | internal interface IRowLayout 9 | { 10 | int PreferredRowHeight 11 | { 12 | get; 13 | set; 14 | } 15 | 16 | int PageRowCount 17 | { 18 | get; 19 | } 20 | 21 | int CurrentPageSize 22 | { 23 | get; 24 | } 25 | 26 | Rectangle GetRowBounds(int rowNo); 27 | 28 | int GetRowAt(Point point); 29 | 30 | int GetFirstRow(int lastPageRow); 31 | 32 | void ClearCache(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/IToolTipProvider.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 7 | { 8 | public interface IToolTipProvider 9 | { 10 | string GetToolTip(TreeNodeAdv node, NodeControl nodeControl); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/ITreeModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Collections; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 7 | { 8 | public interface ITreeModel 9 | { 10 | IEnumerable GetChildren(TreePath treePath); 11 | bool IsLeaf(TreePath treePath); 12 | 13 | event EventHandler NodesChanged; 14 | event EventHandler NodesInserted; 15 | event EventHandler NodesRemoved; 16 | event EventHandler StructureChanged; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/Input/ClickColumnState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Windows.Forms; 5 | using System.Drawing; 6 | 7 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 8 | { 9 | internal class ClickColumnState : ColumnState 10 | { 11 | private Point _location; 12 | 13 | public ClickColumnState(TreeViewAdv tree, TreeColumn column, Point location) 14 | : base(tree, column) 15 | { 16 | _location = location; 17 | } 18 | 19 | public override void KeyDown(KeyEventArgs args) 20 | { 21 | } 22 | 23 | public override void MouseDown(TreeNodeAdvMouseEventArgs args) 24 | { 25 | } 26 | 27 | public override bool MouseMove(MouseEventArgs args) 28 | { 29 | if (TreeViewAdv.Dist(_location, args.Location) > TreeViewAdv.ItemDragSensivity 30 | && Tree.AllowColumnReorder) 31 | { 32 | Tree.Input = new ReorderColumnState(Tree, Column, args.Location); 33 | Tree.UpdateView(); 34 | } 35 | return true; 36 | } 37 | 38 | public override void MouseUp(TreeNodeAdvMouseEventArgs args) 39 | { 40 | Tree.ChangeInput(); 41 | Tree.UpdateView(); 42 | Tree.OnColumnClicked(Column); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/Input/ColumnState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | internal abstract class ColumnState : InputState 8 | { 9 | private TreeColumn _column; 10 | public TreeColumn Column 11 | { 12 | get { return _column; } 13 | } 14 | 15 | public ColumnState(TreeViewAdv tree, TreeColumn column) 16 | : base(tree) 17 | { 18 | _column = column; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/Input/InputState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 4 | { 5 | internal abstract class InputState 6 | { 7 | private TreeViewAdv _tree; 8 | 9 | public TreeViewAdv Tree 10 | { 11 | get { return _tree; } 12 | } 13 | 14 | public InputState(TreeViewAdv tree) 15 | { 16 | _tree = tree; 17 | } 18 | 19 | public abstract void KeyDown(System.Windows.Forms.KeyEventArgs args); 20 | public abstract void MouseDown(TreeNodeAdvMouseEventArgs args); 21 | public abstract void MouseUp(TreeNodeAdvMouseEventArgs args); 22 | 23 | /// 24 | /// handle OnMouseMove event 25 | /// 26 | /// 27 | /// true if event was handled and should be dispatched 28 | public virtual bool MouseMove(MouseEventArgs args) 29 | { 30 | return false; 31 | } 32 | 33 | public virtual void MouseDoubleClick(TreeNodeAdvMouseEventArgs args) 34 | { 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/Input/InputWithControl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | internal class InputWithControl : NormalInputState 8 | { 9 | public InputWithControl(TreeViewAdv tree) : base(tree) 10 | { 11 | } 12 | 13 | protected override void DoMouseOperation(TreeNodeAdvMouseEventArgs args) 14 | { 15 | if (Tree.SelectionMode == TreeSelectionMode.Single) 16 | { 17 | base.DoMouseOperation(args); 18 | } 19 | else if (CanSelect(args.Node)) 20 | { 21 | args.Node.IsSelected = !args.Node.IsSelected; 22 | Tree.SelectionStart = args.Node; 23 | } 24 | } 25 | 26 | protected override void MouseDownAtEmptySpace(TreeNodeAdvMouseEventArgs args) 27 | { 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/Input/ResizeColumnState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Windows.Forms; 5 | using System.Security.Permissions; 6 | using System.Drawing; 7 | 8 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 9 | { 10 | internal class ResizeColumnState : ColumnState 11 | { 12 | private Point _initLocation; 13 | private int _initWidth; 14 | 15 | public ResizeColumnState(TreeViewAdv tree, TreeColumn column, Point p) 16 | : base(tree, column) 17 | { 18 | _initLocation = p; 19 | _initWidth = column.Width; 20 | } 21 | 22 | public override void KeyDown(KeyEventArgs args) 23 | { 24 | args.Handled = true; 25 | if (args.KeyCode == Keys.Escape) 26 | FinishResize(); 27 | } 28 | 29 | public override void MouseDown(TreeNodeAdvMouseEventArgs args) 30 | { 31 | } 32 | 33 | public override void MouseUp(TreeNodeAdvMouseEventArgs args) 34 | { 35 | FinishResize(); 36 | } 37 | 38 | private void FinishResize() 39 | { 40 | Tree.ChangeInput(); 41 | Tree.FullUpdate(); 42 | Tree.OnColumnWidthChanged(Column); 43 | } 44 | 45 | public override bool MouseMove(MouseEventArgs args) 46 | { 47 | Column.Width = _initWidth + args.Location.X - _initLocation.X; 48 | Tree.UpdateView(); 49 | return true; 50 | } 51 | 52 | public override void MouseDoubleClick(TreeNodeAdvMouseEventArgs args) 53 | { 54 | Tree.AutoSizeColumn(Column); 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/ListModel.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Collections; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 7 | { 8 | public class ListModel : TreeModelBase 9 | { 10 | private IList _list; 11 | 12 | public int Count 13 | { 14 | get { return _list.Count; } 15 | } 16 | 17 | public ListModel() 18 | { 19 | _list = new List(); 20 | } 21 | 22 | public ListModel(IList list) 23 | { 24 | _list = list; 25 | } 26 | 27 | public override IEnumerable GetChildren(TreePath treePath) 28 | { 29 | return _list; 30 | } 31 | 32 | public override bool IsLeaf(TreePath treePath) 33 | { 34 | return true; 35 | } 36 | 37 | public void AddRange(IEnumerable items) 38 | { 39 | foreach (object obj in items) 40 | _list.Add(obj); 41 | OnStructureChanged(new TreePathEventArgs(TreePath.Empty)); 42 | } 43 | 44 | public void Add(object item) 45 | { 46 | _list.Add(item); 47 | OnNodesInserted(new TreeModelEventArgs(TreePath.Empty, new int[] { _list.Count - 1 }, new object[] { item })); 48 | } 49 | 50 | public void Clear() 51 | { 52 | _list.Clear(); 53 | OnStructureChanged(new TreePathEventArgs(TreePath.Empty)); 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/NodeControlInfo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Drawing; 5 | using KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls; 6 | 7 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 8 | { 9 | public struct NodeControlInfo 10 | { 11 | public static readonly NodeControlInfo Empty = new NodeControlInfo(null, Rectangle.Empty, null); 12 | 13 | private NodeControl _control; 14 | public NodeControl Control 15 | { 16 | get { return _control; } 17 | } 18 | 19 | private Rectangle _bounds; 20 | public Rectangle Bounds 21 | { 22 | get { return _bounds; } 23 | } 24 | 25 | private TreeNodeAdv _node; 26 | public TreeNodeAdv Node 27 | { 28 | get { return _node; } 29 | } 30 | 31 | public NodeControlInfo(NodeControl control, Rectangle bounds, TreeNodeAdv node) 32 | { 33 | _control = control; 34 | _bounds = bounds; 35 | _node = node; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/NodeControls/DrawEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Drawing; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls 7 | { 8 | public class DrawEventArgs : NodeEventArgs 9 | { 10 | private DrawContext _context; 11 | public DrawContext Context 12 | { 13 | get { return _context; } 14 | } 15 | 16 | private Brush _textBrush; 17 | [Obsolete("Use TextColor")] 18 | public Brush TextBrush 19 | { 20 | get { return _textBrush; } 21 | set { _textBrush = value; } 22 | } 23 | 24 | private Brush _backgroundBrush; 25 | public Brush BackgroundBrush 26 | { 27 | get { return _backgroundBrush; } 28 | set { _backgroundBrush = value; } 29 | } 30 | 31 | private Font _font; 32 | public Font Font 33 | { 34 | get { return _font; } 35 | set { _font = value; } 36 | } 37 | 38 | private Color _textColor; 39 | public Color TextColor 40 | { 41 | get { return _textColor; } 42 | set { _textColor = value; } 43 | } 44 | 45 | private string _text; 46 | public string Text 47 | { 48 | get { return _text; } 49 | set { _text = value; } 50 | } 51 | 52 | 53 | private EditableControl _control; 54 | public EditableControl Control 55 | { 56 | get { return _control; } 57 | } 58 | 59 | public DrawEventArgs(TreeNodeAdv node, EditableControl control, DrawContext context, string text) 60 | : base(node) 61 | { 62 | _control = control; 63 | _context = context; 64 | _text = text; 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/NodeControls/EditEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Windows.Forms; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls 7 | { 8 | public class EditEventArgs : NodeEventArgs 9 | { 10 | private Control _control; 11 | public Control Control 12 | { 13 | get { return _control; } 14 | } 15 | 16 | public EditEventArgs(TreeNodeAdv node, Control control) 17 | : base(node) 18 | { 19 | _control = control; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/NodeControls/InteractiveControl.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.ComponentModel; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls 7 | { 8 | public abstract class InteractiveControl : BindableControl 9 | { 10 | private bool _editEnabled = false; 11 | [DefaultValue(false)] 12 | public bool EditEnabled 13 | { 14 | get { return _editEnabled; } 15 | set { _editEnabled = value; } 16 | } 17 | 18 | protected bool IsEditEnabled(TreeNodeAdv node) 19 | { 20 | if (EditEnabled) 21 | { 22 | NodeControlValueEventArgs args = new NodeControlValueEventArgs(node); 23 | args.Value = true; 24 | OnIsEditEnabledValueNeeded(args); 25 | return Convert.ToBoolean(args.Value); 26 | } 27 | else 28 | return false; 29 | } 30 | 31 | public event EventHandler IsEditEnabledValueNeeded; 32 | private void OnIsEditEnabledValueNeeded(NodeControlValueEventArgs args) 33 | { 34 | if (IsEditEnabledValueNeeded != null) 35 | IsEditEnabledValueNeeded(this, args); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/NodeControls/LabelEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls 6 | { 7 | public class LabelEventArgs : EventArgs 8 | { 9 | private object _subject; 10 | public object Subject 11 | { 12 | get { return _subject; } 13 | } 14 | 15 | private string _oldLabel; 16 | public string OldLabel 17 | { 18 | get { return _oldLabel; } 19 | } 20 | 21 | private string _newLabel; 22 | public string NewLabel 23 | { 24 | get { return _newLabel; } 25 | } 26 | 27 | public LabelEventArgs(object subject, string oldLabel, string newLabel) 28 | { 29 | _subject = subject; 30 | _oldLabel = oldLabel; 31 | _newLabel = newLabel; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/NodeControls/NodeControlValueEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls 6 | { 7 | public class NodeControlValueEventArgs : NodeEventArgs 8 | { 9 | private object _value; 10 | public object Value 11 | { 12 | get { return _value; } 13 | set { _value = value; } 14 | } 15 | 16 | public NodeControlValueEventArgs(TreeNodeAdv node) 17 | : base(node) 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/NodeControls/NodeDecimalTextBox.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Drawing; 5 | using System.Windows.Forms; 6 | using System.Reflection; 7 | using System.ComponentModel; 8 | 9 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls 10 | { 11 | public class NodeDecimalTextBox : NodeTextBox 12 | { 13 | private bool _allowDecimalSeparator = true; 14 | [DefaultValue(true)] 15 | public bool AllowDecimalSeparator 16 | { 17 | get { return _allowDecimalSeparator; } 18 | set { _allowDecimalSeparator = value; } 19 | } 20 | 21 | private bool _allowNegativeSign = true; 22 | [DefaultValue(true)] 23 | public bool AllowNegativeSign 24 | { 25 | get { return _allowNegativeSign; } 26 | set { _allowNegativeSign = value; } 27 | } 28 | 29 | protected NodeDecimalTextBox() 30 | { 31 | } 32 | 33 | protected override TextBox CreateTextBox() 34 | { 35 | NumericTextBox textBox = new NumericTextBox(); 36 | textBox.AllowDecimalSeparator = AllowDecimalSeparator; 37 | textBox.AllowNegativeSign = AllowNegativeSign; 38 | return textBox; 39 | } 40 | 41 | protected override void DoApplyChanges(TreeNodeAdv node, Control editor) 42 | { 43 | SetValue(node, (editor as NumericTextBox).DecimalValue); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/NodeControls/NodeEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls 6 | { 7 | public class NodeEventArgs : EventArgs 8 | { 9 | private TreeNodeAdv _node; 10 | public TreeNodeAdv Node 11 | { 12 | get { return _node; } 13 | } 14 | 15 | public NodeEventArgs(TreeNodeAdv node) 16 | { 17 | _node = node; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/NodeControls/NodeIntegerTextBox.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.ComponentModel; 5 | using System.Windows.Forms; 6 | 7 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls 8 | { 9 | 10 | public class NodeIntegerTextBox : NodeTextBox 11 | { 12 | private bool _allowNegativeSign = true; 13 | [DefaultValue(true)] 14 | public bool AllowNegativeSign 15 | { 16 | get { return _allowNegativeSign; } 17 | set { _allowNegativeSign = value; } 18 | } 19 | 20 | public NodeIntegerTextBox() 21 | { 22 | } 23 | 24 | protected override TextBox CreateTextBox() 25 | { 26 | NumericTextBox textBox = new NumericTextBox(); 27 | textBox.AllowDecimalSeparator = false; 28 | textBox.AllowNegativeSign = AllowNegativeSign; 29 | return textBox; 30 | } 31 | 32 | protected override void DoApplyChanges(TreeNodeAdv node, Control editor) 33 | { 34 | SetValue(node, (editor as NumericTextBox).IntValue); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/NodeControls/NodeStateIcon.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Drawing; 5 | using KSPModAdmin.Core.Properties; 6 | 7 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls 8 | { 9 | public class NodeStateIcon : NodeIcon 10 | { 11 | private Image _leaf; 12 | private Image _opened; 13 | private Image _closed; 14 | 15 | public NodeStateIcon() 16 | { 17 | _leaf = MakeTransparent(Resources.page); 18 | _opened = MakeTransparent(Resources.folder1); 19 | _closed = MakeTransparent(Resources.folder1); 20 | } 21 | 22 | private static Image MakeTransparent(Bitmap bitmap) 23 | { 24 | bitmap.MakeTransparent(bitmap.GetPixel(0, 0)); 25 | return bitmap; 26 | } 27 | 28 | protected override Image GetIcon(TreeNodeAdv node) 29 | { 30 | Image icon = base.GetIcon(node); 31 | if (icon != null) 32 | return icon; 33 | else if (node.IsLeaf) 34 | return _leaf; 35 | else if (node.CanExpand && node.IsExpanded) 36 | return _opened; 37 | else 38 | return _closed; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/Threading/WorkItem.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Threading; 5 | 6 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Threading 7 | { 8 | public sealed class WorkItem 9 | { 10 | private WaitCallback _callback; 11 | private object _state; 12 | private ExecutionContext _ctx; 13 | 14 | internal WorkItem(WaitCallback wc, object state, ExecutionContext ctx) 15 | { 16 | _callback = wc; 17 | _state = state; 18 | _ctx = ctx; 19 | } 20 | 21 | internal WaitCallback Callback 22 | { 23 | get 24 | { 25 | return _callback; 26 | } 27 | } 28 | 29 | internal object State 30 | { 31 | get 32 | { 33 | return _state; 34 | } 35 | } 36 | 37 | internal ExecutionContext Context 38 | { 39 | get 40 | { 41 | return _ctx; 42 | } 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/Threading/WorkItemStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Threading 6 | { 7 | public enum WorkItemStatus 8 | { 9 | Completed, 10 | Queued, 11 | Executing, 12 | Aborted 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/TreeColumnEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | public class TreeColumnEventArgs : EventArgs 8 | { 9 | private TreeColumn _column; 10 | public TreeColumn Column 11 | { 12 | get { return _column; } 13 | } 14 | 15 | public TreeColumnEventArgs(TreeColumn column) 16 | { 17 | _column = column; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/TreeListAdapter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | /// 8 | /// Converts IEnumerable interface to ITreeModel. 9 | /// Allows to display a plain list in the TreeView 10 | /// 11 | public class TreeListAdapter : ITreeModel 12 | { 13 | private System.Collections.IEnumerable _list; 14 | 15 | public TreeListAdapter(System.Collections.IEnumerable list) 16 | { 17 | _list = list; 18 | } 19 | 20 | #region ITreeModel Members 21 | 22 | public System.Collections.IEnumerable GetChildren(TreePath treePath) 23 | { 24 | if (treePath.IsEmpty()) 25 | return _list; 26 | else 27 | return null; 28 | } 29 | 30 | public bool IsLeaf(TreePath treePath) 31 | { 32 | return true; 33 | } 34 | 35 | public event EventHandler NodesChanged; 36 | public void OnNodesChanged(TreeModelEventArgs args) 37 | { 38 | if (NodesChanged != null) 39 | NodesChanged(this, args); 40 | } 41 | 42 | public event EventHandler StructureChanged; 43 | public void OnStructureChanged(TreePathEventArgs args) 44 | { 45 | if (StructureChanged != null) 46 | StructureChanged(this, args); 47 | } 48 | 49 | public event EventHandler NodesInserted; 50 | public void OnNodeInserted(TreeModelEventArgs args) 51 | { 52 | if (NodesInserted != null) 53 | NodesInserted(this, args); 54 | } 55 | 56 | public event EventHandler NodesRemoved; 57 | public void OnNodeRemoved(TreeModelEventArgs args) 58 | { 59 | if (NodesRemoved != null) 60 | NodesRemoved(this, args); 61 | } 62 | 63 | #endregion 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/TreeModelBase.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | public abstract class TreeModelBase : ITreeModel 8 | { 9 | public abstract System.Collections.IEnumerable GetChildren(TreePath treePath); 10 | public abstract bool IsLeaf(TreePath treePath); 11 | 12 | 13 | public event EventHandler NodesChanged; 14 | protected void OnNodesChanged(TreeModelEventArgs args) 15 | { 16 | if (NodesChanged != null) 17 | NodesChanged(this, args); 18 | } 19 | 20 | public event EventHandler StructureChanged; 21 | protected void OnStructureChanged(TreePathEventArgs args) 22 | { 23 | if (StructureChanged != null) 24 | StructureChanged(this, args); 25 | } 26 | 27 | public event EventHandler NodesInserted; 28 | protected void OnNodesInserted(TreeModelEventArgs args) 29 | { 30 | if (NodesInserted != null) 31 | NodesInserted(this, args); 32 | } 33 | 34 | public event EventHandler NodesRemoved; 35 | protected void OnNodesRemoved(TreeModelEventArgs args) 36 | { 37 | if (NodesRemoved != null) 38 | NodesRemoved(this, args); 39 | } 40 | 41 | public virtual void Refresh() 42 | { 43 | OnStructureChanged(new TreePathEventArgs(TreePath.Empty)); 44 | } 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/TreeModelEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | public class TreeModelEventArgs : TreePathEventArgs 8 | { 9 | private object[] _children; 10 | public object[] Children 11 | { 12 | get { return _children; } 13 | } 14 | 15 | private int[] _indices; 16 | public int[] Indices 17 | { 18 | get { return _indices; } 19 | } 20 | 21 | /// 22 | /// 23 | /// 24 | /// Path to a parent node 25 | /// Child nodes 26 | public TreeModelEventArgs(TreePath parent, object[] children) 27 | : this(parent, null, children) 28 | { 29 | } 30 | 31 | /// 32 | /// 33 | /// 34 | /// Path to a parent node 35 | /// Indices of children in parent nodes collection 36 | /// Child nodes 37 | public TreeModelEventArgs(TreePath parent, int[] indices, object[] children) 38 | : base(parent) 39 | { 40 | if (children == null) 41 | throw new ArgumentNullException(); 42 | 43 | if (indices != null && indices.Length != children.Length) 44 | throw new ArgumentException("indices and children arrays must have the same length"); 45 | 46 | _indices = indices; 47 | _children = children; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/TreeNodeAdvMouseEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Windows.Forms; 5 | using System.Drawing; 6 | using KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree.NodeControls; 7 | 8 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 9 | { 10 | public class TreeNodeAdvMouseEventArgs : MouseEventArgs 11 | { 12 | private TreeNodeAdv _node; 13 | public TreeNodeAdv Node 14 | { 15 | get { return _node; } 16 | internal set { _node = value; } 17 | } 18 | 19 | private NodeControl _control; 20 | public NodeControl Control 21 | { 22 | get { return _control; } 23 | internal set { _control = value; } 24 | } 25 | 26 | private Point _viewLocation; 27 | public Point ViewLocation 28 | { 29 | get { return _viewLocation; } 30 | internal set { _viewLocation = value; } 31 | } 32 | 33 | private Keys _modifierKeys; 34 | public Keys ModifierKeys 35 | { 36 | get { return _modifierKeys; } 37 | internal set { _modifierKeys = value; } 38 | } 39 | 40 | private bool _handled; 41 | public bool Handled 42 | { 43 | get { return _handled; } 44 | set { _handled = value; } 45 | } 46 | 47 | private Rectangle _controlBounds; 48 | public Rectangle ControlBounds 49 | { 50 | get { return _controlBounds; } 51 | internal set { _controlBounds = value; } 52 | } 53 | 54 | public TreeNodeAdvMouseEventArgs(MouseEventArgs args) 55 | : base(args.Button, args.Clicks, args.X, args.Y, args.Delta) 56 | { 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/TreePath.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Text; 3 | using System.Collections.ObjectModel; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | public class TreePath 8 | { 9 | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")] 10 | public static readonly TreePath Empty = new TreePath(); 11 | 12 | private object[] _path; 13 | public object[] FullPath 14 | { 15 | get { return _path; } 16 | } 17 | 18 | public object LastNode 19 | { 20 | get 21 | { 22 | if (_path.Length > 0) 23 | return _path[_path.Length - 1]; 24 | else 25 | return null; 26 | } 27 | } 28 | 29 | public object FirstNode 30 | { 31 | get 32 | { 33 | if (_path.Length > 0) 34 | return _path[0]; 35 | else 36 | return null; 37 | } 38 | } 39 | 40 | public TreePath() 41 | { 42 | _path = new object[0]; 43 | } 44 | 45 | public TreePath(object node) 46 | { 47 | _path = new object[] { node }; 48 | } 49 | 50 | public TreePath(object[] path) 51 | { 52 | _path = path; 53 | } 54 | 55 | public TreePath(TreePath parent, object node) 56 | { 57 | _path = new object[parent.FullPath.Length + 1]; 58 | for (int i = 0; i < _path.Length - 1; i++) 59 | _path[i] = parent.FullPath[i]; 60 | _path[_path.Length - 1] = node; 61 | } 62 | 63 | public bool IsEmpty() 64 | { 65 | return (_path.Length == 0); 66 | } 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/TreePathEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | public class TreePathEventArgs : EventArgs 8 | { 9 | private TreePath _path; 10 | public TreePath Path 11 | { 12 | get { return _path; } 13 | } 14 | 15 | public TreePathEventArgs() 16 | { 17 | _path = new TreePath(); 18 | } 19 | 20 | public TreePathEventArgs(TreePath path) 21 | { 22 | if (path == null) 23 | throw new ArgumentNullException(); 24 | 25 | _path = path; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/TreeViewAdvCancelEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | public class TreeViewAdvCancelEventArgs : TreeViewAdvEventArgs 8 | { 9 | private bool _cancel; 10 | 11 | public bool Cancel 12 | { 13 | get { return _cancel; } 14 | set { _cancel = value; } 15 | } 16 | 17 | public TreeViewAdvCancelEventArgs(TreeNodeAdv node) 18 | : base(node) 19 | { 20 | } 21 | 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/TreeViewAdvEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 6 | { 7 | public class TreeViewAdvEventArgs : EventArgs 8 | { 9 | private TreeNodeAdv _node; 10 | 11 | public TreeNodeAdv Node 12 | { 13 | get { return _node; } 14 | } 15 | 16 | public TreeViewAdvEventArgs(TreeNodeAdv node) 17 | { 18 | _node = node; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/TreeViewRowDrawEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Windows.Forms; 5 | using System.Drawing; 6 | 7 | namespace KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree 8 | { 9 | public class TreeViewRowDrawEventArgs : PaintEventArgs 10 | { 11 | TreeNodeAdv _node; 12 | DrawContext _context; 13 | int _row; 14 | Rectangle _rowRect; 15 | 16 | public TreeViewRowDrawEventArgs(Graphics graphics, Rectangle clipRectangle, TreeNodeAdv node, DrawContext context, int row, Rectangle rowRect) 17 | : base(graphics, clipRectangle) 18 | { 19 | _node = node; 20 | _context = context; 21 | _row = row; 22 | _rowRect = rowRect; 23 | } 24 | 25 | public TreeNodeAdv Node 26 | { 27 | get { return _node; } 28 | } 29 | 30 | public DrawContext Context 31 | { 32 | get { return _context; } 33 | } 34 | 35 | public int Row 36 | { 37 | get { return _row; } 38 | } 39 | 40 | public Rectangle RowRect 41 | { 42 | get { return _rowRect; } 43 | } 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/_license/license.txt: -------------------------------------------------------------------------------- 1 | The BSD License 2 | 3 | http://sourceforge.net/projects/treeviewadv/ 4 | Copyright (c) 2009, Andrey Gliznetsov (a.gliznetsov@gmail.com) 5 | 6 | All rights reserved. 7 | 8 | Redistribution and use in source and binary forms, with or without modification, are permitted provided 9 | that the following conditions are met 10 | 11 | - Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | - Redistributions in binary form must reproduce the above copyright notice, this list of conditions 14 | and the following disclaimer in the documentation andor other materials provided with the distribution. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 17 | AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 18 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 19 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 23 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 26 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/TreeViewAdv/_license/licenseNote.txt: -------------------------------------------------------------------------------- 1 | The TreeViewAdv control with all its classes (in the NameSpace KSPModAdmin.Core.Utils.Controls.Aga) 2 | are from the project "Advanced TreeView for .NET." on CodeProject.com , 3 | see http://www.codeproject.com/Articles/14741/Advanced-TreeView-for-NET or 4 | http://sourceforge.net/projects/treeviewadv/. 5 | 6 | This project is published under The BSD License (see license.txt). -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/Controls/WebBrowserEx/FileDownloadEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace KSPModAdmin.Core.Utils.Controls 4 | { 5 | /// 6 | /// A file download event arg 7 | /// 8 | public class FileDownloadEventArgs : EventArgs 9 | { 10 | /// 11 | /// Constructor 12 | /// 13 | /// the URI the file is downloading from 14 | public FileDownloadEventArgs(Uri downloadUri) 15 | { 16 | this.DownloadUri = downloadUri; 17 | } 18 | 19 | /// 20 | /// Gets the URI the file is downloading from 21 | /// 22 | public Uri DownloadUri { get; private set; } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/SiteHandler/xPathConfigs/CurseForgeXPaths.cfg: -------------------------------------------------------------------------------- 1 | XPathCurseForgeUrl = //*[@id='content']/section/div/aside/div[2]/div[3]/p/a 2 | XPathCurseUrl = //*[@class='view-on-curse']/a 3 | XPathModName = //*[@id='content']/section/div/main/header/div[2]/h2 4 | XPathModId = //*[@id='content']/section/div/aside/div[2]/div[2]/a[3] 5 | XPathModCreateDate = //*[@id='content']/section/div/main/section[1]/div/p[2]/span/abbr 6 | XPathModUpdateDate = //*[@id='content']/section/div/main/header/div[2]/p/span[1]/abbr 7 | XPathModDownloadCount = //*[@id='content']/section/div/main/section[1]/div/p[1]/span 8 | XPathModAuthor = //*[@id='content']/section/div/main/section[1]/div/p[3]/span[2]/a 9 | XPathGameVersion = //*[@id='content']/section/div/main/header/div[2]/p/span[2] 10 | 11 | xPathGitHubTimeLine = //*[@id='js-repo-pjax-container']/div[2]/div[1]/div[2] 12 | xPathGitHubLabel = //*[@class='release clearfix label-latest'] 13 | xPathGitHubTags = //*[@class='releases-tag-list'] 14 | xPathGitHubTags2 = //*[@class='release-timeline-tags list-style-none'] 15 | xPathGitHubLabelVersion = //*[@class='release label-latest']/div/ul/li/a/span 16 | xPathGitHubLabelDate = //*[@class='release label-latest']/div[2]/div/p/relative-time 17 | xPathGitHubTagsVersion = //*/tr[2]/td[2]/div/h3/a/span 18 | xPathGitHubTagsDate = //*/tr[2]/td[1]/a/relative-time 19 | xPathGitHubTags2Version = //*/li[1]/div/div/h3/a/span 20 | xPathGitHubTags2Date = //*/li/span/relative-time 21 | xPathGithubLabelReleasesLatest = //*[@class='release clearfix label-latest']/div[2]/div[2]/ul/li[1]/a 22 | xPathGithubLabelReleases = //*[@class='release clearfix label-']/div[2]/div[2]/ul/li[1]/a 23 | xPathGithubTagsReleases = //*/tr/td[2]/div/ul/li[2]/a 24 | xPathGithubTags2Releases = //*[@class='d-block clearfix']/div/div/ul/li[2]/a -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/SiteHandler/xPathConfigs/XPaths.cfg: -------------------------------------------------------------------------------- 1 | XPathCurseForgeUrl = //*[@id='content']/section/div/aside/div[2]/div[3]/p/a 2 | XPathCurseUrl = //*[@class='view-on-curse']/a 3 | XPathModName = //*[@id='content']/section/div/main/header/div[2]/h2 4 | XPathModId = //*[@id='content']/section/div/aside/div[2]/div[2]/a[3] 5 | XPathModCreateDate = //*[@id='content']/section/div/main/section[1]/div/p[2]/span/abbr 6 | XPathModUpdateDate = //*[@id='content']/section/div/main/header/div[2]/p/span[1]/abbr 7 | XPathModDownloadCount = //*[@id='content']/section/div/main/section[1]/div/p[1]/span 8 | XPathModAuthor = //*[@id='content']/section/div/main/section[1]/div/p[3]/span[2]/a 9 | XPathGameVersion = //*[@id='content']/section/div/main/header/div[2]/p/span[2] 10 | 11 | xPathGitHubTimeLine = //*[@id='js-repo-pjax-container']/div[2]/div[1]/div[2] 12 | xPathGitHubLabel = //*[@class='release clearfix label-latest'] 13 | xPathGitHubTags = //*[@class='releases-tag-list'] 14 | xPathGitHubTags2 = //*[@class='release-timeline-tags list-style-none'] 15 | xPathGitHubLabelVersion = //*[@class='release label-latest']/div/ul/li/a/span 16 | xPathGitHubLabelDate = //*[@class='release label-latest']/div[2]/div/p/relative-time 17 | xPathGitHubTagsVersion = //*/tr[2]/td[2]/div/h3/a/span 18 | xPathGitHubTagsDate = //*/tr[2]/td[1]/a/relative-time 19 | xPathGitHubTags2Version = //*/li[1]/div/div/h3/a/span 20 | xPathGitHubTags2Date = //*/li/span/relative-time 21 | xPathGithubLabelReleasesLatest = //*[@class='release clearfix label-latest']/div[2]/div[2]/ul/li[1]/a 22 | xPathGithubLabelReleases = //*[@class='release clearfix label-']/div[2]/div[2]/ul/li[1]/a 23 | xPathGithubTagsReleases = //*/tr/td[2]/div/ul/li[2]/a 24 | xPathGithubTags2Releases = //*[@class='d-block clearfix']/div/div/ul/li[2]/a 25 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/www/DropBox.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace KSPModAdmin.Core.Utils 4 | { 5 | public abstract class DropBox 6 | { 7 | public static bool IsValidURL(string url) 8 | { 9 | var host = new Uri(url).Authority; 10 | return (host.Equals("dropbox.com")); 11 | } 12 | 13 | public static string GetDownloadURL(string url) 14 | { 15 | string siteContent = www.Load(url); 16 | int index1 = siteContent.IndexOf("
"); 17 | if (index1 < 0) 18 | return string.Empty; 19 | index1 = siteContent.IndexOf("href=\"", index1) + 6; 20 | siteContent = siteContent.Substring(index1); 21 | index1 = siteContent.IndexOf("\""); 22 | if (index1 < 0) 23 | return string.Empty; 24 | string downloadURL = siteContent.Substring(0, index1); 25 | 26 | return (downloadURL.StartsWith("http:/") || downloadURL.StartsWith("https:/")) ? downloadURL : string.Empty; 27 | } 28 | 29 | public static string GetFileName(string downloadURL) 30 | { 31 | int index = downloadURL.LastIndexOf("/"); 32 | string filename = downloadURL.Substring(index + 1); 33 | if (filename.Contains("?")) 34 | filename = filename.Substring(0, filename.IndexOf("?")); 35 | 36 | return filename; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/www/GitHub.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace KSPModAdmin.Core.Utils 4 | { 5 | public abstract class GitHub 6 | { 7 | public static bool IsValidURL(string url) 8 | { 9 | return (new Uri(url).Authority.Equals("github.com")); 10 | } 11 | 12 | public static string GetDownloadURL(string url) 13 | { 14 | string siteContent = www.Load(url); 15 | int index1 = siteContent.IndexOf("
    "); 16 | if (index1 < 0) 17 | return string.Empty; 18 | index1 = siteContent.IndexOf("href=\"", index1) + 6; 19 | siteContent = siteContent.Substring(index1); 20 | index1 = siteContent.IndexOf("\""); 21 | if (index1 < 0) 22 | return string.Empty; 23 | string downloadURL = "https://github.com" + siteContent.Substring(0, index1); 24 | 25 | return (downloadURL.StartsWith("http:/") || downloadURL.StartsWith("https:/")) ? downloadURL : string.Empty; 26 | } 27 | 28 | public static string GetFileName(string downloadUrl) 29 | { 30 | int index = downloadUrl.LastIndexOf("/"); 31 | string filename = downloadUrl.Substring(index + 1); 32 | if (filename.Contains("?")) 33 | filename = filename.Substring(0, filename.IndexOf("?")); 34 | 35 | return filename; 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Utils/www/MediaFire.cs: -------------------------------------------------------------------------------- 1 | namespace KSPModAdmin.Core.Utils 2 | { 3 | public abstract class MediaFire 4 | { 5 | public static bool IsValidURL(string url) 6 | { 7 | return (url.StartsWith("http://www.mediafire.com/") || url.StartsWith("http://mediafire.com/")); 8 | } 9 | 10 | public static string GetDownloadURL(string mediafireURL) 11 | { 12 | if (string.IsNullOrEmpty(mediafireURL)) 13 | return string.Empty; 14 | 15 | string siteContent = www.Load(mediafireURL); 16 | int index = siteContent.IndexOf("kNO = \""); 17 | if (index < 0) 18 | return string.Empty; 19 | siteContent = siteContent.Substring(index); 20 | index = siteContent.IndexOf("\"") + 1; 21 | if (index < 0) 22 | return string.Empty; 23 | int index1 = siteContent.IndexOf("\"", index); 24 | if (index1 <= index) 25 | return string.Empty; 26 | string url = siteContent.Substring(index, index1 - index); 27 | 28 | return (url.StartsWith("http:/")) ? url : string.Empty; 29 | } 30 | 31 | public static string GetFileName(string downloadURL) 32 | { 33 | int index = downloadURL.LastIndexOf("/"); 34 | string filename = downloadURL.Substring(index + 1); 35 | if (filename.Contains("?")) 36 | filename = filename.Substring(0, filename.IndexOf("?")); 37 | 38 | return filename; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Views/IView.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | 3 | namespace KSPModAdmin.Core.Views 4 | { 5 | /// 6 | /// Interface for KSP MA views. 7 | /// 8 | public interface IView 9 | { 10 | /// 11 | /// Gets the Controls of the view. 12 | /// 13 | Control.ControlCollection Controls { get; } 14 | 15 | /// 16 | /// Gets or sets the Name of the view. 17 | /// 18 | string Name { get; set; } 19 | 20 | /// 21 | /// Invokes the passed function if required. 22 | /// 23 | /// Function that should be invoked if required. 24 | void InvokeIfRequired(MethodInvoker action); 25 | 26 | /// 27 | /// Forces the view to redraw. 28 | /// 29 | void InvalidateView(); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Views/frmBase.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace KSPModAdmin.Core.Views 2 | { 3 | partial class frmBase 4 | { 5 | /// 6 | /// Required designer variable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Clean up any resources being used. 12 | /// 13 | /// true if managed resources should be disposed; otherwise, false. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Windows Form Designer generated code 24 | 25 | /// 26 | /// Required method for Designer support - do not modify 27 | /// the contents of this method with the code editor. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.components = new System.ComponentModel.Container(); 32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 33 | this.Text = "Form1"; 34 | } 35 | 36 | #endregion 37 | } 38 | } -------------------------------------------------------------------------------- /KSPModAdmin.Core/Views/frmTextDisplayer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Diagnostics.CodeAnalysis; 3 | using System.Windows.Forms; 4 | 5 | namespace KSPModAdmin.Core.Views 6 | { 7 | [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300:ElementMustBeginWithUpperCaseLetter", Justification = "Reviewed. Suppression is OK here.")] 8 | public partial class frmTextDisplayer : Form 9 | { 10 | /// 11 | /// Creates a new instance of the frmTextDisplayer class. 12 | /// 13 | public frmTextDisplayer() 14 | { 15 | InitializeComponent(); 16 | } 17 | 18 | private void btnOK_Click(object sender, EventArgs e) 19 | { 20 | Close(); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Views/ucBase.Designer.cs: -------------------------------------------------------------------------------- 1 | namespace KSPModAdmin.Core.Views 2 | { 3 | partial class ucBase 4 | { 5 | /// 6 | /// Erforderliche Designervariable. 7 | /// 8 | private System.ComponentModel.IContainer components = null; 9 | 10 | /// 11 | /// Verwendete Ressourcen bereinigen. 12 | /// 13 | /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. 14 | protected override void Dispose(bool disposing) 15 | { 16 | if (disposing && (components != null)) 17 | { 18 | components.Dispose(); 19 | } 20 | base.Dispose(disposing); 21 | } 22 | 23 | #region Vom Komponenten-Designer generierter Code 24 | 25 | /// 26 | /// Erforderliche Methode für die Designerunterstützung. 27 | /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. 28 | /// 29 | private void InitializeComponent() 30 | { 31 | this.SuspendLayout(); 32 | // 33 | // ucKSPMABase 34 | // 35 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 36 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 37 | this.Name = "ucKSPMABase"; 38 | this.Size = new System.Drawing.Size(700, 350); 39 | this.ResumeLayout(false); 40 | 41 | } 42 | 43 | #endregion 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/Views/ucBase.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Diagnostics.CodeAnalysis; 3 | using System.Windows.Forms; 4 | 5 | namespace KSPModAdmin.Core.Views 6 | { 7 | [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300:ElementMustBeginWithUpperCaseLetter", Justification = "Reviewed. Suppression is OK here.")] 8 | public partial class ucBase : UserControl, IView 9 | { 10 | /// 11 | /// Constructor for VS Designer only! 12 | /// 13 | public ucBase() 14 | { 15 | InitializeComponent(); 16 | } 17 | 18 | 19 | /// 20 | /// Invokes the passed function if required. 21 | /// 22 | /// Function that should be invoked if required. 23 | public void InvokeIfRequired(MethodInvoker action) 24 | { 25 | if (InvokeRequired) 26 | Invoke(action); 27 | else 28 | action(); 29 | } 30 | 31 | /// 32 | /// Forces the view to redraw. 33 | /// 34 | public virtual void InvalidateView() { } 35 | 36 | /// 37 | /// Gets the Name for the parent TabPage. 38 | /// 39 | /// The Name for the parent TabPage. 40 | public virtual string GetTabCaption() 41 | { 42 | throw new NotImplementedException("Implement GetTabCaption for derived classes of ucBase!"); 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /KSPModAdmin.Core/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/KSPMAPlugin.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using KSPModAdmin.Core; 4 | using KSPModAdmin.Plugin.BackupTab.Properties; 5 | using KSPModAdmin.Plugin.BackupTab.Views; 6 | 7 | namespace KSPModAdmin.Plugin.BackupTab 8 | { 9 | /// 10 | /// KSP MA plugin container class. 11 | /// 12 | public class KSPMAPlugin : IKSPMAPlugin 13 | { 14 | private TabView[] mMainTabViews = null; 15 | private TabView[] mOptionTabViews = new List().ToArray(); // Initialize with an empty array if not needed. 16 | 17 | 18 | /// 19 | /// Name of the plugin. 20 | /// 21 | public string Name { get { return "BackupTab Plugin"; } } 22 | 23 | /// 24 | /// Description of the plugin. 25 | /// 26 | public string Description 27 | { 28 | get 29 | { 30 | return "This Plugin adds a tab to add a easy way to handle backups of KSP related data."; 31 | } 32 | } 33 | 34 | /// 35 | /// Array of TabViews that the mod imports. 36 | /// 37 | public TabView[] MainTabViews 38 | { 39 | get 40 | { 41 | if (mMainTabViews == null) 42 | mMainTabViews = new[] { new TabView(new Guid("{7C7CBE6F-80F3-46FD-8820-DDFF58C281ED}"), new UcBackupView(), Resources.data) }; 43 | 44 | return mMainTabViews; 45 | } 46 | } 47 | 48 | /// 49 | /// Array of OptionTabViews that the mod imports. 50 | /// 51 | public TabView[] OptionTabViews 52 | { 53 | get 54 | { 55 | return mOptionTabViews; 56 | } 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Model/BackupNode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree; 3 | 4 | namespace KSPModAdmin.Plugin.BackupTab.Model 5 | { 6 | /// 7 | /// The TreeNode for the backup TreeViewAdv of the UcBackupView. 8 | /// 9 | public class BackupNode : Node 10 | { 11 | /// 12 | /// The displayed text for the Node. 13 | /// 14 | public string Name 15 | { 16 | get { return Text; } 17 | set 18 | { 19 | if (string.IsNullOrEmpty(value)) 20 | throw new ArgumentNullException(); 21 | 22 | Text = value; 23 | } 24 | } 25 | 26 | /// 27 | /// The identifier of the Node. 28 | /// 29 | public string Key { get { return Tag as string; } set { Tag = value; } } 30 | 31 | /// 32 | /// The note of the Node. 33 | /// 34 | public string Note { get; set; } 35 | 36 | 37 | /// 38 | /// Creates a instance of the NoteNode. 39 | /// 40 | public BackupNode(string key, string name, string note) 41 | { 42 | Key = key; 43 | Name = name; 44 | Note = note; 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("KSPModAdmin aOS - BackupTab Plugin")] 9 | [assembly: AssemblyDescription("A Plugin for KSP Mod Admin aOS that addes a tab to manage backups of KSP content.")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("KSPModAdmin BackupTab Plugin")] 13 | [assembly: AssemblyCopyright("Copyright © Bastian Heinrich 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("41714B95-4F4E-426A-8D17-C2328ACAF05B")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Properties/DataSources/LanguageEntry.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | KSPModAdmin.ModuleManager.Plugin.LanguageEntry, KSPModAdmin.ModuleManager.Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/KMA2_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/KMA2_24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/KMA2_new_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/KMA2_new_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data2_delete24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data2_delete24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data_add.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data_add_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data_add_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data_copy_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data_copy_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data_delete_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data_delete_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data_floppy_disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data_floppy_disk.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data_floppy_disk_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data_floppy_disk_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data_gearwheel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data_gearwheel.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data_gearwheel_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data_gearwheel_new.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/data_into_floppy_disk_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/data_into_floppy_disk_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/delete2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/delete2.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/disk_black_data_into.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/disk_black_data_into.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/disk_blue_out_data_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/disk_blue_out_data_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/folder1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/folder1.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/folder_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/folder_view.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/gear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/gear.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/gear_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/gear_new.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/help2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/help2.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/kerbal_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/kerbal_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/kerbal_new_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/kerbal_new_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/loader.gif -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/note_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/note_edit.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/note_floppy_disk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/note_floppy_disk.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/note_floppy_disk_16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/note_floppy_disk_16x16.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Resources/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.BackupTab/Resources/refresh.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/Views/frmEditNote.cs: -------------------------------------------------------------------------------- 1 | using System.Diagnostics.CodeAnalysis; 2 | using KSPModAdmin.Core.Views; 3 | 4 | namespace KSPModAdmin.Plugin.BackupTab.Views 5 | { 6 | /// 7 | /// This form let the user edit the note of a backup. 8 | /// 9 | [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300:ElementMustBeginWithUpperCaseLetter", Justification = "Reviewed. Suppression is OK here.")] 10 | public partial class frmEditNote : frmBase 11 | { 12 | /// 13 | /// Creates a instance off the class frmEditNote. 14 | /// This form let the user edit the note of a backup. 15 | /// 16 | public frmEditNote() 17 | { 18 | InitializeComponent(); 19 | tbNote.Focus(); 20 | } 21 | 22 | /// 23 | /// Gets or sets the note of the backup. 24 | /// 25 | public string BackupNote { get { return tbNote.Text; } set { tbNote.Text = value; } } 26 | 27 | /// 28 | /// Gets or sets the name of the backup. 29 | /// 30 | public string BackupName { get { return tbName.Text; } set { tbName.Text = value; } } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.BackupTab/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.FlagsTab/KSPMAPlugin.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using KSPModAdmin.Core; 4 | using KSPModAdmin.Core.Utils; 5 | using KSPModAdmin.Plugin.FlagsTab.Views; 6 | using KSPModAdmin.Plugin.FlagsTab.Properties; 7 | 8 | namespace KSPModAdmin.Plugin.FlagsTab 9 | { 10 | /// 11 | /// KSP MA plugin container class. 12 | /// 13 | public class KSPMAPlugin : IKSPMAPlugin 14 | { 15 | private TabView[] mMainTabViews = null; 16 | private TabView[] mOptionTabViews = new List().ToArray(); // Initialize with an empty array if not needed. 17 | 18 | 19 | /// 20 | /// Name of the plugin. 21 | /// 22 | public string Name { get { return "FlagsTab Plugin"; } } 23 | 24 | /// 25 | /// Description of the plugin. 26 | /// 27 | public string Description 28 | { 29 | get 30 | { 31 | return "This Plugin adds a tab to manage the Flags of KSP."; 32 | } 33 | } 34 | 35 | /// 36 | /// Array of TabViews that the mod imports. 37 | /// 38 | public TabView[] MainTabViews 39 | { 40 | get 41 | { 42 | if (mMainTabViews == null) 43 | mMainTabViews = new[] { new TabView(new Guid("{7436866C-910D-4B11-ADB2-557FEB4BA378}"), new ucFlagsView(), Resources.flag_scotland) }; 44 | 45 | return mMainTabViews; 46 | } 47 | } 48 | 49 | /// 50 | /// Array of OptionTabViews that the mod imports. 51 | /// 52 | public TabView[] OptionTabViews 53 | { 54 | get 55 | { 56 | return mOptionTabViews; 57 | } 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.FlagsTab/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("KSPModAdmin aOS - FlagsTab Plugin")] 9 | [assembly: AssemblyDescription("A Plugin for KSP Mod Admin aOS that addes a tab to manage the flags of KSP.")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("KSPModAdmin FlagsTab Plugin")] 13 | [assembly: AssemblyCopyright("Copyright © Bastian Heinrich 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("41714B95-4F4E-426A-8D17-C2328ACAF05B")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.FlagsTab/Resources/Cant_Display_DDS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.FlagsTab/Resources/Cant_Display_DDS.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.FlagsTab/Resources/KMA2_Flag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.FlagsTab/Resources/KMA2_Flag.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.FlagsTab/Resources/flag_scotland.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.FlagsTab/Resources/flag_scotland.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.FlagsTab/Resources/flag_scotland_add_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.FlagsTab/Resources/flag_scotland_add_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.FlagsTab/Resources/flag_scotland_delete_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.FlagsTab/Resources/flag_scotland_delete_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.FlagsTab/Resources/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.FlagsTab/Resources/loader.gif -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.FlagsTab/Resources/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.FlagsTab/Resources/refresh.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/GlobalSuppressions.cs: -------------------------------------------------------------------------------- 1 | // This file is used by Code Analysis to maintain SuppressMessage 2 | // attributes that are applied to this project. 3 | // Project-level suppressions either have no target or are given 4 | // a specific target and scoped to a namespace, type, member, etc. 5 | 6 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Maintainability", "CC0097:You have missing/unexistent parameters in Xml Docs", Justification = "")] 7 | [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CC0057:Unused parameters", Justification = "")] 8 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/IKSPMAModBrowser.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Forms; 2 | 3 | namespace KSPModAdmin.Plugin.ModBrowserTab 4 | { 5 | /// 6 | /// Interface class for pluggable ModBrowsers. 7 | /// 8 | public interface IKSPMAModBrowser 9 | { 10 | /// 11 | /// Name of the plugin. 12 | /// 13 | string ModBrowserName { get; } 14 | 15 | /// 16 | /// Short description of the plugin. 17 | /// 18 | string Description { get; } 19 | 20 | /// 21 | /// View which should be added to the ModBrowser. 22 | /// 23 | UserControl ModBrowserView { get; } 24 | } 25 | } -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Model/CkanTreeModel.cs: -------------------------------------------------------------------------------- 1 | using KSPMODAdmin.Core.Utils.Ckan; 2 | using KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree; 3 | 4 | namespace KSPModAdmin.Plugin.ModBrowserTab.Model 5 | { 6 | /// 7 | /// The TreeModel for the ModBrowserCkan TreeView. 8 | /// 9 | public class CkanTreeModel : TreeModel 10 | { 11 | /// 12 | /// Adds the content of the CkanArchive to the CkanTreeModel. 13 | /// 14 | /// The archive to add. 15 | public void AddArchive(CkanArchive archive) 16 | { 17 | foreach (var mod in archive.Mods) 18 | Nodes.Add(new CkanNode(mod.Value)); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Model/KerbalStuffTreeModel.cs: -------------------------------------------------------------------------------- 1 | using KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree; 2 | 3 | namespace KSPModAdmin.Plugin.ModBrowserTab.Model 4 | { 5 | /// 6 | /// The TreeModel for the ModBrowserCkan TreeView. 7 | /// 8 | public class KerbalStuffTreeModel : TreeModel 9 | { 10 | 11 | } 12 | } -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("KSPModAdmin aOS - Template Plugin")] 9 | [assembly: AssemblyDescription("A Plugin that adds a ModBrowser to KSP Mod Admin aOS.")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("KSPModAdmin ModBrowserTab Plugin")] 13 | [assembly: AssemblyCopyright("Copyright © 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("C6BD93AC-7152-4A16-B6EE-E4136E56A1C8")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Properties/DataSources/LanguageEntry.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | KSPModAdmin.ModuleManager.Plugin.LanguageEntry, KSPModAdmin.ModuleManager.Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/component.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/component.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/component_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/component_add.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/component_gearwheel_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/component_gearwheel_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/components_gearwheel_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/components_gearwheel_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/earth_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/earth_window.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/folder.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/folder_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/folder_add.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/help2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/help2.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/loader.gif -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/navigate_beginning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/navigate_beginning.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/navigate_end.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/navigate_end.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/navigate_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/navigate_left.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/navigate_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/navigate_right.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/refresh.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/refresh_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/refresh_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.ModBrowserTab/Resources/replace_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.ModBrowserTab/Resources/replace_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Model/CraftsTreeModel.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree; 3 | 4 | namespace KSPModAdmin.Plugin.PartsAndCraftsTab.Model 5 | { 6 | /// 7 | /// Model for UcPartsTabView TreeViewAdv. 8 | /// 9 | public class CraftsTreeModel : TreeModel 10 | { 11 | /// 12 | /// Adds a CraftDataNode range to the Model. 13 | /// 14 | /// The nodes to add. 15 | /// A list of the added nodes. 16 | public List AddRange(List nodes) 17 | { 18 | List addedNodes = new List(); 19 | foreach (var node in nodes) 20 | { 21 | Nodes.Add(node); 22 | addedNodes.Add(node); 23 | } 24 | 25 | return addedNodes; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Model/PartsTreeModel.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using KSPModAdmin.Core.Utils.Controls.Aga.Controls.Tree; 3 | 4 | namespace KSPModAdmin.Plugin.PartsAndCraftsTab.Model 5 | { 6 | /// 7 | /// Model for UcPartsTabView TreeViewAdv. 8 | /// 9 | public class PartsTreeModel : TreeModel 10 | { 11 | /// 12 | /// Adds a BackupDataNode range to the Model. 13 | /// 14 | /// The nodes to add. 15 | /// A list of the added nodes. 16 | public List AddRange(List nodes) 17 | { 18 | List addedNodes = new List(); 19 | foreach (var node in nodes) 20 | { 21 | Nodes.Add(node); 22 | addedNodes.Add(node); 23 | } 24 | 25 | return addedNodes; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("KSPModAdmin aOS - PartsTab Plugin")] 9 | [assembly: AssemblyDescription("A PartsTab Plugin for KSP Mod Admin aOS.")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("KSPModAdmin PartsTab Plugin")] 13 | [assembly: AssemblyCopyright("Copyright © 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("41714B95-4F4E-426A-8D17-C2328ACAF05B")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Properties/DataSources/LanguageEntry.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | KSPModAdmin.ModuleManager.Plugin.LanguageEntry, KSPModAdmin.ModuleManager.Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_24x24_checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_24x24_checkbox_checked.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_24x24_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_24x24_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_24x24_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_24x24_replace.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_24x24_scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_24x24_scroll.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_checkbox_checked.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_replace.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/airplane_scroll.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_delete_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_delete_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_edit.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_edit_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_edit_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_folder_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_folder_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_replace.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_replace_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/brick_replace_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/bricks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/bricks.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/bricks_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/bricks_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/delete2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/delete2.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/help2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/help2.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/loader.gif -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/refresh.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/refresh_24x24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/refresh_24x24.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.PartsAndCraftsTab/Resources/tick.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Template/Controller/PluginViewController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Windows.Forms; 5 | using System.Xml; 6 | using KSPModAdmin.Core; 7 | using KSPModAdmin.Core.Controller; 8 | using KSPModAdmin.Core.Utils; 9 | using KSPModAdmin.Core.Utils.Localization; 10 | using KSPModAdmin.Plugin.Template.Views; 11 | 12 | namespace KSPModAdmin.Plugin.Template.Controller 13 | { 14 | /// 15 | /// Controller class for the Translation view. 16 | /// 17 | public class PluginViewController 18 | { 19 | /// 20 | /// Gets or sets the view of the controller. 21 | /// 22 | public static ucPluginView View { get; protected set; } 23 | 24 | internal static void Initialize(ucPluginView view) 25 | { 26 | View = view; 27 | 28 | EventDistributor.AsyncTaskStarted += AsyncTaskStarted; 29 | EventDistributor.AsyncTaskDone += AsyncTaskDone; 30 | 31 | // Add your stuff to initialize here. 32 | } 33 | 34 | #region EventDistributor callback functions. 35 | 36 | /// 37 | /// Callback function for the AsyncTaskStarted event. 38 | /// Should disable all controls of the BaseView. 39 | /// 40 | protected static void AsyncTaskStarted(object sender) 41 | { 42 | View.SetEnabledOfAllControls(false); 43 | } 44 | 45 | /// 46 | /// Callback function for the AsyncTaskDone event. 47 | /// Should enable all controls of the BaseView. 48 | /// 49 | protected static void AsyncTaskDone(object sender) 50 | { 51 | View.SetEnabledOfAllControls(true); 52 | } 53 | 54 | #endregion 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Template/KSPMAPlugin.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using KSPModAdmin.Core; 4 | using KSPModAdmin.Core.Utils; 5 | using KSPModAdmin.Plugin.Template.Properties; 6 | using KSPModAdmin.Plugin.Template.Views; 7 | 8 | namespace KSPModAdmin.Plugin.Template 9 | { 10 | /// 11 | /// KSP MA plugin container class. 12 | /// 13 | public class KSPMAPlugin : IKSPMAPlugin 14 | { 15 | private TabView[] mMainTabViews = null; 16 | private TabView[] mOptionTabViews = new List().ToArray(); // Initialize with an empty array if not needed. 17 | 18 | 19 | /// 20 | /// Name of the plugin. 21 | /// 22 | public string Name { get { return "Generic Plugin"; } } 23 | 24 | /// 25 | /// Description of the plugin. 26 | /// 27 | public string Description 28 | { 29 | get 30 | { 31 | return "This Plugin adds a tab to [insert purpose here]."; 32 | } 33 | } 34 | 35 | /// 36 | /// Array of TabViews that the mod imports. 37 | /// 38 | public TabView[] MainTabViews 39 | { 40 | get 41 | { 42 | if (mMainTabViews == null) 43 | mMainTabViews = new[] { new TabView(new Guid("{13FC3AEC-83C4-4BF3-948C-209A9043AC04}"), new ucPluginView(), Resources.Unknown) }; 44 | 45 | return mMainTabViews; 46 | } 47 | } 48 | 49 | /// 50 | /// Array of OptionTabViews that the mod imports. 51 | /// 52 | public TabView[] OptionTabViews 53 | { 54 | get 55 | { 56 | return mOptionTabViews; 57 | } 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Template/Languages/KSPMA.TemplatePlugin.eng.lang: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Template/Languages/KSPMA.TemplatePlugin.fake.lang: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Template/Messages.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Diagnostics.CodeAnalysis; 3 | using KSPModAdmin.Core.Utils.Localization; 4 | 5 | namespace KSPModAdmin.Plugin.Template 6 | { 7 | [SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Reviewed. Suppression is OK here.")] 8 | public class Messages 9 | { 10 | public static string MSG_TEMPLATE_VIEW_TITLE 11 | { 12 | get 13 | { 14 | string msg = Localizer.GlobalInstance["MSG_TEMPLATE_VIEW_TITLE"]; 15 | return (!string.IsNullOrEmpty(msg) ? msg : DEFAULT_MSG_TEMPLATE_VIEW_TITLE).Replace("^", Environment.NewLine); 16 | } 17 | } 18 | private const string DEFAULT_MSG_TEMPLATE_VIEW_TITLE = "Template"; 19 | 20 | 21 | // Add more messages here and use them in your code to support localization. 22 | // When you add new messages here you have to also add new line to all language files (here: KSPMA.TemplatePlugin.eng.lang and KSPMA.TemplatePlugin.fake.lang) 23 | // See the MSG_PLUGIN_VIEW_TITLE for a sample. 24 | } 25 | } -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Template/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("KSPModAdmin aOS - Template Plugin")] 9 | [assembly: AssemblyDescription("A Template Plugin for KSP Mod Admin aOS.")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("KSPModAdmin Template Plugin")] 13 | [assembly: AssemblyCopyright("Copyright © 2015")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("41714B95-4F4E-426A-8D17-C2328ACAF05B")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Template/Properties/DataSources/LanguageEntry.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | KSPModAdmin.ModuleManager.Plugin.LanguageEntry, KSPModAdmin.ModuleManager.Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Template/Resources/help2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.Template/Resources/help2.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation.Executable/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation.Executable/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | 4 | namespace KSPModAdmin.Plugin.Translation.Executable 5 | { 6 | /// 7 | /// Entry point. 8 | /// 9 | public static class Program 10 | { 11 | /// 12 | /// The main entry point for the application. 13 | /// 14 | [STAThread] 15 | public static void Main() 16 | { 17 | Application.EnableVisualStyles(); 18 | Application.SetCompatibleTextRenderingDefault(false); 19 | Application.Run(new frmMain()); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation.Executable/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("KSP Mod Admin Translation Tool")] 9 | [assembly: AssemblyDescription("A tool to translate the Controls and Messages of KSP Mod Admin aOS")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("KSPModAdmin Translation Tool")] 13 | [assembly: AssemblyCopyright("Copyright © Bastian Heinrich 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("f335596c-a02d-41b1-9406-5035abe930ab")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation.Executable/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 KSPModAdmin.Plugin.Translation.Executable.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.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 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation.Executable/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation.Executable/frmMain.cs: -------------------------------------------------------------------------------- 1 | using System.Diagnostics.CodeAnalysis; 2 | using System.Windows.Forms; 3 | 4 | namespace KSPModAdmin.Plugin.Translation.Executable 5 | { 6 | [SuppressMessage("StyleCop.CSharp.NamingRules", "SA1300:ElementMustBeginWithUpperCaseLetter", Justification = "Reviewed. Suppression is OK here.")] 7 | public partial class frmMain : Form 8 | { 9 | /// 10 | /// Creates a new instance of the frmMain class of the translation plugin. 11 | /// 12 | public frmMain() 13 | { 14 | InitializeComponent(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation/LanguageSelectInfo.cs: -------------------------------------------------------------------------------- 1 | namespace KSPModAdmin.Plugin.Translation 2 | { 3 | /// 4 | /// Class to hold the informations of the selected language. 5 | /// 6 | public class LanguageSelectInfo 7 | { 8 | /// 9 | /// Name of the language. 10 | /// 11 | public string Name { get; set; } 12 | 13 | /// 14 | /// Path to the language file. 15 | /// 16 | public string Path { get; set; } 17 | 18 | 19 | /// 20 | /// Creates a string from the class informations. 21 | /// 22 | /// Returns the value of the "Name" property. 23 | public override string ToString() 24 | { 25 | return (string.IsNullOrEmpty(Name) ? base.ToString() : Name); 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation/Languages/KSPMA.TranslationPlugin.eng.lang: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation/Languages/KSPMA.TranslationPlugin.fake.lang: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation/Languages/KSPMA.TranslationPlugin.ger.lang: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("KSPModAdmin aOS - Translation Plugin")] 9 | [assembly: AssemblyDescription("A Plugin for KSP Mod Admin aOS for easy translation.")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("KSPModAdmin Translation Plugin")] 13 | [assembly: AssemblyCopyright("Copyright © Bastian Heinrich 2014")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("98341609-44d0-49a6-950b-af0f86637819")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation/Properties/DataSources/LanguageEntry.datasource: -------------------------------------------------------------------------------- 1 |  2 | 8 | 9 | KSPModAdmin.Translation.Plugin.LanguageEntry, KSPModAdmin.Translation.Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 10 | -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation/Resources/disk_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.Translation/Resources/disk_blue.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation/Resources/pencil2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.Translation/Resources/pencil2.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation/Resources/pencil2_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.Translation/Resources/pencil2_delete.png -------------------------------------------------------------------------------- /KSPModAdmin.Plugin.Translation/Resources/text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin.Plugin.Translation/Resources/text.png -------------------------------------------------------------------------------- /KSPModAdmin.UnitTests/GitHubParserUnitTest.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using HtmlAgilityPack; 3 | using KSPModAdmin.Core.Utils.SiteHandler; 4 | using Microsoft.VisualStudio.TestTools.UnitTesting; 5 | 6 | namespace KSPModAdmin.UnitTests 7 | { 8 | [TestClass] 9 | public class GitHubParserUnitTest 10 | { 11 | private static HtmlDocument GitHubHtmlDocument { get; set; } 12 | 13 | [ClassInitialize] 14 | public static void InitTests(TestContext testContext) 15 | { 16 | string url = "https://github.com/KSP-RO/RealismOverhaul/releases"; // https://github.com/RemoteTechnologiesGroup/RemoteTech/releases 17 | HtmlWeb web = new HtmlWeb(); 18 | GitHubHtmlDocument = web.Load(url); 19 | } 20 | 21 | [TestMethod] 22 | public void GetDownloadInfos_Success() 23 | { 24 | var downloadInfos = GitHubParser.GetDownloadInfos(GitHubHtmlDocument); 25 | 26 | Assert.IsTrue(downloadInfos.Count > 0); 27 | } 28 | 29 | [TestMethod] 30 | public void GetUrlParts_Success() 31 | { 32 | var parts = GitHubHandler.GetUrlParts("https://github.com/KSP-RO/RealismOverhaul/releases"); 33 | var parts2 = GitHubHandler.GetUrlParts("https://github.com/krpc/krpc/releases"); 34 | 35 | Assert.IsTrue(parts.Count >= 4); 36 | Assert.IsTrue(parts2.Count >= 4); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /KSPModAdmin.UnitTests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | [assembly: AssemblyTitle("KSPModAdmin.UnitTests")] 6 | [assembly: AssemblyDescription("")] 7 | [assembly: AssemblyConfiguration("")] 8 | [assembly: AssemblyCompany("")] 9 | [assembly: AssemblyProduct("KSPModAdmin.UnitTests")] 10 | [assembly: AssemblyCopyright("Copyright © 2018")] 11 | [assembly: AssemblyTrademark("")] 12 | [assembly: AssemblyCulture("")] 13 | 14 | [assembly: ComVisible(false)] 15 | 16 | [assembly: Guid("c71da898-9690-4675-a7e1-93cf8100c36c")] 17 | 18 | // [assembly: AssemblyVersion("1.0.*")] 19 | [assembly: AssemblyVersion("1.0.0.0")] 20 | [assembly: AssemblyFileVersion("1.0.0.0")] 21 | -------------------------------------------------------------------------------- /KSPModAdmin.UnitTests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /KSPModAdmin.Updater/KSPModAdmin.Updater.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | archive="C:\Users\bheinrich\Desktop\pri\KSP\KSPModAdmin-v1.3.11_(12).zip" dest="C:\Users\bheinrich\Desktop\pri\Projects\KSPModAdmin\KSPModAdmin\branches\v1.3.7-working-copy\KSPModAdmin\bin\Debug" process="KSPMODAdmin" version="1.3.11" 5 | 6 | 7 | ShowAllFiles 8 | 9 | 10 | "archive=C:\Users\BHeinrich\Desktop\pri\KSP\KSPModAdmin-v2.0.0.10.zip" "dest=C:\Users\BHeinrich\Desktop\pri\Projects\KSP-Mod-Admin-aOS\KSPModAdmin\bin\Debug" process="KSPModAdmin" version="2.0.0.10" 11 | 12 | -------------------------------------------------------------------------------- /KSPModAdmin.Updater/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // Allgemeine Informationen über eine Assembly werden über die folgenden 6 | // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, 7 | // die mit einer Assembly verknüpft sind. 8 | [assembly: AssemblyTitle("KSP Mod Admin Updater")] 9 | [assembly: AssemblyDescription("KSP Mod Admin Updater is needed for the auto update function of KSP Mod Admin.")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("KSPModAdmin.Updater")] 13 | [assembly: AssemblyCopyright("Copyright © Bastian Heinrich")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar 18 | // für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von 19 | // COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest. 20 | [assembly: ComVisible(false)] 21 | 22 | // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird 23 | [assembly: Guid("fb1bcdf8-1ddf-4939-a6a3-fbe8b593e1b7")] 24 | 25 | // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: 26 | // 27 | // Hauptversion 28 | // Nebenversion 29 | // Buildnummer 30 | // Revision 31 | // 32 | // Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern 33 | // übernehmen, indem Sie "*" eingeben: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.1")] 36 | [assembly: AssemblyFileVersion("1.0.0.1")] 37 | -------------------------------------------------------------------------------- /KSPModAdmin.Updater/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /KSPModAdmin.Updater/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /KSPModAdmin/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /KSPModAdmin/KSPMA2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/KSPMA2.ico -------------------------------------------------------------------------------- /KSPModAdmin/KSPModAdmin.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ShowAllFiles 5 | 6 | -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/Icons/KMA2_16.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/Icons/KMA2_16.ico -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/Icons/KMA2_24.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/Icons/KMA2_24.ico -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/Icons/KMA2_256.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/Icons/KMA2_256.ico -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/Icons/KMA2_32.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/Icons/KMA2_32.ico -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/Icons/KMA2_48.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/Icons/KMA2_48.ico -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/Icons/KSPMA2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/Icons/KSPMA2.ico -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/KMA_Vectors.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/KMA_Vectors.ai -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/KMA_and_KMA2_icon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/KMA_and_KMA2_icon.psd -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_128.png -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_16.png -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_24.png -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_256.png -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_32.png -------------------------------------------------------------------------------- /KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Pics/KSPMA Icon/PNGs/KMA2_48.png -------------------------------------------------------------------------------- /KSPModAdmin/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("KSP Mod Admin AnyOS")] 9 | [assembly: AssemblyDescription("KSP Mod Admin AnyOS - A tool to manage the install and deinstall of mods for Kerbal Space Program.")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("KSPModAdmin")] 13 | [assembly: AssemblyCopyright("Copyright © Bastian Heinrich 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("270cff5c-0225-4c8d-997e-217c5a918605")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("2.3.0.9")] 36 | [assembly: AssemblyFileVersion("2.3.0.9")] 37 | -------------------------------------------------------------------------------- /KSPModAdmin/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 KSPModAdmin.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.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 | -------------------------------------------------------------------------------- /KSPModAdmin/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /KSPModAdmin/Resources/components.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Resources/components.png -------------------------------------------------------------------------------- /KSPModAdmin/Resources/components_tool_48x48.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Resources/components_tool_48x48.ico -------------------------------------------------------------------------------- /KSPModAdmin/Resources/gears.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MacTee/KSP-Mod-Admin-aOS/2cc04a63f45930983f1971fd9aa8397827f34c80/KSPModAdmin/Resources/gears.png -------------------------------------------------------------------------------- /KSPModAdmin/_main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows.Forms; 3 | using KSPModAdmin.Core.Controller; 4 | 5 | namespace KSPModAdmin 6 | { 7 | /// 8 | /// Entry point 9 | /// 10 | public static class Program 11 | { 12 | /// 13 | /// The main entry point for the application. 14 | /// 15 | [STAThread] 16 | public static void Main() 17 | { 18 | Application.EnableVisualStyles(); 19 | Application.SetCompatibleTextRenderingDefault(false); 20 | 21 | MainController.ShowMainForm(); 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /KSPModAdmin/docs/Licenses/FolderSelectionDialogLicense.txt: -------------------------------------------------------------------------------- 1 | I have found the FolderSelectionDialog and the Reflector classes on this Blog: 2 | http://www.lyquidity.com/devblog/?p=136 3 | 4 | Download the source code here: 5 | http://s3downloads.lyquidity.com/FolderSelectDialog/FolderSelectDialog.zip 6 | 7 | 8 | There’s no license as such as you are free to take and do with the code what you will. 9 | -------------------------------------------------------------------------------- /KSPModAdmin/docs/Licenses/TreeViewAdvLicense.txt: -------------------------------------------------------------------------------- 1 | The BSD License 2 | 3 | http://sourceforge.net/projects/treeviewadv/ 4 | Copyright (c) 2009, Andrey Gliznetsov (a.gliznetsov@gmail.com) 5 | 6 | All rights reserved. 7 | 8 | Redistribution and use in source and binary forms, with or without modification, are permitted provided 9 | that the following conditions are met 10 | 11 | - Redistributions of source code must retain the above copyright notice, this list of conditions 12 | and the following disclaimer. 13 | - Redistributions in binary form must reproduce the above copyright notice, this list of conditions 14 | and the following disclaimer in the documentation andor other materials provided with the distribution. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 17 | AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 18 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 19 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 23 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 24 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 25 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 26 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /packages/repositories.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | --------------------------------------------------------------------------------