Änderung
- Export Routine auf static umgestellt
This commit is contained in:
parent
67af2983c9
commit
ed617d9051
Binary file not shown.
@ -154,7 +154,7 @@ namespace ShowInstalledNXversion
|
|||||||
|
|
||||||
private void buttonShowVersion_Click(object sender, EventArgs e)
|
private void buttonShowVersion_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var wltd = new WriteListToDesktop(InstallationFolder, InstalledNxVersions);
|
WriteListToDesktop.Write(InstallationFolder, InstalledNxVersions);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected string InstallationFolder { private set; get; }
|
protected string InstallationFolder { private set; get; }
|
||||||
|
|||||||
@ -8,9 +8,9 @@ using Eugen.NX;
|
|||||||
|
|
||||||
namespace ShowInstalledNXversion
|
namespace ShowInstalledNXversion
|
||||||
{
|
{
|
||||||
class WriteListToDesktop
|
public static class WriteListToDesktop
|
||||||
{
|
{
|
||||||
public WriteListToDesktop(string installationFolder, List<string> verList)
|
public static void Write(string installationFolder, List<string> verList)
|
||||||
{
|
{
|
||||||
VerList = verList;
|
VerList = verList;
|
||||||
InstallationFolder = installationFolder;
|
InstallationFolder = installationFolder;
|
||||||
@ -25,10 +25,10 @@ namespace ShowInstalledNXversion
|
|||||||
File.WriteAllLines(String.Concat(path, "\\", fileName, ".", ext), list);
|
File.WriteAllLines(String.Concat(path, "\\", fileName, ".", ext), list);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected string InstallationFolder { private set; get; }
|
private static string InstallationFolder { set; get; }
|
||||||
protected List<string> VerList { private set; get; }
|
private static List<string> VerList { set; get; }
|
||||||
|
|
||||||
private List<string> CreateList()
|
private static List<string> CreateList()
|
||||||
{
|
{
|
||||||
List<string> list = new List<string>();
|
List<string> list = new List<string>();
|
||||||
list.Clear();
|
list.Clear();
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user