Änderung

- Neu NxVersion Bibliothek (henxver.dll) eingebunden
  - Versionen werden wieder richtig aufgelöst
  - Versionen werden im Fenster wieder angezeigt
- Komprimierte Version erstellt
   - Bei der die DLLs eingebunden sind
   - Eigene EXE erstellt (DLL Ausgabe im About Fenster ausgeschaltet)
This commit is contained in:
Eugen Höglinger 2021-05-21 14:03:50 +02:00
parent ce06b7e7b7
commit b4f9ed7218
14 changed files with 5 additions and 5 deletions

View File

@ -141,7 +141,7 @@ namespace ShowInstalledNXversion
private void comboBoxInstalledNX_SelectedIndexChanged(object sender, EventArgs e)
{
NxVersion = comboBoxInstalledNX.SelectedItem.ToString();
Version = comboBoxInstalledNX.SelectedItem.ToString();
ShowVersion();
}
@ -160,7 +160,7 @@ namespace ShowInstalledNXversion
protected string InstallationFolder { private set; get; }
protected List<string> InstalledNxVersions { private set; get; }
protected string NxVersion { private set; get; }
protected string Version { private set; get; }
private void InstalledVersions()
{
@ -175,7 +175,7 @@ namespace ShowInstalledNXversion
}
comboBoxInstalledNX.SelectedIndex = 0;
comboBoxInstalledNX.Refresh();
NxVersion = comboBoxInstalledNX.SelectedItem.ToString();
Version = comboBoxInstalledNX.SelectedItem.ToString();
ShowVersion();
}
@ -212,9 +212,9 @@ namespace ShowInstalledNXversion
private void ShowVersion()
{
NxVersion nxVer = new NxVersion(String.Concat(InstallationFolder, "\\NX", NxVersion)); //Informationen über diese Version abrufen
NxVersion nxVer = new NxVersion(String.Concat(InstallationFolder, "\\NX", Version)); //Informationen über diese Version abrufen
if (Convert.ToInt32(NxVersion) <= 12)
if (Convert.ToInt32(Version) <= 12)
{
textBoxInstalledNxVersion.Text = nxVer.NXpatch;
}