Projekt neu angelegt.
This commit is contained in:
commit
3fadc6fb9b
32
.gitignore
vendored
Normal file
32
.gitignore
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
|
||||||
|
#Ignore thumbnails created by Windows
|
||||||
|
Thumbs.db
|
||||||
|
#Ignore files built by Visual Studio
|
||||||
|
*.obj
|
||||||
|
*.exe
|
||||||
|
*.pdb
|
||||||
|
*.user
|
||||||
|
*.aps
|
||||||
|
*.pch
|
||||||
|
*.vspscc
|
||||||
|
*_i.c
|
||||||
|
*_p.c
|
||||||
|
*.ncb
|
||||||
|
*.suo
|
||||||
|
*.tlb
|
||||||
|
*.tlh
|
||||||
|
*.bak
|
||||||
|
*.cache
|
||||||
|
*.ilk
|
||||||
|
*.log
|
||||||
|
[Bb]in
|
||||||
|
[Dd]ebug*/
|
||||||
|
*.lib
|
||||||
|
*.sbr
|
||||||
|
obj/
|
||||||
|
[Rr]elease*/
|
||||||
|
_ReSharper*/
|
||||||
|
[Tt]est[Rr]esult*
|
||||||
|
.vs/
|
||||||
|
#Nuget packages folder
|
||||||
|
packages/
|
||||||
25
CheckEnvironment.sln
Normal file
25
CheckEnvironment.sln
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 15
|
||||||
|
VisualStudioVersion = 15.0.28010.2041
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CheckEnvironment", "CheckEnvironment\CheckEnvironment.csproj", "{548F6BF5-6FDB-4BF8-9E9E-1D2B1CD95E81}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{548F6BF5-6FDB-4BF8-9E9E-1D2B1CD95E81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{548F6BF5-6FDB-4BF8-9E9E-1D2B1CD95E81}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{548F6BF5-6FDB-4BF8-9E9E-1D2B1CD95E81}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{548F6BF5-6FDB-4BF8-9E9E-1D2B1CD95E81}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {01B5A2BF-31C7-4733-A94F-9C2FFF1F5BF2}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
6
CheckEnvironment/App.config
Normal file
6
CheckEnvironment/App.config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
338
CheckEnvironment/CheckEnvironment.Designer.cs
generated
Normal file
338
CheckEnvironment/CheckEnvironment.Designer.cs
generated
Normal file
@ -0,0 +1,338 @@
|
|||||||
|
namespace CheckEnvironment
|
||||||
|
{
|
||||||
|
partial class CheckEnvironment
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Erforderliche Designervariable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Verwendete Ressourcen bereinigen.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Vom Windows Form-Designer generierter Code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Erforderliche Methode für die Designerunterstützung.
|
||||||
|
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.groupBoxEnv = new System.Windows.Forms.GroupBox();
|
||||||
|
this.labelNxOnline = new System.Windows.Forms.Label();
|
||||||
|
this.labelNxOffline = new System.Windows.Forms.Label();
|
||||||
|
this.labelUgiiEnvFile = new System.Windows.Forms.Label();
|
||||||
|
this.labelCompsolvTools = new System.Windows.Forms.Label();
|
||||||
|
this.labelCompsolveMachine = new System.Windows.Forms.Label();
|
||||||
|
this.labelCompsolvStdLib = new System.Windows.Forms.Label();
|
||||||
|
this.labelCompsolvUgiiSettings = new System.Windows.Forms.Label();
|
||||||
|
this.textBoxNxOnline = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBoxNxOffline = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBoxUgiiEnvFile = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBoxCompsolveMachine = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBoxCompsolvTools = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBoxCompsolvStdLib = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBoxCompsolvUgiiSettings = new System.Windows.Forms.TextBox();
|
||||||
|
this.labelNxOnlineResult = new System.Windows.Forms.Label();
|
||||||
|
this.labelNxOfflineResult = new System.Windows.Forms.Label();
|
||||||
|
this.labelUgiiEnvFileResult = new System.Windows.Forms.Label();
|
||||||
|
this.labelCompsolveMachineResult = new System.Windows.Forms.Label();
|
||||||
|
this.labelCompsolvToolsResult = new System.Windows.Forms.Label();
|
||||||
|
this.labelCompsolvStdLibResult = new System.Windows.Forms.Label();
|
||||||
|
this.labelCompsolvUgiiSettingsResult = new System.Windows.Forms.Label();
|
||||||
|
this.labelInfo = new System.Windows.Forms.Label();
|
||||||
|
this.buttonClose = new System.Windows.Forms.Button();
|
||||||
|
this.groupBoxEnv.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// groupBoxEnv
|
||||||
|
//
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelCompsolvUgiiSettingsResult);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelCompsolvStdLibResult);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelCompsolvToolsResult);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelCompsolveMachineResult);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelUgiiEnvFileResult);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelNxOfflineResult);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelNxOnlineResult);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.textBoxCompsolvUgiiSettings);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.textBoxCompsolvStdLib);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.textBoxCompsolvTools);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.textBoxCompsolveMachine);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.textBoxUgiiEnvFile);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.textBoxNxOffline);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.textBoxNxOnline);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelCompsolvUgiiSettings);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelCompsolvStdLib);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelCompsolveMachine);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelCompsolvTools);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelUgiiEnvFile);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelNxOffline);
|
||||||
|
this.groupBoxEnv.Controls.Add(this.labelNxOnline);
|
||||||
|
this.groupBoxEnv.Location = new System.Drawing.Point(13, 13);
|
||||||
|
this.groupBoxEnv.Name = "groupBoxEnv";
|
||||||
|
this.groupBoxEnv.Size = new System.Drawing.Size(602, 206);
|
||||||
|
this.groupBoxEnv.TabIndex = 0;
|
||||||
|
this.groupBoxEnv.TabStop = false;
|
||||||
|
this.groupBoxEnv.Text = "Environment Variables";
|
||||||
|
//
|
||||||
|
// labelNxOnline
|
||||||
|
//
|
||||||
|
this.labelNxOnline.AutoSize = true;
|
||||||
|
this.labelNxOnline.Location = new System.Drawing.Point(6, 23);
|
||||||
|
this.labelNxOnline.Name = "labelNxOnline";
|
||||||
|
this.labelNxOnline.Size = new System.Drawing.Size(68, 13);
|
||||||
|
this.labelNxOnline.TabIndex = 0;
|
||||||
|
this.labelNxOnline.Text = "NX_ONLINE";
|
||||||
|
//
|
||||||
|
// labelNxOffline
|
||||||
|
//
|
||||||
|
this.labelNxOffline.AutoSize = true;
|
||||||
|
this.labelNxOffline.Location = new System.Drawing.Point(6, 49);
|
||||||
|
this.labelNxOffline.Name = "labelNxOffline";
|
||||||
|
this.labelNxOffline.Size = new System.Drawing.Size(72, 13);
|
||||||
|
this.labelNxOffline.TabIndex = 1;
|
||||||
|
this.labelNxOffline.Text = "NX_OFFLINE";
|
||||||
|
//
|
||||||
|
// labelUgiiEnvFile
|
||||||
|
//
|
||||||
|
this.labelUgiiEnvFile.AutoSize = true;
|
||||||
|
this.labelUgiiEnvFile.Location = new System.Drawing.Point(6, 75);
|
||||||
|
this.labelUgiiEnvFile.Name = "labelUgiiEnvFile";
|
||||||
|
this.labelUgiiEnvFile.Size = new System.Drawing.Size(85, 13);
|
||||||
|
this.labelUgiiEnvFile.TabIndex = 2;
|
||||||
|
this.labelUgiiEnvFile.Text = "UGII_ENV_FILE";
|
||||||
|
//
|
||||||
|
// labelCompsolvTools
|
||||||
|
//
|
||||||
|
this.labelCompsolvTools.AutoSize = true;
|
||||||
|
this.labelCompsolvTools.Location = new System.Drawing.Point(6, 128);
|
||||||
|
this.labelCompsolvTools.Name = "labelCompsolvTools";
|
||||||
|
this.labelCompsolvTools.Size = new System.Drawing.Size(108, 13);
|
||||||
|
this.labelCompsolvTools.TabIndex = 3;
|
||||||
|
this.labelCompsolvTools.Text = "COMPSOLV_TOOLS";
|
||||||
|
//
|
||||||
|
// labelCompsolveMachine
|
||||||
|
//
|
||||||
|
this.labelCompsolveMachine.AutoSize = true;
|
||||||
|
this.labelCompsolveMachine.Location = new System.Drawing.Point(6, 102);
|
||||||
|
this.labelCompsolveMachine.Name = "labelCompsolveMachine";
|
||||||
|
this.labelCompsolveMachine.Size = new System.Drawing.Size(121, 13);
|
||||||
|
this.labelCompsolveMachine.TabIndex = 4;
|
||||||
|
this.labelCompsolveMachine.Text = "COMPSOLV_MACHINE";
|
||||||
|
//
|
||||||
|
// labelCompsolvStdLib
|
||||||
|
//
|
||||||
|
this.labelCompsolvStdLib.AutoSize = true;
|
||||||
|
this.labelCompsolvStdLib.Location = new System.Drawing.Point(6, 154);
|
||||||
|
this.labelCompsolvStdLib.Name = "labelCompsolvStdLib";
|
||||||
|
this.labelCompsolvStdLib.Size = new System.Drawing.Size(117, 13);
|
||||||
|
this.labelCompsolvStdLib.TabIndex = 5;
|
||||||
|
this.labelCompsolvStdLib.Text = "COMPSOLVE_STDLIB";
|
||||||
|
//
|
||||||
|
// labelCompsolvUgiiSettings
|
||||||
|
//
|
||||||
|
this.labelCompsolvUgiiSettings.AutoSize = true;
|
||||||
|
this.labelCompsolvUgiiSettings.Location = new System.Drawing.Point(6, 180);
|
||||||
|
this.labelCompsolvUgiiSettings.Name = "labelCompsolvUgiiSettings";
|
||||||
|
this.labelCompsolvUgiiSettings.Size = new System.Drawing.Size(154, 13);
|
||||||
|
this.labelCompsolvUgiiSettings.TabIndex = 6;
|
||||||
|
this.labelCompsolvUgiiSettings.Text = "COMPSOLV_UGII_SETTINGS";
|
||||||
|
//
|
||||||
|
// textBoxNxOnline
|
||||||
|
//
|
||||||
|
this.textBoxNxOnline.Location = new System.Drawing.Point(170, 20);
|
||||||
|
this.textBoxNxOnline.Name = "textBoxNxOnline";
|
||||||
|
this.textBoxNxOnline.ReadOnly = true;
|
||||||
|
this.textBoxNxOnline.Size = new System.Drawing.Size(360, 20);
|
||||||
|
this.textBoxNxOnline.TabIndex = 7;
|
||||||
|
//
|
||||||
|
// textBoxNxOffline
|
||||||
|
//
|
||||||
|
this.textBoxNxOffline.Location = new System.Drawing.Point(170, 46);
|
||||||
|
this.textBoxNxOffline.Name = "textBoxNxOffline";
|
||||||
|
this.textBoxNxOffline.ReadOnly = true;
|
||||||
|
this.textBoxNxOffline.Size = new System.Drawing.Size(360, 20);
|
||||||
|
this.textBoxNxOffline.TabIndex = 8;
|
||||||
|
//
|
||||||
|
// textBoxUgiiEnvFile
|
||||||
|
//
|
||||||
|
this.textBoxUgiiEnvFile.Location = new System.Drawing.Point(170, 72);
|
||||||
|
this.textBoxUgiiEnvFile.Name = "textBoxUgiiEnvFile";
|
||||||
|
this.textBoxUgiiEnvFile.ReadOnly = true;
|
||||||
|
this.textBoxUgiiEnvFile.Size = new System.Drawing.Size(360, 20);
|
||||||
|
this.textBoxUgiiEnvFile.TabIndex = 9;
|
||||||
|
//
|
||||||
|
// textBoxCompsolveMachine
|
||||||
|
//
|
||||||
|
this.textBoxCompsolveMachine.Location = new System.Drawing.Point(170, 99);
|
||||||
|
this.textBoxCompsolveMachine.Name = "textBoxCompsolveMachine";
|
||||||
|
this.textBoxCompsolveMachine.ReadOnly = true;
|
||||||
|
this.textBoxCompsolveMachine.Size = new System.Drawing.Size(360, 20);
|
||||||
|
this.textBoxCompsolveMachine.TabIndex = 10;
|
||||||
|
//
|
||||||
|
// textBoxCompsolvTools
|
||||||
|
//
|
||||||
|
this.textBoxCompsolvTools.Location = new System.Drawing.Point(170, 125);
|
||||||
|
this.textBoxCompsolvTools.Name = "textBoxCompsolvTools";
|
||||||
|
this.textBoxCompsolvTools.ReadOnly = true;
|
||||||
|
this.textBoxCompsolvTools.Size = new System.Drawing.Size(360, 20);
|
||||||
|
this.textBoxCompsolvTools.TabIndex = 11;
|
||||||
|
//
|
||||||
|
// textBoxCompsolvStdLib
|
||||||
|
//
|
||||||
|
this.textBoxCompsolvStdLib.Location = new System.Drawing.Point(170, 151);
|
||||||
|
this.textBoxCompsolvStdLib.Name = "textBoxCompsolvStdLib";
|
||||||
|
this.textBoxCompsolvStdLib.ReadOnly = true;
|
||||||
|
this.textBoxCompsolvStdLib.Size = new System.Drawing.Size(360, 20);
|
||||||
|
this.textBoxCompsolvStdLib.TabIndex = 12;
|
||||||
|
//
|
||||||
|
// textBoxCompsolvUgiiSettings
|
||||||
|
//
|
||||||
|
this.textBoxCompsolvUgiiSettings.Location = new System.Drawing.Point(170, 177);
|
||||||
|
this.textBoxCompsolvUgiiSettings.Name = "textBoxCompsolvUgiiSettings";
|
||||||
|
this.textBoxCompsolvUgiiSettings.ReadOnly = true;
|
||||||
|
this.textBoxCompsolvUgiiSettings.Size = new System.Drawing.Size(360, 20);
|
||||||
|
this.textBoxCompsolvUgiiSettings.TabIndex = 13;
|
||||||
|
//
|
||||||
|
// labelNxOnlineResult
|
||||||
|
//
|
||||||
|
this.labelNxOnlineResult.AutoSize = true;
|
||||||
|
this.labelNxOnlineResult.Location = new System.Drawing.Point(540, 23);
|
||||||
|
this.labelNxOnlineResult.Name = "labelNxOnlineResult";
|
||||||
|
this.labelNxOnlineResult.Size = new System.Drawing.Size(42, 13);
|
||||||
|
this.labelNxOnlineResult.TabIndex = 14;
|
||||||
|
this.labelNxOnlineResult.Text = "Missing";
|
||||||
|
//
|
||||||
|
// labelNxOfflineResult
|
||||||
|
//
|
||||||
|
this.labelNxOfflineResult.AutoSize = true;
|
||||||
|
this.labelNxOfflineResult.Location = new System.Drawing.Point(540, 49);
|
||||||
|
this.labelNxOfflineResult.Name = "labelNxOfflineResult";
|
||||||
|
this.labelNxOfflineResult.Size = new System.Drawing.Size(42, 13);
|
||||||
|
this.labelNxOfflineResult.TabIndex = 15;
|
||||||
|
this.labelNxOfflineResult.Text = "Missing";
|
||||||
|
//
|
||||||
|
// labelUgiiEnvFileResult
|
||||||
|
//
|
||||||
|
this.labelUgiiEnvFileResult.AutoSize = true;
|
||||||
|
this.labelUgiiEnvFileResult.Location = new System.Drawing.Point(540, 75);
|
||||||
|
this.labelUgiiEnvFileResult.Name = "labelUgiiEnvFileResult";
|
||||||
|
this.labelUgiiEnvFileResult.Size = new System.Drawing.Size(42, 13);
|
||||||
|
this.labelUgiiEnvFileResult.TabIndex = 16;
|
||||||
|
this.labelUgiiEnvFileResult.Text = "Missing";
|
||||||
|
//
|
||||||
|
// labelCompsolveMachineResult
|
||||||
|
//
|
||||||
|
this.labelCompsolveMachineResult.AutoSize = true;
|
||||||
|
this.labelCompsolveMachineResult.Location = new System.Drawing.Point(540, 102);
|
||||||
|
this.labelCompsolveMachineResult.Name = "labelCompsolveMachineResult";
|
||||||
|
this.labelCompsolveMachineResult.Size = new System.Drawing.Size(42, 13);
|
||||||
|
this.labelCompsolveMachineResult.TabIndex = 17;
|
||||||
|
this.labelCompsolveMachineResult.Text = "Missing";
|
||||||
|
//
|
||||||
|
// labelCompsolvToolsResult
|
||||||
|
//
|
||||||
|
this.labelCompsolvToolsResult.AutoSize = true;
|
||||||
|
this.labelCompsolvToolsResult.Location = new System.Drawing.Point(540, 129);
|
||||||
|
this.labelCompsolvToolsResult.Name = "labelCompsolvToolsResult";
|
||||||
|
this.labelCompsolvToolsResult.Size = new System.Drawing.Size(42, 13);
|
||||||
|
this.labelCompsolvToolsResult.TabIndex = 18;
|
||||||
|
this.labelCompsolvToolsResult.Text = "Missing";
|
||||||
|
//
|
||||||
|
// labelCompsolvStdLibResult
|
||||||
|
//
|
||||||
|
this.labelCompsolvStdLibResult.AutoSize = true;
|
||||||
|
this.labelCompsolvStdLibResult.Location = new System.Drawing.Point(540, 154);
|
||||||
|
this.labelCompsolvStdLibResult.Name = "labelCompsolvStdLibResult";
|
||||||
|
this.labelCompsolvStdLibResult.Size = new System.Drawing.Size(42, 13);
|
||||||
|
this.labelCompsolvStdLibResult.TabIndex = 19;
|
||||||
|
this.labelCompsolvStdLibResult.Text = "Missing";
|
||||||
|
//
|
||||||
|
// labelCompsolvUgiiSettingsResult
|
||||||
|
//
|
||||||
|
this.labelCompsolvUgiiSettingsResult.AutoSize = true;
|
||||||
|
this.labelCompsolvUgiiSettingsResult.Location = new System.Drawing.Point(540, 180);
|
||||||
|
this.labelCompsolvUgiiSettingsResult.Name = "labelCompsolvUgiiSettingsResult";
|
||||||
|
this.labelCompsolvUgiiSettingsResult.Size = new System.Drawing.Size(42, 13);
|
||||||
|
this.labelCompsolvUgiiSettingsResult.TabIndex = 20;
|
||||||
|
this.labelCompsolvUgiiSettingsResult.Text = "Missing";
|
||||||
|
//
|
||||||
|
// labelInfo
|
||||||
|
//
|
||||||
|
this.labelInfo.AutoSize = true;
|
||||||
|
this.labelInfo.Location = new System.Drawing.Point(12, 230);
|
||||||
|
this.labelInfo.Name = "labelInfo";
|
||||||
|
this.labelInfo.Size = new System.Drawing.Size(462, 13);
|
||||||
|
this.labelInfo.TabIndex = 1;
|
||||||
|
this.labelInfo.Text = "One or more variables are not set! Please contact Eugen Höglinger (eugen.hoegling" +
|
||||||
|
"er@engel.at)";
|
||||||
|
//
|
||||||
|
// buttonClose
|
||||||
|
//
|
||||||
|
this.buttonClose.Location = new System.Drawing.Point(540, 225);
|
||||||
|
this.buttonClose.Name = "buttonClose";
|
||||||
|
this.buttonClose.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.buttonClose.TabIndex = 2;
|
||||||
|
this.buttonClose.Text = "Close";
|
||||||
|
this.buttonClose.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonClose.Click += new System.EventHandler(this.buttonClose_Click);
|
||||||
|
//
|
||||||
|
// Form1
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(627, 259);
|
||||||
|
this.ControlBox = false;
|
||||||
|
this.Controls.Add(this.buttonClose);
|
||||||
|
this.Controls.Add(this.labelInfo);
|
||||||
|
this.Controls.Add(this.groupBoxEnv);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
||||||
|
this.Name = "Form1";
|
||||||
|
this.Text = "Check Environment";
|
||||||
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
|
this.groupBoxEnv.ResumeLayout(false);
|
||||||
|
this.groupBoxEnv.PerformLayout();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.GroupBox groupBoxEnv;
|
||||||
|
private System.Windows.Forms.TextBox textBoxNxOnline;
|
||||||
|
private System.Windows.Forms.Label labelCompsolvUgiiSettings;
|
||||||
|
private System.Windows.Forms.Label labelCompsolvStdLib;
|
||||||
|
private System.Windows.Forms.Label labelCompsolveMachine;
|
||||||
|
private System.Windows.Forms.Label labelCompsolvTools;
|
||||||
|
private System.Windows.Forms.Label labelUgiiEnvFile;
|
||||||
|
private System.Windows.Forms.Label labelNxOffline;
|
||||||
|
private System.Windows.Forms.Label labelNxOnline;
|
||||||
|
private System.Windows.Forms.TextBox textBoxCompsolvUgiiSettings;
|
||||||
|
private System.Windows.Forms.TextBox textBoxCompsolvStdLib;
|
||||||
|
private System.Windows.Forms.TextBox textBoxCompsolvTools;
|
||||||
|
private System.Windows.Forms.TextBox textBoxCompsolveMachine;
|
||||||
|
private System.Windows.Forms.TextBox textBoxUgiiEnvFile;
|
||||||
|
private System.Windows.Forms.TextBox textBoxNxOffline;
|
||||||
|
private System.Windows.Forms.Label labelCompsolvUgiiSettingsResult;
|
||||||
|
private System.Windows.Forms.Label labelCompsolvStdLibResult;
|
||||||
|
private System.Windows.Forms.Label labelCompsolvToolsResult;
|
||||||
|
private System.Windows.Forms.Label labelCompsolveMachineResult;
|
||||||
|
private System.Windows.Forms.Label labelUgiiEnvFileResult;
|
||||||
|
private System.Windows.Forms.Label labelNxOfflineResult;
|
||||||
|
private System.Windows.Forms.Label labelNxOnlineResult;
|
||||||
|
private System.Windows.Forms.Label labelInfo;
|
||||||
|
private System.Windows.Forms.Button buttonClose;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
134
CheckEnvironment/CheckEnvironment.cs
Normal file
134
CheckEnvironment/CheckEnvironment.cs
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace CheckEnvironment
|
||||||
|
{
|
||||||
|
public partial class CheckEnvironment : Form
|
||||||
|
{
|
||||||
|
#region Version und Copyright
|
||||||
|
// Version und Copyright
|
||||||
|
string programName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen
|
||||||
|
string version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||||
|
static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
|
||||||
|
string copyright = ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
|
||||||
|
string icon = Application.StartupPath + "\\Info.bmp";
|
||||||
|
//Assembly Datum und Zeit
|
||||||
|
static DateTime value = AssemblyDateTime();
|
||||||
|
string date = value.ToShortDateString();
|
||||||
|
string time = value.ToLongTimeString();
|
||||||
|
private static DateTime AssemblyDateTime()
|
||||||
|
{
|
||||||
|
var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
|
||||||
|
var buildDateTime = new DateTime(2000, 1, 1).Add(new TimeSpan(TimeSpan.TicksPerDay * version.Build + TimeSpan.TicksPerSecond * 2 * version.Revision));
|
||||||
|
//Tage seit dem 1. Januar 2000 und Sekunden seit Mitternacht, (multiplizier mit 2 ergibt das Original)
|
||||||
|
return buildDateTime;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
public CheckEnvironment()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void buttonClose_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
private string CheckEnv(string env)
|
||||||
|
{
|
||||||
|
return Environment.GetEnvironmentVariable(env);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string result = "";
|
||||||
|
|
||||||
|
result = CheckEnv("NX_ONLINE");
|
||||||
|
if (String.IsNullOrEmpty(result))
|
||||||
|
{
|
||||||
|
textBoxNxOnline.Text = "";
|
||||||
|
labelNxOnlineResult.Text = "MISSING";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBoxNxOnline.Text = result;
|
||||||
|
labelNxOnlineResult.Text = "OK";
|
||||||
|
}
|
||||||
|
|
||||||
|
result = CheckEnv("NX_OFFLINE");
|
||||||
|
if (String.IsNullOrEmpty(result))
|
||||||
|
{
|
||||||
|
textBoxNxOffline.Text = "";
|
||||||
|
labelNxOfflineResult.Text = "MISSING";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBoxNxOffline.Text = result;
|
||||||
|
labelNxOfflineResult.Text = "OK";
|
||||||
|
}
|
||||||
|
|
||||||
|
result = CheckEnv("UGII_ENV_FILE");
|
||||||
|
if (String.IsNullOrEmpty(result))
|
||||||
|
{
|
||||||
|
textBoxUgiiEnvFile.Text = "";
|
||||||
|
labelUgiiEnvFileResult.Text = "MISSING";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBoxUgiiEnvFile.Text = result;
|
||||||
|
labelUgiiEnvFileResult.Text = "OK";
|
||||||
|
}
|
||||||
|
|
||||||
|
result = CheckEnv("COMPSOLV_MACHINE");
|
||||||
|
if (String.IsNullOrEmpty(result))
|
||||||
|
{
|
||||||
|
textBoxCompsolveMachine.Text = "";
|
||||||
|
labelCompsolveMachineResult.Text = "MISSING";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBoxCompsolveMachine.Text = result;
|
||||||
|
labelCompsolveMachineResult.Text = "OK";
|
||||||
|
}
|
||||||
|
|
||||||
|
result = CheckEnv("COMPSOLV_TOOLS");
|
||||||
|
if (String.IsNullOrEmpty(result))
|
||||||
|
{
|
||||||
|
textBoxCompsolvTools.Text = "";
|
||||||
|
labelCompsolvToolsResult.Text = "MISSING";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBoxCompsolvTools.Text = result;
|
||||||
|
labelCompsolvToolsResult.Text = "OK";
|
||||||
|
}
|
||||||
|
|
||||||
|
result = CheckEnv("COMPSOLVE_STDLIB");
|
||||||
|
if (String.IsNullOrEmpty(result))
|
||||||
|
{
|
||||||
|
textBoxCompsolvStdLib.Text = "";
|
||||||
|
labelCompsolvStdLibResult.Text = "MISSING";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBoxCompsolvStdLib.Text = result;
|
||||||
|
labelCompsolvStdLibResult.Text = "OK";
|
||||||
|
}
|
||||||
|
|
||||||
|
result = CheckEnv("COMPSOLV_UGII_SETTINGS");
|
||||||
|
if (String.IsNullOrEmpty(result))
|
||||||
|
{
|
||||||
|
textBoxCompsolvUgiiSettings.Text = "";
|
||||||
|
labelCompsolvUgiiSettingsResult.Text = "MISSING";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBoxCompsolvUgiiSettings.Text = result;
|
||||||
|
labelCompsolvUgiiSettingsResult.Text = "OK";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
116
CheckEnvironment/CheckEnvironment.csproj
Normal file
116
CheckEnvironment/CheckEnvironment.csproj
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{548F6BF5-6FDB-4BF8-9E9E-1D2B1CD95E81}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>CheckEnvironment</RootNamespace>
|
||||||
|
<AssemblyName>CheckEnvironment</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>false</Deterministic>
|
||||||
|
<PublishUrl>publish\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>CheckEnvironment_128.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="CheckEnvironment.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="CheckEnvironment.Designer.cs">
|
||||||
|
<DependentUpon>CheckEnvironment.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<EmbeddedResource Include="CheckEnvironment.resx">
|
||||||
|
<DependentUpon>CheckEnvironment.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="CheckEnvironment_128.ico" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4.6.1 %28x86 und x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
120
CheckEnvironment/CheckEnvironment.resx
Normal file
120
CheckEnvironment/CheckEnvironment.resx
Normal file
@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
BIN
CheckEnvironment/CheckEnvironment_128.ico
Normal file
BIN
CheckEnvironment/CheckEnvironment_128.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
22
CheckEnvironment/Program.cs
Normal file
22
CheckEnvironment/Program.cs
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace CheckEnvironment
|
||||||
|
{
|
||||||
|
static class Program
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Der Haupteinstiegspunkt für die Anwendung.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
Application.Run(new CheckEnvironment());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
CheckEnvironment/Properties/AssemblyInfo.cs
Normal file
36
CheckEnvironment/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||||
|
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||||
|
// die einer Assembly zugeordnet sind.
|
||||||
|
[assembly: AssemblyTitle("CheckEnvironment")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("CheckEnvironment")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2010-2018 by Eugen Höglinger")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
|
||||||
|
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
|
||||||
|
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||||
|
[assembly: Guid("548f6bf5-6fdb-4bf8-9e9e-1d2b1cd95e81")]
|
||||||
|
|
||||||
|
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||||
|
//
|
||||||
|
// Hauptversion
|
||||||
|
// Nebenversion
|
||||||
|
// Buildnummer
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||||
|
// übernehmen, indem Sie "*" eingeben:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
71
CheckEnvironment/Properties/Resources.Designer.cs
generated
Normal file
71
CheckEnvironment/Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
|
// Laufzeitversion: 4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
|
||||||
|
// der Code neu generiert wird.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace CheckEnvironment.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||||
|
/// </summary>
|
||||||
|
// Diese Klasse wurde von der StronglyTypedResourceBuilder-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
|
||||||
|
// mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
internal class Resources
|
||||||
|
{
|
||||||
|
|
||||||
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
|
internal Resources()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Resources.ResourceManager ResourceManager
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if ((resourceMan == null))
|
||||||
|
{
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CheckEnvironment.Properties.Resources", typeof(Resources).Assembly);
|
||||||
|
resourceMan = temp;
|
||||||
|
}
|
||||||
|
return resourceMan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||||
|
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Globalization.CultureInfo Culture
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return resourceCulture;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
resourceCulture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
117
CheckEnvironment/Properties/Resources.resx
Normal file
117
CheckEnvironment/Properties/Resources.resx
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
30
CheckEnvironment/Properties/Settings.Designer.cs
generated
Normal file
30
CheckEnvironment/Properties/Settings.Designer.cs
generated
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace CheckEnvironment.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||||
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||||
|
{
|
||||||
|
|
||||||
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
|
public static Settings Default
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return defaultInstance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
7
CheckEnvironment/Properties/Settings.settings
Normal file
7
CheckEnvironment/Properties/Settings.settings
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
||||||
BIN
Daten/CheckEnvironment_128.ico
Normal file
BIN
Daten/CheckEnvironment_128.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
Loading…
Reference in New Issue
Block a user