Aktualisiert

- .NET-Framework auf 4.8 gehoben
- Fehler im UI behoben
This commit is contained in:
Eugen Höglinger 2023-11-13 15:52:02 +01:00
parent bb221e790e
commit e2ccc63fcd
25 changed files with 86 additions and 71 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<startup> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup> </startup>
</configuration> </configuration>

View File

@ -64,7 +64,7 @@ namespace ShowInstalledNXversion
this.groupBoxSelect.Controls.Add(this.labelInstallationFolder); this.groupBoxSelect.Controls.Add(this.labelInstallationFolder);
this.groupBoxSelect.Location = new System.Drawing.Point(12, 12); this.groupBoxSelect.Location = new System.Drawing.Point(12, 12);
this.groupBoxSelect.Name = "groupBoxSelect"; this.groupBoxSelect.Name = "groupBoxSelect";
this.groupBoxSelect.Size = new System.Drawing.Size(381, 72); this.groupBoxSelect.Size = new System.Drawing.Size(350, 72);
this.groupBoxSelect.TabIndex = 1; this.groupBoxSelect.TabIndex = 1;
this.groupBoxSelect.TabStop = false; this.groupBoxSelect.TabStop = false;
this.groupBoxSelect.Text = "Auswahl"; this.groupBoxSelect.Text = "Auswahl";
@ -74,7 +74,7 @@ namespace ShowInstalledNXversion
this.comboBoxInstalledNX.FormattingEnabled = true; this.comboBoxInstalledNX.FormattingEnabled = true;
this.comboBoxInstalledNX.Location = new System.Drawing.Point(127, 45); this.comboBoxInstalledNX.Location = new System.Drawing.Point(127, 45);
this.comboBoxInstalledNX.Name = "comboBoxInstalledNX"; this.comboBoxInstalledNX.Name = "comboBoxInstalledNX";
this.comboBoxInstalledNX.Size = new System.Drawing.Size(247, 21); this.comboBoxInstalledNX.Size = new System.Drawing.Size(217, 21);
this.comboBoxInstalledNX.TabIndex = 5; this.comboBoxInstalledNX.TabIndex = 5;
this.comboBoxInstalledNX.SelectedIndexChanged += new System.EventHandler(this.comboBoxInstalledNX_SelectedIndexChanged); this.comboBoxInstalledNX.SelectedIndexChanged += new System.EventHandler(this.comboBoxInstalledNX_SelectedIndexChanged);
// //
@ -83,13 +83,13 @@ namespace ShowInstalledNXversion
this.label1.AutoSize = true; this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(6, 49); this.label1.Location = new System.Drawing.Point(6, 49);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(60, 13); this.label1.Size = new System.Drawing.Size(88, 13);
this.label1.TabIndex = 4; this.label1.TabIndex = 4;
this.label1.Text = "NX Version"; this.label1.Text = "NX Basis-Version";
// //
// buttonInstallationFolder // buttonInstallationFolder
// //
this.buttonInstallationFolder.Location = new System.Drawing.Point(300, 17); this.buttonInstallationFolder.Location = new System.Drawing.Point(269, 16);
this.buttonInstallationFolder.Name = "buttonInstallationFolder"; this.buttonInstallationFolder.Name = "buttonInstallationFolder";
this.buttonInstallationFolder.Size = new System.Drawing.Size(75, 23); this.buttonInstallationFolder.Size = new System.Drawing.Size(75, 23);
this.buttonInstallationFolder.TabIndex = 2; this.buttonInstallationFolder.TabIndex = 2;
@ -101,7 +101,7 @@ namespace ShowInstalledNXversion
// //
this.textBoxInstallationFolder.Location = new System.Drawing.Point(127, 19); this.textBoxInstallationFolder.Location = new System.Drawing.Point(127, 19);
this.textBoxInstallationFolder.Name = "textBoxInstallationFolder"; this.textBoxInstallationFolder.Name = "textBoxInstallationFolder";
this.textBoxInstallationFolder.Size = new System.Drawing.Size(167, 20); this.textBoxInstallationFolder.Size = new System.Drawing.Size(136, 20);
this.textBoxInstallationFolder.TabIndex = 1; this.textBoxInstallationFolder.TabIndex = 1;
this.textBoxInstallationFolder.Text = "C:\\CAD"; this.textBoxInstallationFolder.Text = "C:\\CAD";
this.textBoxInstallationFolder.TextChanged += new System.EventHandler(this.textBoxInstallationFolder_TextChanged); this.textBoxInstallationFolder.TextChanged += new System.EventHandler(this.textBoxInstallationFolder_TextChanged);
@ -113,17 +113,17 @@ namespace ShowInstalledNXversion
this.groupBoxResult.Controls.Add(this.labelInstalledNxVersion); this.groupBoxResult.Controls.Add(this.labelInstalledNxVersion);
this.groupBoxResult.Location = new System.Drawing.Point(12, 90); this.groupBoxResult.Location = new System.Drawing.Point(12, 90);
this.groupBoxResult.Name = "groupBoxResult"; this.groupBoxResult.Name = "groupBoxResult";
this.groupBoxResult.Size = new System.Drawing.Size(380, 46); this.groupBoxResult.Size = new System.Drawing.Size(350, 46);
this.groupBoxResult.TabIndex = 2; this.groupBoxResult.TabIndex = 2;
this.groupBoxResult.TabStop = false; this.groupBoxResult.TabStop = false;
this.groupBoxResult.Text = "Ergebnis"; this.groupBoxResult.Text = "Ergebnis";
// //
// textBoxInstalledNxVersion // textBoxInstalledNxVersion
// //
this.textBoxInstalledNxVersion.Location = new System.Drawing.Point(127, 20); this.textBoxInstalledNxVersion.Location = new System.Drawing.Point(122, 20);
this.textBoxInstalledNxVersion.Name = "textBoxInstalledNxVersion"; this.textBoxInstalledNxVersion.Name = "textBoxInstalledNxVersion";
this.textBoxInstalledNxVersion.ReadOnly = true; this.textBoxInstalledNxVersion.ReadOnly = true;
this.textBoxInstalledNxVersion.Size = new System.Drawing.Size(247, 20); this.textBoxInstalledNxVersion.Size = new System.Drawing.Size(222, 20);
this.textBoxInstalledNxVersion.TabIndex = 1; this.textBoxInstalledNxVersion.TabIndex = 1;
// //
// labelInstalledNxVersion // labelInstalledNxVersion
@ -137,19 +137,19 @@ namespace ShowInstalledNXversion
// //
// buttonExportVersion // buttonExportVersion
// //
this.buttonExportVersion.Location = new System.Drawing.Point(12, 143); this.buttonExportVersion.Location = new System.Drawing.Point(12, 142);
this.buttonExportVersion.Name = "buttonExportVersion"; this.buttonExportVersion.Name = "buttonExportVersion";
this.buttonExportVersion.Size = new System.Drawing.Size(336, 23); this.buttonExportVersion.Size = new System.Drawing.Size(305, 23);
this.buttonExportVersion.TabIndex = 3; this.buttonExportVersion.TabIndex = 3;
this.buttonExportVersion.Text = "Exportiere alle Installationen in \'InstalledNX-Versions.txt\' am Desktop"; this.buttonExportVersion.Text = "Alle Infos nach \'Desktop\\InstalledNX-Versions.txt\' exportieren";
this.buttonExportVersion.UseVisualStyleBackColor = true; this.buttonExportVersion.UseVisualStyleBackColor = true;
this.buttonExportVersion.Click += new System.EventHandler(this.buttonExportVersion_Click); this.buttonExportVersion.Click += new System.EventHandler(this.buttonExportVersion_Click);
// //
// buttonAbout // buttonAbout
// //
this.buttonAbout.Location = new System.Drawing.Point(354, 143); this.buttonAbout.Location = new System.Drawing.Point(323, 142);
this.buttonAbout.Name = "buttonAbout"; this.buttonAbout.Name = "buttonAbout";
this.buttonAbout.Size = new System.Drawing.Size(38, 23); this.buttonAbout.Size = new System.Drawing.Size(39, 23);
this.buttonAbout.TabIndex = 4; this.buttonAbout.TabIndex = 4;
this.buttonAbout.Text = "Über"; this.buttonAbout.Text = "Über";
this.buttonAbout.UseVisualStyleBackColor = true; this.buttonAbout.UseVisualStyleBackColor = true;
@ -159,7 +159,7 @@ namespace ShowInstalledNXversion
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(404, 178); this.ClientSize = new System.Drawing.Size(374, 177);
this.Controls.Add(this.buttonAbout); this.Controls.Add(this.buttonAbout);
this.Controls.Add(this.buttonExportVersion); this.Controls.Add(this.buttonExportVersion);
this.Controls.Add(this.groupBoxResult); this.Controls.Add(this.groupBoxResult);

View File

@ -1,68 +1,61 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Dieser Code wurde von einem Tool generiert. // Dieser Code wurde von einem Tool generiert.
// Laufzeitversion: 4.0.30319.42000 // Laufzeitversion:4.0.30319.42000
// //
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code neu generiert wird. // der Code erneut generiert wird.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace ShowInstalledNXversion.Properties {
namespace ShowInstalledNXversion.Properties using System;
{
/// <summary> /// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary> /// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
// über ein Tool wie ResGen oder Visual Studio automatisch generiert. // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu. // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources internal class Resources {
{
private static global::System.Resources.ResourceManager resourceMan; private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture; private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() internal Resources() {
{
} }
/// <summary> /// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// </summary> /// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager internal static global::System.Resources.ResourceManager ResourceManager {
{ get {
get if (object.ReferenceEquals(resourceMan, null)) {
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ShowInstalledNXversion.Properties.Resources", typeof(Resources).Assembly); global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ShowInstalledNXversion.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp; resourceMan = temp;
} }
return resourceMan; return resourceMan;
} }
} }
/// <summary> /// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden. /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
/// </summary> /// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture internal static global::System.Globalization.CultureInfo Culture {
{ get {
get
{
return resourceCulture; return resourceCulture;
} }
set set {
{
resourceCulture = value; resourceCulture = value;
} }
} }

View File

@ -1,27 +1,24 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // Dieser Code wurde von einem Tool generiert.
// Runtime Version:4.0.30319.42000 // Laufzeitversion:4.0.30319.42000
// //
// Changes to this file may cause incorrect behavior and will be lost if // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// the code is regenerated. // der Code erneut generiert wird.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace ShowInstalledNXversion.Properties {
namespace ShowInstalledNXversion.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.7.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default public static Settings Default {
{ get {
get
{
return defaultInstance; return defaultInstance;
} }
} }

View File

@ -8,10 +8,11 @@
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<RootNamespace>ShowInstalledNXversion</RootNamespace> <RootNamespace>ShowInstalledNXversion</RootNamespace>
<AssemblyName>ShowInstalledNXversion</AssemblyName> <AssemblyName>ShowInstalledNXversion</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>false</Deterministic> <Deterministic>false</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
@ -79,6 +80,7 @@
<Compile Include="Properties\Resources.Designer.cs"> <Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen> <AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon> <DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile> </Compile>
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8"?>
<configuration> <configuration>
<startup> <startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" /> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup> </startup>
</configuration> </configuration>

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]

View File

@ -1 +1 @@
a8f1d44814445f7273189101ea924fc6805765a9 6cb86a08b9097cc978e5a607d78c62ae4c082ec3

View File

@ -17,3 +17,22 @@ H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversio
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\de\heabox.resources.dll H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\de\heabox.resources.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\en\heabox.resources.dll H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\en\heabox.resources.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.csproj.AssemblyReference.cache H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.csproj.AssemblyReference.cache
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.csproj.AssemblyReference.cache
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.Form1.resources
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.Properties.Resources.resources
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.csproj.GenerateResource.cache
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.csproj.CoreCompileInputs.cache
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.exe
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.pdb
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\ShowInstalledNXversion.exe.config
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\ShowInstalledNXversion.exe
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\ShowInstalledNXversion.pdb
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\heabox.dll
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\henxver.dll
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\herfoffo.dll
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\heabox.pdb
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\henxver.pdb
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\herfoffo.pdb
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\de\heabox.resources.dll
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\en\heabox.resources.dll
C:\CAD\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.csproj.CopyComplete