Initialize
This commit is contained in:
parent
af89a7e540
commit
e4b5b52266
@ -1,13 +1,108 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Reflection;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using Eugen.ESystem;
|
||||||
|
|
||||||
namespace Eugen.NX
|
namespace Eugen.NX
|
||||||
{
|
{
|
||||||
public class NxEnvironment
|
public class NxEnvironment
|
||||||
{
|
{
|
||||||
|
#region Version und Copyright
|
||||||
|
// Version und Copyright
|
||||||
|
static string dllName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen
|
||||||
|
static string dllVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||||
|
static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
|
||||||
|
static string copyright = GenerateCopyright();
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string CurrentYear()
|
||||||
|
{
|
||||||
|
DateTime dtn = DateTime.Now;
|
||||||
|
return dtn.Year.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string StartYear()
|
||||||
|
{
|
||||||
|
string startYear = "";
|
||||||
|
if (((AssemblyCopyrightAttribute)attributes[0]).Copyright.Contains("Copyright © "))
|
||||||
|
{
|
||||||
|
startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace("Copyright © ", "");
|
||||||
|
while (startYear.StartsWith(" "))
|
||||||
|
{
|
||||||
|
startYear = startYear.Remove(0, 1);
|
||||||
|
}
|
||||||
|
startYear = startYear.Remove(startYear.IndexOf(" "));
|
||||||
|
return startYear;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
DateTime dtn = DateTime.Now;
|
||||||
|
return dtn.Year.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string GenerateCopyright()
|
||||||
|
{
|
||||||
|
string startYear = StartYear();
|
||||||
|
string currentYear = CurrentYear();
|
||||||
|
|
||||||
|
if (startYear == currentYear)
|
||||||
|
{
|
||||||
|
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace(startYear, String.Concat(startYear, "-", currentYear));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region DLL-Info
|
||||||
|
/// <summary>
|
||||||
|
/// Contains the name of the program file
|
||||||
|
/// </summary>
|
||||||
|
public static string DllName { set; get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Contains the version of the program file
|
||||||
|
/// </summary>
|
||||||
|
public static string DllVersion { set; get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Contains the copyright notice
|
||||||
|
/// </summary>
|
||||||
|
public static string Copyright { set; get; }
|
||||||
|
|
||||||
|
private static void SetDllInfo()
|
||||||
|
{
|
||||||
|
//Name, Version und Copyright setzen
|
||||||
|
DllName = dllName;
|
||||||
|
DllVersion = dllVersion;
|
||||||
|
Copyright = copyright;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
static NxEnvironment()
|
||||||
|
{
|
||||||
|
SetDllInfo();
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// UGII_BASE_DIR. E.g.: C:\Program Files\Siemens\NX10.0
|
/// UGII_BASE_DIR. E.g.: C:\Program Files\Siemens\NX10.0
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -139,7 +234,7 @@ namespace Eugen.NX
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return VaribleThroughString.Replace(text, true);
|
return ReplaceVariableByValue.Replace(text, true);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -31,8 +31,12 @@
|
|||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Reference Include="ReplaceVariableByValue">
|
||||||
|
<HintPath>..\..\ReplaceVariableByValue.git\ReplaceVariableByValue\bin\Debug\ReplaceVariableByValue.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
@ -48,7 +52,6 @@
|
|||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="NxEnvironment.cs" />
|
<Compile Include="NxEnvironment.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="VaribleThroughString.cs" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="Language.de.resx">
|
<EmbeddedResource Include="Language.de.resx">
|
||||||
|
|||||||
41
Test_NxEnvironment/Form1.Designer.cs
generated
41
Test_NxEnvironment/Form1.Designer.cs
generated
@ -32,6 +32,12 @@
|
|||||||
this.buttonStart = new System.Windows.Forms.Button();
|
this.buttonStart = new System.Windows.Forms.Button();
|
||||||
this.labelEnvironment = new System.Windows.Forms.Label();
|
this.labelEnvironment = new System.Windows.Forms.Label();
|
||||||
this.labelReplace = new System.Windows.Forms.Label();
|
this.labelReplace = new System.Windows.Forms.Label();
|
||||||
|
this.groupBoxProgramInfo = new System.Windows.Forms.GroupBox();
|
||||||
|
this.labelProgramInfo = new System.Windows.Forms.Label();
|
||||||
|
this.groupBoxDLLInfo = new System.Windows.Forms.GroupBox();
|
||||||
|
this.labelDLLInfo = new System.Windows.Forms.Label();
|
||||||
|
this.groupBoxProgramInfo.SuspendLayout();
|
||||||
|
this.groupBoxDLLInfo.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// buttonStart
|
// buttonStart
|
||||||
@ -51,14 +57,45 @@
|
|||||||
resources.ApplyResources(this.labelReplace, "labelReplace");
|
resources.ApplyResources(this.labelReplace, "labelReplace");
|
||||||
this.labelReplace.Name = "labelReplace";
|
this.labelReplace.Name = "labelReplace";
|
||||||
//
|
//
|
||||||
|
// groupBoxProgramInfo
|
||||||
|
//
|
||||||
|
this.groupBoxProgramInfo.Controls.Add(this.labelProgramInfo);
|
||||||
|
resources.ApplyResources(this.groupBoxProgramInfo, "groupBoxProgramInfo");
|
||||||
|
this.groupBoxProgramInfo.Name = "groupBoxProgramInfo";
|
||||||
|
this.groupBoxProgramInfo.TabStop = false;
|
||||||
|
//
|
||||||
|
// labelProgramInfo
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.labelProgramInfo, "labelProgramInfo");
|
||||||
|
this.labelProgramInfo.Name = "labelProgramInfo";
|
||||||
|
//
|
||||||
|
// groupBoxDLLInfo
|
||||||
|
//
|
||||||
|
this.groupBoxDLLInfo.Controls.Add(this.labelDLLInfo);
|
||||||
|
resources.ApplyResources(this.groupBoxDLLInfo, "groupBoxDLLInfo");
|
||||||
|
this.groupBoxDLLInfo.Name = "groupBoxDLLInfo";
|
||||||
|
this.groupBoxDLLInfo.TabStop = false;
|
||||||
|
//
|
||||||
|
// labelDLLInfo
|
||||||
|
//
|
||||||
|
resources.ApplyResources(this.labelDLLInfo, "labelDLLInfo");
|
||||||
|
this.labelDLLInfo.Name = "labelDLLInfo";
|
||||||
|
//
|
||||||
// Form1
|
// Form1
|
||||||
//
|
//
|
||||||
resources.ApplyResources(this, "$this");
|
resources.ApplyResources(this, "$this");
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.Controls.Add(this.groupBoxProgramInfo);
|
||||||
|
this.Controls.Add(this.groupBoxDLLInfo);
|
||||||
this.Controls.Add(this.labelReplace);
|
this.Controls.Add(this.labelReplace);
|
||||||
this.Controls.Add(this.labelEnvironment);
|
this.Controls.Add(this.labelEnvironment);
|
||||||
this.Controls.Add(this.buttonStart);
|
this.Controls.Add(this.buttonStart);
|
||||||
this.Name = "Form1";
|
this.Name = "Form1";
|
||||||
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
|
this.groupBoxProgramInfo.ResumeLayout(false);
|
||||||
|
this.groupBoxProgramInfo.PerformLayout();
|
||||||
|
this.groupBoxDLLInfo.ResumeLayout(false);
|
||||||
|
this.groupBoxDLLInfo.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
@ -69,6 +106,10 @@
|
|||||||
private System.Windows.Forms.Button buttonStart;
|
private System.Windows.Forms.Button buttonStart;
|
||||||
private System.Windows.Forms.Label labelEnvironment;
|
private System.Windows.Forms.Label labelEnvironment;
|
||||||
private System.Windows.Forms.Label labelReplace;
|
private System.Windows.Forms.Label labelReplace;
|
||||||
|
private System.Windows.Forms.GroupBox groupBoxProgramInfo;
|
||||||
|
private System.Windows.Forms.Label labelProgramInfo;
|
||||||
|
private System.Windows.Forms.GroupBox groupBoxDLLInfo;
|
||||||
|
private System.Windows.Forms.Label labelDLLInfo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@ namespace Eugen.NX
|
|||||||
string programName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen
|
string programName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen
|
||||||
string programVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
string programVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||||
static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
|
static object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
|
||||||
string copyright = ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
|
string copyright = GenerateCopyright();
|
||||||
string icon = Application.StartupPath + "\\Info.bmp";
|
string icon = Application.StartupPath + "\\Info.bmp";
|
||||||
//Assembly Datum und Zeit
|
//Assembly Datum und Zeit
|
||||||
static DateTime value = AssemblyDateTime();
|
static DateTime value = AssemblyDateTime();
|
||||||
@ -32,6 +32,50 @@ namespace Eugen.NX
|
|||||||
//Tage seit dem 1. Januar 2000 und Sekunden seit Mitternacht, (multiplizier mit 2 ergibt das Original)
|
//Tage seit dem 1. Januar 2000 und Sekunden seit Mitternacht, (multiplizier mit 2 ergibt das Original)
|
||||||
return buildDateTime;
|
return buildDateTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static string CurrentYear()
|
||||||
|
{
|
||||||
|
DateTime dtn = DateTime.Now;
|
||||||
|
return dtn.Year.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string StartYear()
|
||||||
|
{
|
||||||
|
//string startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
|
||||||
|
//return startYear.Remove(0, startYear.LastIndexOf(" ") + 1);
|
||||||
|
string startYear = "";
|
||||||
|
if (((AssemblyCopyrightAttribute)attributes[0]).Copyright.Contains("Copyright © "))
|
||||||
|
{
|
||||||
|
startYear = ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace("Copyright © ", "");
|
||||||
|
while (startYear.StartsWith(" "))
|
||||||
|
{
|
||||||
|
startYear = startYear.Remove(0, 1);
|
||||||
|
}
|
||||||
|
startYear = startYear.Remove(startYear.IndexOf(" "));
|
||||||
|
return startYear;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
DateTime dtn = DateTime.Now;
|
||||||
|
return dtn.Year.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string GenerateCopyright()
|
||||||
|
{
|
||||||
|
string startYear = StartYear();
|
||||||
|
string currentYear = CurrentYear();
|
||||||
|
|
||||||
|
if (startYear == currentYear)
|
||||||
|
{
|
||||||
|
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//return String.Concat(((AssemblyCopyrightAttribute)attributes[0]).Copyright, "-", currentYear);
|
||||||
|
return ((AssemblyCopyrightAttribute)attributes[0]).Copyright.Replace(startYear, String.Concat(startYear, "-", currentYear));
|
||||||
|
}
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Programm-Info
|
#region Programm-Info
|
||||||
@ -65,12 +109,26 @@ namespace Eugen.NX
|
|||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ShowInformation(); //Programm- und DLL-Information anzeigen
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ShowInformation()
|
||||||
|
{
|
||||||
|
labelProgramInfo.Text = String.Concat(ProgramName, "\n", ProgramVersion, "\n", Copyright); //Programm-Information anzeigen
|
||||||
|
|
||||||
|
// DLL-Information anzeigen
|
||||||
|
labelDLLInfo.Text = String.Concat(NxEnvironment.DllName, "\n", NxEnvironment.DllVersion, "\n", NxEnvironment.Copyright);
|
||||||
|
}
|
||||||
|
|
||||||
private void buttonStart_Click(object sender, EventArgs e)
|
private void buttonStart_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
SetEnv();
|
SetEnv(); //Die Variablen setzten
|
||||||
|
|
||||||
labelEnvironment.Text = ShowEnv();
|
labelEnvironment.Text = ShowEnv(); //Die Variablen anzeigen
|
||||||
|
|
||||||
|
//Umgebungsvariable durch Wert ersetzen
|
||||||
labelReplace.Text = String.Concat("Aus ", NxEnvironment.Nx_Server_Dir, " wird ", NxEnvironment.ReplaceVariable(NxEnvironment.Nx_Server_Dir));
|
labelReplace.Text = String.Concat("Aus ", NxEnvironment.Nx_Server_Dir, " wird ", NxEnvironment.ReplaceVariable(NxEnvironment.Nx_Server_Dir));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
129
Test_NxEnvironment/Form1.de.resx
Normal file
129
Test_NxEnvironment/Form1.de.resx
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
<?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>
|
||||||
|
<data name="buttonStart.Text" xml:space="preserve">
|
||||||
|
<value>Umgebungsvariablen anzeigen</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.Text" xml:space="preserve">
|
||||||
|
<value>Umgebungsvariablen anzeigen</value>
|
||||||
|
</data>
|
||||||
|
<data name="groupBoxProgramInfo.Text" xml:space="preserve">
|
||||||
|
<value>Programm Information</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
@ -120,4 +120,10 @@
|
|||||||
<data name="buttonStart.Text" xml:space="preserve">
|
<data name="buttonStart.Text" xml:space="preserve">
|
||||||
<value>Show environment variable</value>
|
<value>Show environment variable</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="$this.Text" xml:space="preserve">
|
||||||
|
<value>Show environment variable</value>
|
||||||
|
</data>
|
||||||
|
<data name="groupBoxProgramInfo.Text" xml:space="preserve">
|
||||||
|
<value>Program Information</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@ -123,10 +123,10 @@
|
|||||||
</data>
|
</data>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<data name="buttonStart.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="buttonStart.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>304, 415</value>
|
<value>12, 443</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="buttonStart.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="buttonStart.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>193, 23</value>
|
<value>776, 23</value>
|
||||||
</data>
|
</data>
|
||||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
<data name="buttonStart.TabIndex" type="System.Int32, mscorlib">
|
<data name="buttonStart.TabIndex" type="System.Int32, mscorlib">
|
||||||
@ -145,13 +145,13 @@
|
|||||||
<value>$this</value>
|
<value>$this</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>buttonStart.ZOrder" xml:space="preserve">
|
<data name=">>buttonStart.ZOrder" xml:space="preserve">
|
||||||
<value>2</value>
|
<value>4</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelEnvironment.AutoSize" type="System.Boolean, mscorlib">
|
<data name="labelEnvironment.AutoSize" type="System.Boolean, mscorlib">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelEnvironment.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="labelEnvironment.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>13, 13</value>
|
<value>12, 9</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelEnvironment.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="labelEnvironment.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>16, 13</value>
|
<value>16, 13</value>
|
||||||
@ -161,6 +161,7 @@
|
|||||||
</data>
|
</data>
|
||||||
<data name="labelEnvironment.Text" xml:space="preserve">
|
<data name="labelEnvironment.Text" xml:space="preserve">
|
||||||
<value>...</value>
|
<value>...</value>
|
||||||
|
<comment>@Invariant</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>labelEnvironment.Name" xml:space="preserve">
|
<data name=">>labelEnvironment.Name" xml:space="preserve">
|
||||||
<value>labelEnvironment</value>
|
<value>labelEnvironment</value>
|
||||||
@ -172,13 +173,13 @@
|
|||||||
<value>$this</value>
|
<value>$this</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>labelEnvironment.ZOrder" xml:space="preserve">
|
<data name=">>labelEnvironment.ZOrder" xml:space="preserve">
|
||||||
<value>1</value>
|
<value>3</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelReplace.AutoSize" type="System.Boolean, mscorlib">
|
<data name="labelReplace.AutoSize" type="System.Boolean, mscorlib">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelReplace.Location" type="System.Drawing.Point, System.Drawing">
|
<data name="labelReplace.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
<value>13, 362</value>
|
<value>12, 377</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="labelReplace.Size" type="System.Drawing.Size, System.Drawing">
|
<data name="labelReplace.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>16, 13</value>
|
<value>16, 13</value>
|
||||||
@ -188,6 +189,7 @@
|
|||||||
</data>
|
</data>
|
||||||
<data name="labelReplace.Text" xml:space="preserve">
|
<data name="labelReplace.Text" xml:space="preserve">
|
||||||
<value>...</value>
|
<value>...</value>
|
||||||
|
<comment>@Invariant</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>labelReplace.Name" xml:space="preserve">
|
<data name=">>labelReplace.Name" xml:space="preserve">
|
||||||
<value>labelReplace</value>
|
<value>labelReplace</value>
|
||||||
@ -199,6 +201,141 @@
|
|||||||
<value>$this</value>
|
<value>$this</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>labelReplace.ZOrder" xml:space="preserve">
|
<data name=">>labelReplace.ZOrder" xml:space="preserve">
|
||||||
|
<value>2</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelProgramInfo.Name" xml:space="preserve">
|
||||||
|
<value>labelProgramInfo</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelProgramInfo.Type" xml:space="preserve">
|
||||||
|
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelProgramInfo.Parent" xml:space="preserve">
|
||||||
|
<value>groupBoxProgramInfo</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelProgramInfo.ZOrder" xml:space="preserve">
|
||||||
|
<value>0</value>
|
||||||
|
</data>
|
||||||
|
<data name="groupBoxProgramInfo.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
|
<value>12, 472</value>
|
||||||
|
</data>
|
||||||
|
<data name="groupBoxProgramInfo.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
|
<value>385, 66</value>
|
||||||
|
</data>
|
||||||
|
<data name="groupBoxProgramInfo.TabIndex" type="System.Int32, mscorlib">
|
||||||
|
<value>11</value>
|
||||||
|
</data>
|
||||||
|
<data name="groupBoxProgramInfo.Text" xml:space="preserve">
|
||||||
|
<value>Programm Information</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>groupBoxProgramInfo.Name" xml:space="preserve">
|
||||||
|
<value>groupBoxProgramInfo</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>groupBoxProgramInfo.Type" xml:space="preserve">
|
||||||
|
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>groupBoxProgramInfo.Parent" xml:space="preserve">
|
||||||
|
<value>$this</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>groupBoxProgramInfo.ZOrder" xml:space="preserve">
|
||||||
|
<value>0</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelProgramInfo.AutoSize" type="System.Boolean, mscorlib">
|
||||||
|
<value>True</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelProgramInfo.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||||
|
<value>NoControl</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelProgramInfo.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
|
<value>7, 20</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelProgramInfo.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
|
<value>16, 13</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelProgramInfo.TabIndex" type="System.Int32, mscorlib">
|
||||||
|
<value>0</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelProgramInfo.Text" xml:space="preserve">
|
||||||
|
<value>...</value>
|
||||||
|
<comment>@Invariant</comment>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelProgramInfo.Name" xml:space="preserve">
|
||||||
|
<value>labelProgramInfo</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelProgramInfo.Type" xml:space="preserve">
|
||||||
|
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelProgramInfo.Parent" xml:space="preserve">
|
||||||
|
<value>groupBoxProgramInfo</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelProgramInfo.ZOrder" xml:space="preserve">
|
||||||
|
<value>0</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelDLLInfo.Name" xml:space="preserve">
|
||||||
|
<value>labelDLLInfo</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelDLLInfo.Type" xml:space="preserve">
|
||||||
|
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelDLLInfo.Parent" xml:space="preserve">
|
||||||
|
<value>groupBoxDLLInfo</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelDLLInfo.ZOrder" xml:space="preserve">
|
||||||
|
<value>0</value>
|
||||||
|
</data>
|
||||||
|
<data name="groupBoxDLLInfo.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
|
<value>403, 472</value>
|
||||||
|
</data>
|
||||||
|
<data name="groupBoxDLLInfo.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
|
<value>385, 66</value>
|
||||||
|
</data>
|
||||||
|
<data name="groupBoxDLLInfo.TabIndex" type="System.Int32, mscorlib">
|
||||||
|
<value>12</value>
|
||||||
|
</data>
|
||||||
|
<data name="groupBoxDLLInfo.Text" xml:space="preserve">
|
||||||
|
<value>DLL Information</value>
|
||||||
|
<comment>@Invariant</comment>
|
||||||
|
</data>
|
||||||
|
<data name=">>groupBoxDLLInfo.Name" xml:space="preserve">
|
||||||
|
<value>groupBoxDLLInfo</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>groupBoxDLLInfo.Type" xml:space="preserve">
|
||||||
|
<value>System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>groupBoxDLLInfo.Parent" xml:space="preserve">
|
||||||
|
<value>$this</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>groupBoxDLLInfo.ZOrder" xml:space="preserve">
|
||||||
|
<value>1</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelDLLInfo.AutoSize" type="System.Boolean, mscorlib">
|
||||||
|
<value>True</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelDLLInfo.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||||
|
<value>NoControl</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelDLLInfo.Location" type="System.Drawing.Point, System.Drawing">
|
||||||
|
<value>7, 20</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelDLLInfo.Size" type="System.Drawing.Size, System.Drawing">
|
||||||
|
<value>16, 13</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelDLLInfo.TabIndex" type="System.Int32, mscorlib">
|
||||||
|
<value>0</value>
|
||||||
|
</data>
|
||||||
|
<data name="labelDLLInfo.Text" xml:space="preserve">
|
||||||
|
<value>...</value>
|
||||||
|
<comment>@Invariant</comment>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelDLLInfo.Name" xml:space="preserve">
|
||||||
|
<value>labelDLLInfo</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelDLLInfo.Type" xml:space="preserve">
|
||||||
|
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelDLLInfo.Parent" xml:space="preserve">
|
||||||
|
<value>groupBoxDLLInfo</value>
|
||||||
|
</data>
|
||||||
|
<data name=">>labelDLLInfo.ZOrder" xml:space="preserve">
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
@ -208,10 +345,13 @@
|
|||||||
<value>6, 13</value>
|
<value>6, 13</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||||
<value>800, 450</value>
|
<value>800, 550</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||||
|
<value>NoControl</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="$this.Text" xml:space="preserve">
|
<data name="$this.Text" xml:space="preserve">
|
||||||
<value>Umgebungsvariablen anzeigen</value>
|
<value>Test_NxEnvironment</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>$this.Name" xml:space="preserve">
|
<data name=">>$this.Name" xml:space="preserve">
|
||||||
<value>Form1</value>
|
<value>Form1</value>
|
||||||
|
|||||||
@ -54,6 +54,9 @@
|
|||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<EmbeddedResource Include="Form1.de.resx">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Form1.en.resx">
|
<EmbeddedResource Include="Form1.en.resx">
|
||||||
<DependentUpon>Form1.cs</DependentUpon>
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user