Änderung
- Programm Info Fenster (About) neu dazu
This commit is contained in:
parent
ed617d9051
commit
ce06b7e7b7
Binary file not shown.
67
ShowInstalledNXversion/Form1.Designer.cs
generated
67
ShowInstalledNXversion/Form1.Designer.cs
generated
@ -39,7 +39,8 @@ namespace ShowInstalledNXversion
|
|||||||
this.groupBoxResult = new System.Windows.Forms.GroupBox();
|
this.groupBoxResult = new System.Windows.Forms.GroupBox();
|
||||||
this.textBoxInstalledNxVersion = new System.Windows.Forms.TextBox();
|
this.textBoxInstalledNxVersion = new System.Windows.Forms.TextBox();
|
||||||
this.labelInstalledNxVersion = new System.Windows.Forms.Label();
|
this.labelInstalledNxVersion = new System.Windows.Forms.Label();
|
||||||
this.buttonShowVersion = new System.Windows.Forms.Button();
|
this.buttonExportVersion = new System.Windows.Forms.Button();
|
||||||
|
this.buttonAbout = new System.Windows.Forms.Button();
|
||||||
this.groupBoxSelect.SuspendLayout();
|
this.groupBoxSelect.SuspendLayout();
|
||||||
this.groupBoxResult.SuspendLayout();
|
this.groupBoxResult.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
@ -49,9 +50,9 @@ namespace ShowInstalledNXversion
|
|||||||
this.labelInstallationFolder.AutoSize = true;
|
this.labelInstallationFolder.AutoSize = true;
|
||||||
this.labelInstallationFolder.Location = new System.Drawing.Point(6, 22);
|
this.labelInstallationFolder.Location = new System.Drawing.Point(6, 22);
|
||||||
this.labelInstallationFolder.Name = "labelInstallationFolder";
|
this.labelInstallationFolder.Name = "labelInstallationFolder";
|
||||||
this.labelInstallationFolder.Size = new System.Drawing.Size(89, 13);
|
this.labelInstallationFolder.Size = new System.Drawing.Size(115, 13);
|
||||||
this.labelInstallationFolder.TabIndex = 0;
|
this.labelInstallationFolder.TabIndex = 0;
|
||||||
this.labelInstallationFolder.Text = "Installation Folder";
|
this.labelInstallationFolder.Text = "Installationsverzeichnis";
|
||||||
//
|
//
|
||||||
// groupBoxSelect
|
// groupBoxSelect
|
||||||
//
|
//
|
||||||
@ -62,17 +63,17 @@ 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(369, 72);
|
this.groupBoxSelect.Size = new System.Drawing.Size(381, 72);
|
||||||
this.groupBoxSelect.TabIndex = 1;
|
this.groupBoxSelect.TabIndex = 1;
|
||||||
this.groupBoxSelect.TabStop = false;
|
this.groupBoxSelect.TabStop = false;
|
||||||
this.groupBoxSelect.Text = "Select";
|
this.groupBoxSelect.Text = "Auswahl";
|
||||||
//
|
//
|
||||||
// comboBoxInstalledNX
|
// comboBoxInstalledNX
|
||||||
//
|
//
|
||||||
this.comboBoxInstalledNX.FormattingEnabled = true;
|
this.comboBoxInstalledNX.FormattingEnabled = true;
|
||||||
this.comboBoxInstalledNX.Location = new System.Drawing.Point(112, 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(250, 21);
|
this.comboBoxInstalledNX.Size = new System.Drawing.Size(247, 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);
|
||||||
//
|
//
|
||||||
@ -87,7 +88,7 @@ namespace ShowInstalledNXversion
|
|||||||
//
|
//
|
||||||
// buttonInstallationFolder
|
// buttonInstallationFolder
|
||||||
//
|
//
|
||||||
this.buttonInstallationFolder.Location = new System.Drawing.Point(288, 17);
|
this.buttonInstallationFolder.Location = new System.Drawing.Point(300, 17);
|
||||||
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;
|
||||||
@ -97,9 +98,9 @@ namespace ShowInstalledNXversion
|
|||||||
//
|
//
|
||||||
// textBoxInstallationFolder
|
// textBoxInstallationFolder
|
||||||
//
|
//
|
||||||
this.textBoxInstallationFolder.Location = new System.Drawing.Point(112, 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(170, 20);
|
this.textBoxInstallationFolder.Size = new System.Drawing.Size(167, 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);
|
||||||
@ -111,17 +112,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(368, 46);
|
this.groupBoxResult.Size = new System.Drawing.Size(380, 46);
|
||||||
this.groupBoxResult.TabIndex = 2;
|
this.groupBoxResult.TabIndex = 2;
|
||||||
this.groupBoxResult.TabStop = false;
|
this.groupBoxResult.TabStop = false;
|
||||||
this.groupBoxResult.Text = "Result";
|
this.groupBoxResult.Text = "Ergebnis";
|
||||||
//
|
//
|
||||||
// textBoxInstalledNxVersion
|
// textBoxInstalledNxVersion
|
||||||
//
|
//
|
||||||
this.textBoxInstalledNxVersion.Location = new System.Drawing.Point(111, 20);
|
this.textBoxInstalledNxVersion.Location = new System.Drawing.Point(127, 20);
|
||||||
this.textBoxInstalledNxVersion.Name = "textBoxInstalledNxVersion";
|
this.textBoxInstalledNxVersion.Name = "textBoxInstalledNxVersion";
|
||||||
this.textBoxInstalledNxVersion.ReadOnly = true;
|
this.textBoxInstalledNxVersion.ReadOnly = true;
|
||||||
this.textBoxInstalledNxVersion.Size = new System.Drawing.Size(251, 20);
|
this.textBoxInstalledNxVersion.Size = new System.Drawing.Size(247, 20);
|
||||||
this.textBoxInstalledNxVersion.TabIndex = 1;
|
this.textBoxInstalledNxVersion.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// labelInstalledNxVersion
|
// labelInstalledNxVersion
|
||||||
@ -129,26 +130,37 @@ namespace ShowInstalledNXversion
|
|||||||
this.labelInstalledNxVersion.AutoSize = true;
|
this.labelInstalledNxVersion.AutoSize = true;
|
||||||
this.labelInstalledNxVersion.Location = new System.Drawing.Point(6, 23);
|
this.labelInstalledNxVersion.Location = new System.Drawing.Point(6, 23);
|
||||||
this.labelInstalledNxVersion.Name = "labelInstalledNxVersion";
|
this.labelInstalledNxVersion.Name = "labelInstalledNxVersion";
|
||||||
this.labelInstalledNxVersion.Size = new System.Drawing.Size(102, 13);
|
this.labelInstalledNxVersion.Size = new System.Drawing.Size(110, 13);
|
||||||
this.labelInstalledNxVersion.TabIndex = 0;
|
this.labelInstalledNxVersion.TabIndex = 0;
|
||||||
this.labelInstalledNxVersion.Text = "Installed NX Version";
|
this.labelInstalledNxVersion.Text = "Installierte NX Version";
|
||||||
//
|
//
|
||||||
// buttonShowVersion
|
// buttonExportVersion
|
||||||
//
|
//
|
||||||
this.buttonShowVersion.Location = new System.Drawing.Point(12, 143);
|
this.buttonExportVersion.Location = new System.Drawing.Point(12, 143);
|
||||||
this.buttonShowVersion.Name = "buttonShowVersion";
|
this.buttonExportVersion.Name = "buttonExportVersion";
|
||||||
this.buttonShowVersion.Size = new System.Drawing.Size(368, 23);
|
this.buttonExportVersion.Size = new System.Drawing.Size(336, 23);
|
||||||
this.buttonShowVersion.TabIndex = 3;
|
this.buttonExportVersion.TabIndex = 3;
|
||||||
this.buttonShowVersion.Text = "Export all NX installation to \'Installed NX-Versions.txt\' on the Desktop";
|
this.buttonExportVersion.Text = "Exportiere alle Installatione in \'InstalledNX-Versions.txt\' am Desktop";
|
||||||
this.buttonShowVersion.UseVisualStyleBackColor = true;
|
this.buttonExportVersion.UseVisualStyleBackColor = true;
|
||||||
this.buttonShowVersion.Click += new System.EventHandler(this.buttonShowVersion_Click);
|
this.buttonExportVersion.Click += new System.EventHandler(this.buttonExportVersion_Click);
|
||||||
|
//
|
||||||
|
// buttonAbout
|
||||||
|
//
|
||||||
|
this.buttonAbout.Location = new System.Drawing.Point(354, 143);
|
||||||
|
this.buttonAbout.Name = "buttonAbout";
|
||||||
|
this.buttonAbout.Size = new System.Drawing.Size(38, 23);
|
||||||
|
this.buttonAbout.TabIndex = 4;
|
||||||
|
this.buttonAbout.Text = "Über";
|
||||||
|
this.buttonAbout.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonAbout.Click += new System.EventHandler(this.buttonAbout_Click);
|
||||||
//
|
//
|
||||||
// Form1
|
// Form1
|
||||||
//
|
//
|
||||||
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(392, 178);
|
this.ClientSize = new System.Drawing.Size(404, 178);
|
||||||
this.Controls.Add(this.buttonShowVersion);
|
this.Controls.Add(this.buttonAbout);
|
||||||
|
this.Controls.Add(this.buttonExportVersion);
|
||||||
this.Controls.Add(this.groupBoxResult);
|
this.Controls.Add(this.groupBoxResult);
|
||||||
this.Controls.Add(this.groupBoxSelect);
|
this.Controls.Add(this.groupBoxSelect);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||||
@ -175,8 +187,9 @@ namespace ShowInstalledNXversion
|
|||||||
private System.Windows.Forms.GroupBox groupBoxResult;
|
private System.Windows.Forms.GroupBox groupBoxResult;
|
||||||
private System.Windows.Forms.TextBox textBoxInstalledNxVersion;
|
private System.Windows.Forms.TextBox textBoxInstalledNxVersion;
|
||||||
private System.Windows.Forms.Label labelInstalledNxVersion;
|
private System.Windows.Forms.Label labelInstalledNxVersion;
|
||||||
private System.Windows.Forms.Button buttonShowVersion;
|
private System.Windows.Forms.Button buttonExportVersion;
|
||||||
private System.Windows.Forms.ComboBox comboBoxInstalledNX;
|
private System.Windows.Forms.ComboBox comboBoxInstalledNX;
|
||||||
|
private System.Windows.Forms.Button buttonAbout;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,17 +1,11 @@
|
|||||||
using System;
|
using Eugen.ESystem.IO;
|
||||||
using System.Collections.Generic;
|
using Eugen.ESystem.Windows.Forms;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
using Eugen.ESystem;
|
|
||||||
using Eugen.ESystem.IO;
|
|
||||||
using Eugen.NX;
|
using Eugen.NX;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace ShowInstalledNXversion
|
namespace ShowInstalledNXversion
|
||||||
{
|
{
|
||||||
@ -152,11 +146,18 @@ namespace ShowInstalledNXversion
|
|||||||
ShowVersion();
|
ShowVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void buttonShowVersion_Click(object sender, EventArgs e)
|
private void buttonExportVersion_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
WriteListToDesktop.Write(InstallationFolder, InstalledNxVersions);
|
WriteListToDesktop.Write(InstallationFolder, InstalledNxVersions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void buttonAbout_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//Zeigt das 'AboutBox' Fenster an
|
||||||
|
var about = new AboutBox(ProgramName, ProgramVersion, Copyright, true, 550, 400);
|
||||||
|
about.ShowDialog();
|
||||||
|
}
|
||||||
|
|
||||||
protected string InstallationFolder { private set; get; }
|
protected string InstallationFolder { private set; get; }
|
||||||
protected List<string> InstalledNxVersions { private set; get; }
|
protected List<string> InstalledNxVersions { private set; get; }
|
||||||
protected string NxVersion { private set; get; }
|
protected string NxVersion { private set; get; }
|
||||||
|
|||||||
@ -33,6 +33,9 @@
|
|||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Reference Include="heabox">
|
||||||
|
<HintPath>..\..\..\_DLL\AboutBox.git\AboutBox\bin\Debug\heabox.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="henxver">
|
<Reference Include="henxver">
|
||||||
<HintPath>..\..\..\_DLL\NxVersion.git\NxVersion\bin\Debug\henxver.dll</HintPath>
|
<HintPath>..\..\..\_DLL\NxVersion.git\NxVersion\bin\Debug\henxver.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
ShowInstalledNXversion/bin/Debug/de/heabox.resources.dll
Normal file
BIN
ShowInstalledNXversion/bin/Debug/de/heabox.resources.dll
Normal file
Binary file not shown.
BIN
ShowInstalledNXversion/bin/Debug/en/heabox.resources.dll
Normal file
BIN
ShowInstalledNXversion/bin/Debug/en/heabox.resources.dll
Normal file
Binary file not shown.
BIN
ShowInstalledNXversion/bin/Debug/heabox.dll
Normal file
BIN
ShowInstalledNXversion/bin/Debug/heabox.dll
Normal file
Binary file not shown.
BIN
ShowInstalledNXversion/bin/Debug/heabox.pdb
Normal file
BIN
ShowInstalledNXversion/bin/Debug/heabox.pdb
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
998d7a179fd4fed6e53318402ca043fe3eaee5ee
|
a8f1d44814445f7273189101ea924fc6805765a9
|
||||||
|
|||||||
@ -13,3 +13,7 @@ H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversio
|
|||||||
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.csproj.CopyComplete
|
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\obj\Debug\ShowInstalledNXversion.csproj.CopyComplete
|
||||||
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\henxver.dll
|
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\henxver.dll
|
||||||
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\henxver.pdb
|
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\henxver.pdb
|
||||||
|
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\heabox.dll
|
||||||
|
H:\Programmieren\Git-WorkRepository\VisualStudio\_PROJEKTE\ShowInstalledNXversion.git\ShowInstalledNXversion\bin\Debug\heabox.pdb
|
||||||
|
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
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user