diff --git a/.vs/ShowInstalledNXversion.git/v16/.suo b/.vs/ShowInstalledNXversion.git/v16/.suo index ea597eb..4354531 100644 Binary files a/.vs/ShowInstalledNXversion.git/v16/.suo and b/.vs/ShowInstalledNXversion.git/v16/.suo differ diff --git a/ShowInstalledNXversion/Form1.cs b/ShowInstalledNXversion/Form1.cs index 4545696..a9e967f 100644 --- a/ShowInstalledNXversion/Form1.cs +++ b/ShowInstalledNXversion/Form1.cs @@ -154,7 +154,7 @@ namespace ShowInstalledNXversion private void buttonShowVersion_Click(object sender, EventArgs e) { - var wltd = new WriteListToDesktop(InstallationFolder, InstalledNxVersions); + WriteListToDesktop.Write(InstallationFolder, InstalledNxVersions); } protected string InstallationFolder { private set; get; } diff --git a/ShowInstalledNXversion/WriteListToDesktop.cs b/ShowInstalledNXversion/WriteListToDesktop.cs index 3a18229..d82a0d3 100644 --- a/ShowInstalledNXversion/WriteListToDesktop.cs +++ b/ShowInstalledNXversion/WriteListToDesktop.cs @@ -8,9 +8,9 @@ using Eugen.NX; namespace ShowInstalledNXversion { - class WriteListToDesktop + public static class WriteListToDesktop { - public WriteListToDesktop(string installationFolder, List verList) + public static void Write(string installationFolder, List verList) { VerList = verList; InstallationFolder = installationFolder; @@ -25,10 +25,10 @@ namespace ShowInstalledNXversion File.WriteAllLines(String.Concat(path, "\\", fileName, ".", ext), list); } - protected string InstallationFolder { private set; get; } - protected List VerList { private set; get; } + private static string InstallationFolder { set; get; } + private static List VerList { set; get; } - private List CreateList() + private static List CreateList() { List list = new List(); list.Clear(); diff --git a/ShowInstalledNXversion/bin/Debug/ShowInstalledNXversion.exe b/ShowInstalledNXversion/bin/Debug/ShowInstalledNXversion.exe index 68e8806..5aadea8 100644 Binary files a/ShowInstalledNXversion/bin/Debug/ShowInstalledNXversion.exe and b/ShowInstalledNXversion/bin/Debug/ShowInstalledNXversion.exe differ diff --git a/ShowInstalledNXversion/bin/Debug/ShowInstalledNXversion.pdb b/ShowInstalledNXversion/bin/Debug/ShowInstalledNXversion.pdb index 17b57dc..e5df515 100644 Binary files a/ShowInstalledNXversion/bin/Debug/ShowInstalledNXversion.pdb and b/ShowInstalledNXversion/bin/Debug/ShowInstalledNXversion.pdb differ diff --git a/ShowInstalledNXversion/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/ShowInstalledNXversion/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index e9abafc..856b7ac 100644 Binary files a/ShowInstalledNXversion/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/ShowInstalledNXversion/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.csproj.GenerateResource.cache b/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.csproj.GenerateResource.cache index b6129f4..e30a3d9 100644 Binary files a/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.csproj.GenerateResource.cache and b/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.csproj.GenerateResource.cache differ diff --git a/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.csprojAssemblyReference.cache b/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.csprojAssemblyReference.cache index 93bd2f7..ca0037d 100644 Binary files a/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.csprojAssemblyReference.cache and b/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.csprojAssemblyReference.cache differ diff --git a/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.exe b/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.exe index 68e8806..5aadea8 100644 Binary files a/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.exe and b/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.exe differ diff --git a/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.pdb b/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.pdb index 17b57dc..e5df515 100644 Binary files a/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.pdb and b/ShowInstalledNXversion/obj/Debug/ShowInstalledNXversion.pdb differ