diff --git a/CopyRelativePath.csproj b/CopyRelativePath.csproj index 9de3b7c..71a26d4 100644 --- a/CopyRelativePath.csproj +++ b/CopyRelativePath.csproj @@ -47,6 +47,7 @@ + Component diff --git a/FolderEditor.cs b/FolderEditor.cs new file mode 100644 index 0000000..72dc667 --- /dev/null +++ b/FolderEditor.cs @@ -0,0 +1,17 @@ +// Copyright (c) mere-human. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. + +using System.Windows.Forms.Design; + +namespace CopyRelativePath +{ + // Note: A better alternative could be CommonOpenFileDialog + class FolderEditor : FolderNameEditor + { + protected override void InitializeDialog(FolderBrowser folderBrowser) + { + base.InitializeDialog(folderBrowser); + folderBrowser.Description = "Base Directory for Relative Path"; + } + } +} \ No newline at end of file diff --git a/OptionPageGrid.cs b/OptionPageGrid.cs index ca38cd3..e0efa5c 100644 --- a/OptionPageGrid.cs +++ b/OptionPageGrid.cs @@ -10,16 +10,6 @@ namespace CopyRelativePath { - // Note: A better alternative could be CommonOpenFileDialog - internal class FolderEditor : FolderNameEditor - { - protected override void InitializeDialog(FolderBrowser folderBrowser) - { - base.InitializeDialog(folderBrowser); - folderBrowser.Description = "Base Directory for Relative Path"; - } - } - public class OptionPageGrid : DialogPage { public const string ExtensionName = "Copy Path Extension";