Initialize

- Control zum Laden, Bearbeiten und Speichern von XML-Daten
This commit is contained in:
Eugen Höglinger 2022-12-20 09:31:36 +01:00
commit 4e699b9a86
94 changed files with 3683 additions and 0 deletions

Binary file not shown.

BIN
Daten/Pfeil_links.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

BIN
Daten/Pfeil_oben.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

BIN
Daten/Pfeil_rechts.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 468 B

BIN
Daten/Pfeil_unten.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

8
Daten/Test.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<NX-Portal xmlns="https://www.engelglobal.com/de/at/index.html">
<NX Id="1" Version="NX 12" Standard="no" />
<NX Id="2" Version="NX 1953" Standard="yes" />
<NX Id="3" Version="NX 2206" Standard="no" />
<NX Id="4" Version="NX 2212" Standard="no" />
<NX Id="5" Version="NX 2306" Standard="no" />
</NX-Portal>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<NX-Portal xmlns="https://www.engelglobal.com/de/at/index.html">
<NX Id="1" Version="aaaa" Standard="no" />
<NX Id="2" Version="bbbb" Standard="yes" />
<NX Id="3" Version="cccc" Standard="no" />
</NX-Portal>

6
Daten/_Test.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<NX-Portal xmlns="https://www.engelglobal.com/de/at/index.html">
<NX Id="1" Version="$$$$S7YxfGArYNmGwbmzS4nm1g==" Standard="no" />
<NX Id="2" Version="$$$$nqJGUbGGlaUdO183MBXJ1w==" Standard="yes" />
<NX Id="3" Version="$$$$GW4BrEDIAarJjXy1GWwFeA==" Standard="no" />
</NX-Portal>

6
HE-Test_Dll/App.config Normal file
View File

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

129
HE-Test_Dll/Form1.Designer.cs generated Normal file
View File

@ -0,0 +1,129 @@
namespace HE_Test_Dll1
{
partial class Form1
{
/// <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.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.singleValueControl = new Eugen.ESystem.Windows.Forms.SingleValueControl();
this.groupBoxProgramInfo.SuspendLayout();
this.groupBoxDLLInfo.SuspendLayout();
this.SuspendLayout();
//
// groupBoxProgramInfo
//
this.groupBoxProgramInfo.Controls.Add(this.labelProgramInfo);
this.groupBoxProgramInfo.Location = new System.Drawing.Point(12, 372);
this.groupBoxProgramInfo.Name = "groupBoxProgramInfo";
this.groupBoxProgramInfo.Size = new System.Drawing.Size(385, 66);
this.groupBoxProgramInfo.TabIndex = 11;
this.groupBoxProgramInfo.TabStop = false;
this.groupBoxProgramInfo.Text = "Programm Information";
//
// labelProgramInfo
//
this.labelProgramInfo.AutoSize = true;
this.labelProgramInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.labelProgramInfo.Location = new System.Drawing.Point(7, 20);
this.labelProgramInfo.Name = "labelProgramInfo";
this.labelProgramInfo.Size = new System.Drawing.Size(16, 13);
this.labelProgramInfo.TabIndex = 0;
this.labelProgramInfo.Text = "...";
//
// groupBoxDLLInfo
//
this.groupBoxDLLInfo.Controls.Add(this.labelDLLInfo);
this.groupBoxDLLInfo.Location = new System.Drawing.Point(403, 372);
this.groupBoxDLLInfo.Name = "groupBoxDLLInfo";
this.groupBoxDLLInfo.Size = new System.Drawing.Size(385, 66);
this.groupBoxDLLInfo.TabIndex = 12;
this.groupBoxDLLInfo.TabStop = false;
this.groupBoxDLLInfo.Text = "DLL Information";
//
// labelDLLInfo
//
this.labelDLLInfo.AutoSize = true;
this.labelDLLInfo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.labelDLLInfo.Location = new System.Drawing.Point(7, 20);
this.labelDLLInfo.Name = "labelDLLInfo";
this.labelDLLInfo.Size = new System.Drawing.Size(16, 13);
this.labelDLLInfo.TabIndex = 0;
this.labelDLLInfo.Text = "...";
//
// singleValueControl
//
this.singleValueControl.AlwaysEncrypted = false;
this.singleValueControl.CheckBoxDefaultText = "Default\r\nValue";
this.singleValueControl.CheckBoxEncryptValueText = "Encrypt\r\nvalues";
this.singleValueControl.Group = null;
this.singleValueControl.GroupName = "Group";
this.singleValueControl.InitialDirectory = "C:\\";
this.singleValueControl.Key = null;
this.singleValueControl.KeyName = "Key";
this.singleValueControl.Location = new System.Drawing.Point(12, 12);
this.singleValueControl.MaximumSize = new System.Drawing.Size(800, 227);
this.singleValueControl.MinimumSize = new System.Drawing.Size(316, 227);
this.singleValueControl.Name = "singleValueControl";
this.singleValueControl.Password = null;
this.singleValueControl.Size = new System.Drawing.Size(316, 227);
this.singleValueControl.TabIndex = 14;
this.singleValueControl.TableHeaderName = "All values";
this.singleValueControl.Topic = "Topic";
this.singleValueControl.ValueControlName = "Value control";
this.singleValueControl.XMLfileName = null;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.singleValueControl);
this.Controls.Add(this.groupBoxProgramInfo);
this.Controls.Add(this.groupBoxDLLInfo);
this.Name = "Form1";
this.Text = "Test_InfoBox";
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);
}
#endregion
private System.Windows.Forms.GroupBox groupBoxProgramInfo;
private System.Windows.Forms.Label labelProgramInfo;
private System.Windows.Forms.GroupBox groupBoxDLLInfo;
private System.Windows.Forms.Label labelDLLInfo;
private Eugen.ESystem.Windows.Forms.SingleValueControl singleValueControl;
}
}

140
HE-Test_Dll/Form1.cs Normal file
View File

@ -0,0 +1,140 @@
using System;
using System.Collections.Generic;
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.Windows.Forms;
namespace HE_Test_Dll1
{
public partial class Form1 : Form
{
#region Version und Copyright
// Key und Copyright
string programName = Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase); //Den Programmnamen auslesen
string programVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
static object[] attributes = System.Reflection.Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false);
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 = ((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
#region Programm-Info
/// <summary>
/// Contains the name of the program file
/// </summary>
public static string ProgramName { set; get; }
/// <summary>
/// Contains the version of the program file
/// </summary>
public static string ProgramVersion { set; get; }
/// <summary>
/// Contains the copyright notice
/// </summary>
public static string Copyright { set; get; }
private void SetProgramInfo()
{
//Name, Key und Copyright setzen
ProgramName = programName;
ProgramVersion = programVersion;
Copyright = copyright;
}
#endregion
public Form1()
{
SetProgramInfo();
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
labelProgramInfo.Text = String.Concat(ProgramName, "\r\n", ProgramVersion, "\r\n", Copyright); // Zeigt die Programm-Information an
labelDLLInfo.Text = String.Concat(SingleValueControl.DllName, "\r\n", SingleValueControl.DllVersion, "\r\n", SingleValueControl.Copyright); // Zeigt die DLL-Information an
ExecuteControl();
}
private void ExecuteControl()
{
singleValueControl.Password = "Test";
singleValueControl.InitialDirectory = @"C:\Temp\Test";
singleValueControl.XMLfileName = @"H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\Daten\Test.xml";
singleValueControl.ValueControlName = "My XML Control";
singleValueControl.Topic = "NX-Portal";
singleValueControl.GroupName = "MyGroup";
//singleValueControl.Group = "NX"; //Belegt die Gruppe vor. Darf kein Leerzeichen enthalten
singleValueControl.KeyName = "MyKey";
//singleValueControl.Key = "Version"; //Belegt die Gruppe vor. Darf kein Leerzeichen enthalten
singleValueControl.TableHeaderName = "MyValues";
singleValueControl.CheckBoxEncryptValueText = "Encrypt\r\nvalues";
//singleValueControl.AlwaysEncrypted = true; //Alle Werte werden immer Verschlüsselt
singleValueControl.SetDialogWidth(600); //Der Dialog kann zwischen 316 und 800 breit sein
singleValueControl.SetBasicValues(); //Die übergebenen Werte anzeigen
}
}
}

120
HE-Test_Dll/Form1.resx Normal file
View 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>

View File

@ -0,0 +1,101 @@
<?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>{2B71D20F-009D-4089-8C69-98DCCFADF932}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>HE_Test_Dll1</RootNamespace>
<AssemblyName>HE-Test_Dll</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>false</Deterministic>
<TargetFrameworkProfile />
</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>
<Prefer32Bit>false</Prefer32Bit>
</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>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="hecryption, Version=1.0.8276.15006, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\_DLL\Cryption.git\Cryption\bin\Debug\hecryption.dll</HintPath>
</Reference>
<Reference Include="hesvalcon">
<HintPath>..\SingleValueControl\bin\Debug\hesvalcon.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Net" />
<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="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.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>
<DesignTime>True</DesignTime>
</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>
<ProjectReference Include="..\SingleValueControl\SingleValueControl.csproj">
<Project>{65C7F0F6-B8CA-4C1D-9C68-ED98FC2D31A1}</Project>
<Name>SingleValueControl</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

22
HE-Test_Dll/Program.cs Normal file
View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace HE_Test_Dll1
{
internal static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

View 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("HE_Test_Dll")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("HE_Test_Dll")]
[assembly: AssemblyCopyright("Copyright © 2022 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("2b71d20f-009d-4089-8c69-98dccfadf932")]
// 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")]

View File

@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace HE_Test_Dll1.Properties {
using System;
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.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 (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HE_Test_Dll1.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenzuordnungen, 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;
}
}
}
}

View 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>

View File

@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace HE_Test_Dll1.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.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;
}
}
}
}

View 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>

Binary file not shown.

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

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

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
f2bf9de8a0eea837e018fb036012e0fa833ac8a8

View File

@ -0,0 +1,18 @@
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\obj\Debug\HE-Test_SingleValueControl.csproj.AssemblyReference.cache
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\obj\Debug\HE-Test_SingleValueControl.csproj.SuggestedBindingRedirects.cache
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\obj\Debug\HE_Test_Dll1.Form1.resources
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\obj\Debug\HE_Test_Dll1.Properties.Resources.resources
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\obj\Debug\HE-Test_SingleValueControl.csproj.GenerateResource.cache
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\obj\Debug\HE-Test_SingleValueControl.csproj.CoreCompileInputs.cache
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\bin\Debug\HE-Test_Dll.exe.config
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\bin\Debug\HE-Test_Dll.exe
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\bin\Debug\HE-Test_Dll.pdb
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\bin\Debug\hecryption.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\bin\Debug\hecryption.pdb
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\obj\Debug\HE-Test_SingleValueControl.csproj.CopyComplete
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\obj\Debug\HE-Test_Dll.exe
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\obj\Debug\HE-Test_Dll.pdb
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\bin\Debug\hesvalcon.pdb
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\bin\Debug\de\hesvalcon.resources.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\bin\Debug\en\hesvalcon.resources.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\HE-Test_Dll\bin\Debug\hesvalcon.dll

Binary file not shown.

View File

@ -0,0 +1 @@
obj\Debug\\_IsIncrementalBuild

31
SingleValueControl.sln Normal file
View File

@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32901.215
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SingleValueControl", "SingleValueControl\SingleValueControl.csproj", "{65C7F0F6-B8CA-4C1D-9C68-ED98FC2D31A1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HE-SingleValueControl", "HE-Test_Dll\HE-Test_SingleValueControl.csproj", "{2B71D20F-009D-4089-8C69-98DCCFADF932}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{65C7F0F6-B8CA-4C1D-9C68-ED98FC2D31A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{65C7F0F6-B8CA-4C1D-9C68-ED98FC2D31A1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{65C7F0F6-B8CA-4C1D-9C68-ED98FC2D31A1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{65C7F0F6-B8CA-4C1D-9C68-ED98FC2D31A1}.Release|Any CPU.Build.0 = Release|Any CPU
{2B71D20F-009D-4089-8C69-98DCCFADF932}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2B71D20F-009D-4089-8C69-98DCCFADF932}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2B71D20F-009D-4089-8C69-98DCCFADF932}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2B71D20F-009D-4089-8C69-98DCCFADF932}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {59AAF131-8BF2-4032-93D1-76882EA9D29A}
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,170 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
namespace Eugen.ESystem.Windows.Forms
{
internal class LoadXML
{
public string FileName { get; set; }
public string Topic { get; set; } //z.B. "NX-Portal"
public string Group { get; set; } //z.B. "NX"
public string Key { get; set; } //z.B. "Key"
public string[] Values { get; set; } //z.B. "NX 1953"
public int Standard { get; set; } //z.B. "2"
public void Load()
{
if (File.Exists(FileName))
{
// Das Dokument in eine neue XElement-Instanz laden
XElement rootElement = XElement.Load(FileName);
// Auflistung für die Gruppe erzeugen
List<Topics> groups = new List<Topics>();
//Alle groups-Elemente einlesen und durchgehen
//var personElements = rootElement.Elements(Group);
var groupElements = rootElement.Elements();
if (String.IsNullOrEmpty(Group))
{
string[] temp = new string[5];
List<string> lkeys = new List<string>();
List<string> lvalues = new List<string>();
List<string> lstandard = new List<string>();
foreach (var groupElement in groupElements)
{
temp = groupElement.ToString().Split(' ');
//Wenn Leerzeichen im Wert sind, dann werden mehr als 6 Elemente belegt.
//In diesem Fall die Teilelemente wieder zu einem Element zusammenführen.
if (temp.Length > 6)
{
int count = temp.Length - 6;
for (int i = 1; i < count + 1; i++)
{
temp[2] += " " + temp[2 + i]; //Die Teilelemente zusammensetzen
}
var numbersList = temp.ToList(); //Array in eine List umwandeln
for (int i = 0; i < count; i++)
{
numbersList.Remove(numbersList[3]); //Die nicht mehr gültigen Teilelemente löschen
}
temp = numbersList.ToArray(); //List in ein Array zurückwandeln
}
Group = ExtractGroup(temp);
Key = ExtractKey(temp);
lvalues.Add(ExtractValue(temp));
lstandard.Add(ExtractStandard(temp));
}
string[] values = new string[lvalues.Count];
int standard = 0;
for (int i = 0; i < lvalues.Count; i++)
{
values[i] = lvalues[i];
if (lstandard[i] == "yes")
{
standard = i + 1;
}
}
Values = values;
Standard = standard;
}
else
{
foreach (var groupElement in groupElements)
{
//Neue Gruppe erzeugen und in der Auflistung ablegen
Topics group = new Topics();
groups.Add(group);
//Das Attribut id einlesen
XAttribute idAttribute = groupElement.Attribute("Id");
if (idAttribute != null)
{
group.Id = idAttribute.Value;
}
//Key-Element suchen und speichern
XAttribute keyAttribut = groupElement.Attribute(Key);
if (keyAttribut != null)
{
group.Key = keyAttribut.Value;
}
//Standard-Element suchen und speichern
XAttribute standardAttribut = groupElement.Attribute("Standard");
if (standardAttribut != null)
{
group.Standard = standardAttribut.Value;
}
}
DataPreperation(groups);
}
}
}
private string ExtractGroup(string[] temp)
{
return temp[0].Remove(0, 1);
}
private string ExtractKey(string[] temp)
{
return temp[2].Remove(temp[2].IndexOf("="));
}
private string ExtractValue(string[] temp)
{
return temp[2].Remove(0, temp[2].IndexOf("=") + 1).Replace("\"", "");
}
private string ExtractStandard(string[] temp)
{
return temp[3].Remove(0, temp[3].IndexOf("=") + 1).Replace("\"", "");
}
private void DataPreperation(List<Topics> groups)
{
string[] values = new string[groups.Count];
for (int i = 0; i < groups.Count; i++)
{
values[i] = groups[i].Key;
if (groups[i].Standard == "yes")
{
Standard = i + 1;
}
}
Values = values;
}
}
class Topics
{
public string Id;
public string Key;
public string Standard;
}
}

View File

@ -0,0 +1,92 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
namespace Eugen.ESystem.Windows.Forms
{
internal class LoadXML
{
public string FileName { get; set; }
public string Topic { get; set; } //z.B. "NX-Portal"
public string Group { get; set; } //z.B. "NX"
public string Key { get; set; } //z.B. "Version"
public string[] Values { get; set; } //z.B. "NX 1953"
public string Standard { get; set; } //z.B. "yes"
public void Load()
{
// Das Dokument in eine neue XElement-Instanz laden
XElement rootElement = XElement.Load(@"C:\Temp\Test\Test.xml");
// Auflistung für die Gruppe erzeugen
List<Topics> groups = new List<Topics>();
//Alle groups-Elemente einlesen und durchgehen
//var personElements = rootElement.Elements(Group);
var groupElements = rootElement.Elements();
foreach (var groupElement in groupElements)
{
//Neue Gruppe erzeugen und in der Auflistung ablegen
Topics group = new Topics();
groups.Add(group);
//Das Attribut id einlesen
XAttribute idAttribute = groupElement.Attribute("Id");
if (idAttribute != null)
{
group.Id = idAttribute.Value;
}
//Key-Element suchen und speichern
XAttribute keyAttribut = groupElement.Attribute(Key);
if (keyAttribut != null)
{
group.Version = keyAttribut.Value;
}
//Standard-Element suchen und speichern
XAttribute standardAttribut = groupElement.Attribute("Standard");
if (standardAttribut != null)
{
group.Standard = standardAttribut.Value;
}
}
}
public void LoadData()
{
//XElement zum Lesen erzeugen
XElement personsXML = XElement.Load(FileName);
//XDocument personsXML = XDocument.Load(FileName);
//Alle Aliens abfragen
var persons =
from person in personsXML.Descendants("person")
where person.Element("type").Value == "Alien"
select new
{
Id = (int)person.Attribute("id"),
FirstName = person.Element("firstname").Value,
LastName = person.Element("lastname").Value
};
//Die abgefragten Personen durchgehen und derern Daten ausgeben
foreach (var person in persons)
{
//TODO:
}
}
}
class Topics
{
public string Id;
public string Version;
public string Standard;
}
}

View File

@ -0,0 +1,145 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Eugen.ESystem.Windows.Forms.Properties {
using System;
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class AppResources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal AppResources() {
}
/// <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 (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Eugen.ESystem.Windows.Forms.Properties.AppResources", typeof(AppResources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenzuordnungen, 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;
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die xml files (*.xml)|*.xml|All files (*.*)|*.* ähnelt.
/// </summary>
internal static string dlgFilter {
get {
return ResourceManager.GetString("dlgFilter", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Open XML file ähnelt.
/// </summary>
internal static string dlgOpenTitle {
get {
return ResourceManager.GetString("dlgOpenTitle", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Save XML file ähnelt.
/// </summary>
internal static string dlgSaveTitle {
get {
return ResourceManager.GetString("dlgSaveTitle", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Error ähnelt.
/// </summary>
internal static string msgBoxCapt001 {
get {
return ResourceManager.GetString("msgBoxCapt001", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Question ähnelt.
/// </summary>
internal static string msgBoxCapt002 {
get {
return ResourceManager.GetString("msgBoxCapt002", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die Information ähnelt.
/// </summary>
internal static string msgBoxCapt003 {
get {
return ResourceManager.GetString("msgBoxCapt003", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die File not found! ähnelt.
/// </summary>
internal static string msgBoxTxt001 {
get {
return ResourceManager.GetString("msgBoxTxt001", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die The table is not empty.
///Should the values be overridden? ähnelt.
/// </summary>
internal static string msgBoxTxt002 {
get {
return ResourceManager.GetString("msgBoxTxt002", resourceCulture);
}
}
/// <summary>
/// Sucht eine lokalisierte Zeichenfolge, die The file was saved successfully. ähnelt.
/// </summary>
internal static string msgBoxTxt003 {
get {
return ResourceManager.GetString("msgBoxTxt003", resourceCulture);
}
}
}
}

View File

@ -0,0 +1,148 @@
<?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="dlgFilter" xml:space="preserve">
<value>xml Datei (*.xml)|*.xml|Alle Dateien (*.*)|*.*</value>
</data>
<data name="dlgOpenTitle" xml:space="preserve">
<value>Öffne XML Datei</value>
</data>
<data name="dlgSaveTitle" xml:space="preserve">
<value>Speichere XML Datei</value>
</data>
<data name="msgBoxCapt001" xml:space="preserve">
<value>Fehler</value>
</data>
<data name="msgBoxCapt002" xml:space="preserve">
<value>Frage</value>
</data>
<data name="msgBoxCapt003" xml:space="preserve">
<value>Information</value>
</data>
<data name="msgBoxTxt001" xml:space="preserve">
<value>Datei wurde nicht gefunden!</value>
</data>
<data name="msgBoxTxt002" xml:space="preserve">
<value>Die Tabelle ist nicht leer.
Sollen die Werte überschieben werden?</value>
</data>
<data name="msgBoxTxt003" xml:space="preserve">
<value>Die Datei wurde erfolgreich gespeichert.</value>
</data>
</root>

View File

@ -0,0 +1,148 @@
<?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="dlgFilter" xml:space="preserve">
<value>xml files (*.xml)|*.xml|All files (*.*)|*.*</value>
</data>
<data name="dlgOpenTitle" xml:space="preserve">
<value>Open XML file</value>
</data>
<data name="dlgSaveTitle" xml:space="preserve">
<value>Save XML file</value>
</data>
<data name="msgBoxCapt001" xml:space="preserve">
<value>Error</value>
</data>
<data name="msgBoxCapt002" xml:space="preserve">
<value>Question</value>
</data>
<data name="msgBoxCapt003" xml:space="preserve">
<value>Information</value>
</data>
<data name="msgBoxTxt001" xml:space="preserve">
<value>File not found!</value>
</data>
<data name="msgBoxTxt002" xml:space="preserve">
<value>The table is not empty.
Should the values be overridden?</value>
</data>
<data name="msgBoxTxt003" xml:space="preserve">
<value>The file was saved successfully.</value>
</data>
</root>

View File

@ -0,0 +1,148 @@
<?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="dlgFilter" xml:space="preserve">
<value>xml files (*.xml)|*.xml|All files (*.*)|*.*</value>
</data>
<data name="dlgOpenTitle" xml:space="preserve">
<value>Open XML file</value>
</data>
<data name="dlgSaveTitle" xml:space="preserve">
<value>Save XML file</value>
</data>
<data name="msgBoxCapt001" xml:space="preserve">
<value>Error</value>
</data>
<data name="msgBoxCapt002" xml:space="preserve">
<value>Question</value>
</data>
<data name="msgBoxCapt003" xml:space="preserve">
<value>Information</value>
</data>
<data name="msgBoxTxt001" xml:space="preserve">
<value>File not found!</value>
</data>
<data name="msgBoxTxt002" xml:space="preserve">
<value>The table is not empty.
Should the values be overridden?</value>
</data>
<data name="msgBoxTxt003" xml:space="preserve">
<value>The file was saved successfully.</value>
</data>
</root>

View 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("Test_ValueControl")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Test_ValueControl")]
[assembly: AssemblyCopyright("Copyright © 2022 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("65c7f0f6-b8ca-4c1d-9c68-ed98fc2d31a1")]
// 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,
// indem Sie "*" wie unten gezeigt eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.*")]
//[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -0,0 +1,83 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Eugen.ESystem.Windows.Forms.Properties {
using System;
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.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 (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Eugen.ESystem.Windows.Forms.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenzuordnungen, 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;
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Pfeil_oben {
get {
object obj = ResourceManager.GetObject("Pfeil_oben", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Pfeil_unten {
get {
object obj = ResourceManager.GetObject("Pfeil_unten", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@ -0,0 +1,127 @@
<?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>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Pfeil_oben" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Pfeil_oben.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="Pfeil_unten" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Pfeil_unten.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

View File

@ -0,0 +1,63 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using System.Windows.Forms;
using AppRes = Eugen.ESystem.Windows.Forms.Properties.AppResources;
namespace Eugen.ESystem.Windows.Forms
{
internal class SaveXML
{
public string FileName { get; set; }
public string Topic = ""; //z.B. "NX-Portal"
public string Group { get; set; } //z.B. "NX"
public string GroupStandard { get; set; } //z.B. "Standardversion"
public string Key { get; set; } //z.B. "Key"
public string[] Values { get; set; } //z.B. "NX 1953"
public int Standard { get; set; } //z.B. "2"
public void Save()
{
//Namensraum definieren
XNamespace ns = "https://www.engelglobal.com/de/at/index.html";
//Wurzelelement erzeugen
XElement rootElement = new XElement(ns + Topic);
//Namensraum als Attribut angeben
rootElement.Add(new XAttribute("xmlns", ns));
//Der Wert
for (int id = 0; id < Values.Length; id++)
{
XElement groupElement = new XElement(ns + Group);
groupElement.Add(new XAttribute("Id", id + 1));
groupElement.Add(new XAttribute(Key, Values[id]));
if (Standard == id + 1)
{
groupElement.Add(new XAttribute("Standard", "yes"));
}
else
{
groupElement.Add(new XAttribute("Standard", "no"));
}
rootElement.Add(groupElement);
}
//XElement standardElement = new XElement(ns + GroupStandard);
//standardElement = new XElement(ns + GroupStandard);
//standardElement.Add(new XAttribute("Standard", Standard));
//rootElement.Add(standardElement);
rootElement.Save(FileName);
MessageBox.Show(AppRes.msgBoxTxt003, AppRes.msgBoxCapt003, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}

View File

@ -0,0 +1,200 @@
namespace Eugen.ESystem.Windows.Forms
{
partial class SingleValueControl
{
/// <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 Komponenten-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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SingleValueControl));
this.groupBoxValueControl = new System.Windows.Forms.GroupBox();
this.panel1 = new System.Windows.Forms.Panel();
this.checkBoxEncryptValues = new System.Windows.Forms.CheckBox();
this.checkBoxDefaultValue = new System.Windows.Forms.CheckBox();
this.buttonDown = new System.Windows.Forms.Button();
this.buttonUp = new System.Windows.Forms.Button();
this.buttonSave = new System.Windows.Forms.Button();
this.buttonLoad = new System.Windows.Forms.Button();
this.dataGridViewValues = new System.Windows.Forms.DataGridView();
this.ColumnValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.textBoxKey = new System.Windows.Forms.TextBox();
this.labelKey = new System.Windows.Forms.Label();
this.textBoxGroup = new System.Windows.Forms.TextBox();
this.labelGroup = new System.Windows.Forms.Label();
this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
this.groupBoxValueControl.SuspendLayout();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridViewValues)).BeginInit();
this.SuspendLayout();
//
// groupBoxValueControl
//
resources.ApplyResources(this.groupBoxValueControl, "groupBoxValueControl");
this.groupBoxValueControl.Controls.Add(this.panel1);
this.groupBoxValueControl.Controls.Add(this.buttonDown);
this.groupBoxValueControl.Controls.Add(this.buttonUp);
this.groupBoxValueControl.Controls.Add(this.buttonSave);
this.groupBoxValueControl.Controls.Add(this.buttonLoad);
this.groupBoxValueControl.Controls.Add(this.dataGridViewValues);
this.groupBoxValueControl.Controls.Add(this.textBoxKey);
this.groupBoxValueControl.Controls.Add(this.labelKey);
this.groupBoxValueControl.Controls.Add(this.textBoxGroup);
this.groupBoxValueControl.Controls.Add(this.labelGroup);
this.groupBoxValueControl.Name = "groupBoxValueControl";
this.groupBoxValueControl.TabStop = false;
//
// panel1
//
resources.ApplyResources(this.panel1, "panel1");
this.panel1.Controls.Add(this.checkBoxEncryptValues);
this.panel1.Controls.Add(this.checkBoxDefaultValue);
this.panel1.Name = "panel1";
//
// checkBoxEncryptValues
//
resources.ApplyResources(this.checkBoxEncryptValues, "checkBoxEncryptValues");
this.checkBoxEncryptValues.Name = "checkBoxEncryptValues";
this.checkBoxEncryptValues.UseVisualStyleBackColor = true;
//
// checkBoxDefaultValue
//
resources.ApplyResources(this.checkBoxDefaultValue, "checkBoxDefaultValue");
this.checkBoxDefaultValue.Name = "checkBoxDefaultValue";
this.checkBoxDefaultValue.UseVisualStyleBackColor = true;
this.checkBoxDefaultValue.CheckedChanged += new System.EventHandler(this.checkBoxDefaultValue_CheckedChanged);
//
// buttonDown
//
resources.ApplyResources(this.buttonDown, "buttonDown");
this.buttonDown.BackgroundImage = global::Eugen.ESystem.Windows.Forms.Properties.Resources.Pfeil_unten;
this.buttonDown.Name = "buttonDown";
this.buttonDown.UseVisualStyleBackColor = true;
this.buttonDown.Click += new System.EventHandler(this.buttonDown_Click);
//
// buttonUp
//
resources.ApplyResources(this.buttonUp, "buttonUp");
this.buttonUp.BackgroundImage = global::Eugen.ESystem.Windows.Forms.Properties.Resources.Pfeil_oben;
this.buttonUp.Name = "buttonUp";
this.buttonUp.UseVisualStyleBackColor = true;
this.buttonUp.Click += new System.EventHandler(this.buttonUp_Click);
//
// buttonSave
//
resources.ApplyResources(this.buttonSave, "buttonSave");
this.buttonSave.Name = "buttonSave";
this.buttonSave.UseVisualStyleBackColor = true;
this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
//
// buttonLoad
//
resources.ApplyResources(this.buttonLoad, "buttonLoad");
this.buttonLoad.Name = "buttonLoad";
this.buttonLoad.UseVisualStyleBackColor = true;
this.buttonLoad.Click += new System.EventHandler(this.buttonLoad_Click);
//
// dataGridViewValues
//
this.dataGridViewValues.AllowUserToResizeColumns = false;
resources.ApplyResources(this.dataGridViewValues, "dataGridViewValues");
this.dataGridViewValues.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridViewValues.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.ColumnValue});
this.dataGridViewValues.Name = "dataGridViewValues";
this.dataGridViewValues.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewValues_RowEnter);
this.dataGridViewValues.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dataGridViewValues_RowsAdded);
this.dataGridViewValues.RowsRemoved += new System.Windows.Forms.DataGridViewRowsRemovedEventHandler(this.dataGridViewValues_RowsRemoved);
this.dataGridViewValues.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridViewValues_KeyDown);
//
// ColumnValue
//
this.ColumnValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
resources.ApplyResources(this.ColumnValue, "ColumnValue");
this.ColumnValue.Name = "ColumnValue";
this.ColumnValue.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
//
// textBoxKey
//
resources.ApplyResources(this.textBoxKey, "textBoxKey");
this.textBoxKey.Name = "textBoxKey";
this.textBoxKey.TextChanged += new System.EventHandler(this.textBoxKey_TextChanged);
//
// labelKey
//
resources.ApplyResources(this.labelKey, "labelKey");
this.labelKey.Name = "labelKey";
//
// textBoxGroup
//
resources.ApplyResources(this.textBoxGroup, "textBoxGroup");
this.textBoxGroup.Name = "textBoxGroup";
this.textBoxGroup.TextChanged += new System.EventHandler(this.textBoxGroup_TextChanged);
//
// labelGroup
//
resources.ApplyResources(this.labelGroup, "labelGroup");
this.labelGroup.Name = "labelGroup";
//
// openFileDialog
//
this.openFileDialog.FileName = "openFileDialog";
resources.ApplyResources(this.openFileDialog, "openFileDialog");
//
// SingleValueControl
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.groupBoxValueControl);
this.Name = "SingleValueControl";
this.groupBoxValueControl.ResumeLayout(false);
this.groupBoxValueControl.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridViewValues)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBoxValueControl;
private System.Windows.Forms.Button buttonSave;
private System.Windows.Forms.Button buttonLoad;
private System.Windows.Forms.CheckBox checkBoxEncryptValues;
private System.Windows.Forms.DataGridView dataGridViewValues;
private System.Windows.Forms.TextBox textBoxKey;
private System.Windows.Forms.Label labelKey;
private System.Windows.Forms.TextBox textBoxGroup;
private System.Windows.Forms.Label labelGroup;
private System.Windows.Forms.Button buttonDown;
private System.Windows.Forms.Button buttonUp;
private System.Windows.Forms.OpenFileDialog openFileDialog;
private System.Windows.Forms.SaveFileDialog saveFileDialog;
private System.Windows.Forms.CheckBox checkBoxDefaultValue;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.DataGridViewTextBoxColumn ColumnValue;
}
}

View File

@ -0,0 +1,640 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Reflection;
using AppRes = Eugen.ESystem.Windows.Forms.Properties.AppResources;
using System.Xml.Linq;
namespace Eugen.ESystem.Windows.Forms
{
public partial class SingleValueControl : UserControl
{
#region Version und Copyright
// Key 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 dll file.
/// </summary>
public static string DllName { private set; get; }
/// <summary>
/// Contains the version of the dll file.
/// </summary>
public static string DllVersion { private set; get; }
/// <summary>
/// Contains the copyright notice.
/// </summary>
public static string Copyright { private set; get; }
/// <summary>
/// Contains the name-, version- and copyright-information of the dll file.
/// </summary>
public static string[] DllInfo { private set; get; }
private static void SetDllInfo()
{
//Name, Key und Copyright setzen
DllName = dllName;
DllVersion = dllVersion;
Copyright = copyright;
}
#endregion
static SingleValueControl()
{
SetDllInfo(); //Name, Key und Copyright der DLL setzen
}
/// <summary>
/// Creates a control with which the values in an XML file can be edited
/// </summary>
public SingleValueControl()
{
InitializeComponent();
InitialDirectory = @"C:\";
Topic = "Topic";
StandardValue = 0;
}
#region Public values
/// <summary>
/// The password used for encryption. An empty value disables the Encrypt values switch
/// </summary>
public string Password
{
get { return password; }
set
{
password = value;
checkBoxEncryptValues.Enabled = !String.IsNullOrEmpty(Password);
}
}
/// <summary>
/// Defines or read the initial directory
/// </summary>
public string InitialDirectory { set; get; }
/// <summary>
/// XML file name. Must be specified mandatory
/// </summary>
public string XMLfileName { set; get; }
/// <summary>
/// Adjusts the labeling of the values control. An empty value forces the default labeling
/// </summary>
public string ValueControlName
{
get { return groupBoxValueControl.Text; }
set
{
groupBoxValueControl.Text = value;
groupBoxValueControl.Refresh();
}
}
/// <summary>
/// Defines the Topic. An empty value forces the default labeling
/// </summary>
public string Topic { set; get; }
/// <summary>
/// Adjusts the labeling of the group designation. An empty value forces the default labeling
/// </summary>
public string GroupName
{
get { return labelGroup.Text; }
set { labelGroup.Text = value; }
}
/// <summary>
/// Adjusts the name of the group attribute used in the XML file. Required by the Load function
/// </summary>
public string Group { set; get; }
/// <summary>
/// Adjusts the labeling of the key designation. An empty value forces the default labeling
/// </summary>
public string KeyName
{
get { return labelKey.Text; }
set { labelKey.Text = value; }
}
/// <summary>
/// Adjusts the name of the key attribute used in the XML file. Required by the Load function
/// </summary>
public string Key { set; get; }
/// <summary>
/// Adjusts the labeling of the table header designation. An empty value forces the default labeling
/// </summary>
public string TableHeaderName
{
get { return dataGridViewValues.Columns[0].HeaderText; }
set { dataGridViewValues.Columns[0].HeaderText = value; }
}
/// <summary>
/// Adjusts the labeling of the encrypt value checkBox. An empty value forces the default labeling
/// </summary>
public string CheckBoxEncryptValueText
{
get { return checkBoxEncryptValues.Text; }
set
{
checkBoxEncryptValues.Text = value;
checkBoxEncryptValues.Enabled = !String.IsNullOrEmpty(Password);
}
}
/// <summary>
/// Controls whether values are always encrypted. An empty value forces the default value (false)
/// </summary>
public bool AlwaysEncrypted
{
get { return alwaysEncrypted; }
set
{
alwaysEncrypted = value;
checkBoxEncryptValues.Enabled = !alwaysEncrypted;
checkBoxEncryptValues.Checked = alwaysEncrypted;
}
}
/// <summary>
/// Adjusts the labeling of the default checkBox. An empty value forces the default labeling
/// </summary>
public string CheckBoxDefaultText
{
get { return checkBoxDefaultValue.Text; }
set
{
checkBoxDefaultValue.Text = value;
}
}
#endregion
#region Private values
private string password;
private bool alwaysEncrypted = false;
private bool standardValueSet = false;
private int selectedRow = 0;
private int rowIndexColored = 0;
private int StandardValue { get; set; }
#endregion
private void textBoxGroup_TextChanged(object sender, EventArgs e)
{
Group = textBoxGroup.Text;
buttonSave.Enabled = (!String.IsNullOrEmpty(textBoxGroup.Text) & !String.IsNullOrEmpty(textBoxKey.Text));
}
private void textBoxKey_TextChanged(object sender, EventArgs e)
{
Key = textBoxKey.Text;
buttonSave.Enabled = (!String.IsNullOrEmpty(textBoxGroup.Text) & !String.IsNullOrEmpty(textBoxKey.Text));
}
private void buttonUp_Click(object sender, EventArgs e)
{
if (dataGridViewValues.SelectedCells.Count > 0)
{
int index = dataGridViewValues.SelectedCells[0].OwningRow.Index;
if (index > 0)
{
int col = dataGridViewValues.SelectedCells[0].OwningColumn.Index;
DataGridViewRowCollection rows = dataGridViewValues.Rows;
DataGridViewRow row = rows[index];
rows.Remove(row);
rows.Insert(index - 1, row);
dataGridViewValues.ClearSelection();
dataGridViewValues.Rows[index - 1].Cells[col].Selected = true;
}
}
}
private void buttonDown_Click(object sender, EventArgs e)
{
if (dataGridViewValues.SelectedCells.Count > 0)
{
int index = dataGridViewValues.SelectedCells[0].OwningRow.Index;
if (index < dataGridViewValues.Rows.Count - 2)
{
int col = dataGridViewValues.SelectedCells[0].OwningColumn.Index;
DataGridViewRowCollection rows = dataGridViewValues.Rows;
DataGridViewRow row = rows[index];
rows.Remove(row);
rows.Insert(index + 1, row);
dataGridViewValues.ClearSelection();
dataGridViewValues.Rows[index + 1].Cells[col].Selected = true;
}
}
}
private void buttonLoad_Click(object sender, EventArgs e)
{
if (String.IsNullOrEmpty(XMLfileName))
{
openFileDialog.Title = AppRes.dlgOpenTitle;
openFileDialog.InitialDirectory = InitialDirectory;
openFileDialog.FileName = "";
openFileDialog.Filter = AppRes.dlgFilter; //"xml files (*.xml)|*.xml|All files (*.*)|*.*"
openFileDialog.FilterIndex = 1;
openFileDialog.RestoreDirectory = true;
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
XMLfileName = openFileDialog.FileName;
LoadXML();
}
}
else
{
if (File.Exists(XMLfileName))
{
LoadXML();
}
else
{
MessageBox.Show(AppRes.msgBoxTxt001, AppRes.msgBoxCapt001, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
}
if (StandardValue != 0)
{
dataGridViewValues.Rows[StandardValue - 1].DefaultCellStyle.ForeColor = Color.LightSeaGreen; //Standardwert noch einmal markiere, weil die Markierung manchmal zurückgesetzt wird
}
}
private void buttonSave_Click(object sender, EventArgs e)
{
if (String.IsNullOrEmpty(XMLfileName))
{
saveFileDialog.Title = AppRes.dlgSaveTitle;
saveFileDialog.InitialDirectory = InitialDirectory;
saveFileDialog.Filter = AppRes.dlgFilter; //"xml files (*.xml)|*.xml|All files (*.*)|*.*"
saveFileDialog.FilterIndex = 1;
saveFileDialog.RestoreDirectory = true;
if (saveFileDialog.ShowDialog() == DialogResult.OK)
{
SaveXML();
}
}
else
{
SaveXML();
}
}
private void dataGridViewValues_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e)
{
if (dataGridViewValues.Rows.Count != 0)
{
checkBoxDefaultValue.Enabled = true; //Standardwert freischalten, sobald es einen Wert gibt
}
}
private void dataGridViewValues_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Delete)
{
selectedRow = dataGridViewValues.SelectedCells[0].RowIndex + 1; //Wenn die Zeile gelöscht wird, dann die Zeilennummer merken
}
}
private void dataGridViewValues_RowsRemoved(object sender, DataGridViewRowsRemovedEventArgs e)
{
if (dataGridViewValues.Rows.Count <=1)
{
checkBoxDefaultValue.Enabled = false;
}
//Wenn die gelöschte Zeile den Standardwert enthielt, dann die WErte zurücksetzten, weil es keinen Standardwert mehr gibt
if (selectedRow == rowIndexColored)
{
StandardValue = 0; //Es gibt keine ausgewählte Standardzeile
standardValueSet = false; //es gibt keinen Standardwert
rowIndexColored = 0; //Es gibt keine umgefärbte Zeile
}
}
private void checkBoxDefaultValue_CheckedChanged(object sender, EventArgs e)
{
if (checkBoxDefaultValue.Checked)
{
StandardValue = dataGridViewValues.SelectedCells[0].RowIndex + 1; //Zeile die als Standard ausgewählt wurde
standardValueSet = true; //Es gibt einen Standardwert
if (rowIndexColored != 0)
{
dataGridViewValues.Rows[rowIndexColored - 1].DefaultCellStyle.ForeColor = Color.Empty; //Wenn schon eine Zelle umgefärbt war, dann diese zurücksetzten
}
dataGridViewValues.Rows[dataGridViewValues.SelectedCells[0].RowIndex].DefaultCellStyle.ForeColor = Color.LightSeaGreen;
rowIndexColored = dataGridViewValues.SelectedCells[0].RowIndex + 1; //Die Zeile merken die umgefärbt wurde
}
else
{
if (standardValueSet & StandardValue == dataGridViewValues.SelectedCells[0].RowIndex + 1)
{
StandardValue = 0; //Es gibt keine ausgewählte Standardzeile
standardValueSet = false; //es gibt keinen Standardwert
dataGridViewValues.Rows[rowIndexColored - 1].DefaultCellStyle.ForeColor = Color.Empty; //Die ausgewählte Zelle umfärben
rowIndexColored = 0; //Es gibt keine umgefärbte Zeile
}
}
}
private void dataGridViewValues_RowEnter(object sender, DataGridViewCellEventArgs e)
{
SetStandard();
}
public void SetBasicValues()
{
if (!String.IsNullOrEmpty(Group))
{
textBoxGroup.Text = Group;
}
if (!String.IsNullOrEmpty(Key))
{
textBoxKey.Text = Key;
}
if (File.Exists(XMLfileName))
{
if (!String.IsNullOrEmpty(Group) && !String.IsNullOrEmpty(Key))
{
LoadXML();
}
}
}
private void SetStandard()
{
try
{
if (StandardValue == dataGridViewValues.SelectedCells[0].RowIndex + 1)
{
checkBoxDefaultValue.Checked = true; //Wenn die ausgewählte Zeile den Standardwert enthält, dann die CheckBox anwählen
dataGridViewValues.Rows[dataGridViewValues.SelectedCells[0].RowIndex].DefaultCellStyle.ForeColor = Color.LightSeaGreen;
}
else
{
checkBoxDefaultValue.Checked = false; //Wenn die ausgewählte Zeile keinen Standardwert enthält, dann die CheckBox abwählen
dataGridViewValues.Rows[rowIndexColored + 1].DefaultCellStyle.ForeColor = Color.Empty;
}
}
catch (Exception)
{
//Nur die falsche Reihe ausgewählt, z.B. die Kopfzeile
}
}
private void LoadXML()
{
checkBoxEncryptValues.Checked = false;
var loadXML = new LoadXML();
loadXML.FileName = XMLfileName;
loadXML.Topic = Topic;
loadXML.Key = Key;
loadXML.Group = Group;
//loadXML.LoadAllValues = LoadXML.LoadAll.No;
//Wenn es schon Einträge in der Liste gibt, dann diese leeren
if (dataGridViewValues.RowCount != 1)
{
DialogResult result = MessageBox.Show(AppRes.msgBoxTxt002, AppRes.msgBoxCapt002, MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (result == DialogResult.No)
{
return;
}
//Wenn es schon Werte gibt, dann diese löschen
dataGridViewValues.Rows.Clear();
}
loadXML.Load();
string[] values = new string[loadXML.Values.Length];
for (int i = 0; i < loadXML.Values.Length; i++)
{
values[i] = loadXML.Values[i];
}
for (int i = 0; i < values.Length; i++)
{
if (values[i].StartsWith("$$$$"))
{
values[i] = Decrypt(values[i], Password);
checkBoxEncryptValues.Checked = true; //Wenn ein verschlüsseltes Element gefunden wurde, dann setzen
}
dataGridViewValues.Rows.Add(values[i]); //Werte in die Tabelle schreiben
if (i == loadXML.Standard - 1)
{
StandardValue = loadXML.Standard; //Standardwert setzen
dataGridViewValues.Rows[i].DefaultCellStyle.ForeColor = Color.LightSeaGreen;
}
}
dataGridViewValues.Refresh();
textBoxKey.Text = loadXML.Key; //Key setzen
textBoxGroup.Text = loadXML.Group; //Gruppe setzen
SetStandard();
}
private void SaveXML()
{
if (!Directory.Exists(Path.GetDirectoryName(XMLfileName)))
{
Directory.CreateDirectory(Path.GetDirectoryName(XMLfileName)); //Wenn das Verzeichnis nicht existiert, dann erzeugen
}
int dgvLength = dataGridViewValues.RowCount - 1;
string value = "";
string[] values = new string[dgvLength];
for (int i = 0; i < dgvLength; i++)
{
if (checkBoxEncryptValues.Checked)
{
value = Encrypt(dataGridViewValues[0, i].Value.ToString(), Password); //Verschlüsselt
}
else
{
value = dataGridViewValues[0, i].Value.ToString(); //Unverschlüsselt
}
values[i] = value;
}
//Speichern
var saveXML = new SaveXML();
saveXML.FileName = XMLfileName;
//saveXML.MultiGroupFile = SaveXML.multigroupFile.No; //'No' muss nicht zwingend angegeben werden, ist der Standardwert
saveXML.Topic = "NX-Portal"; //z.B. "NX-Portal"
saveXML.Group = textBoxGroup.Text; //z.B. "NX"
//saveXML.GroupStandard = String.Concat(Group, "-", textBoxKey.Text); //z.B. "NX-Key"
saveXML.Key = textBoxKey.Text; //z.B. "Key"
saveXML.Values = values; //z.B. "NX 1953"
saveXML.Standard = StandardValue; //z.B. "2"
saveXML.Save();
}
private string Encrypt(string clearText, string password)
{
var crypt = new Cryption();
return String.Concat("$$$$", crypt.EncryptString(clearText, password));
}
private string Decrypt(string encryptedText, string password)
{
var crypt = new Cryption();
return crypt.DecryptString(encryptedText.Replace("$$$$", ""), password);
}
/// <summary>
/// Sets a customer width of the user control
/// </summary>
/// <param name="width">The width. Min=316, Max=800</param>
public void SetDialogWidth(int width)
{
if (width >= this.MinimumSize.Width && width <= this.MaximumSize.Width)
{
this.Width = width;
}
}
/// <summary>
/// Gets the values stored in the XML file
/// </summary>
/// <returns>An string array</returns>
public string[] GetValues()
{
checkBoxEncryptValues.Checked = false;
var loadXML = new LoadXML();
loadXML.FileName = XMLfileName;
loadXML.Topic = Topic;
loadXML.Key = Key;
loadXML.Group = Group;
loadXML.Load();
if (loadXML.Values == null)
{
return null;
}
else
{
string[] values = new string[loadXML.Values.Length];
for (int i = 0; i < loadXML.Values.Length; i++)
{
values[i] = loadXML.Values[i];
}
for (int i = 0; i < values.Length; i++)
{
if (values[i].StartsWith("$$$$"))
{
values[i] = Decrypt(values[i], Password);
}
}
return values;
}
}
}
}

View File

@ -0,0 +1,97 @@
<?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>{65C7F0F6-B8CA-4C1D-9C68-ED98FC2D31A1}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>Eugen.ESystem.Windows.Forms</RootNamespace>
<AssemblyName>hesvalcon</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>false</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="hecryption">
<HintPath>..\..\..\_DLL\Cryption.git\Cryption\bin\Debug\hecryption.dll</HintPath>
</Reference>
<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.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="LoadXML.cs" />
<Compile Include="Properties\AppResources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>AppResources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="SaveXML.cs" />
<Compile Include="SingleValueControl.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="SingleValueControl.Designer.cs">
<DependentUpon>SingleValueControl.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Service Include="{94E38DFF-614B-4cbd-B67C-F211BB35CE8B}" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\AppResources.de.resx" />
<EmbeddedResource Include="Properties\AppResources.en.resx" />
<EmbeddedResource Include="Properties\AppResources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>AppResources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="SingleValueControl.de.resx">
<DependentUpon>SingleValueControl.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SingleValueControl.resx">
<DependentUpon>SingleValueControl.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="Resources\Pfeil_oben.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Pfeil_unten.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -0,0 +1,152 @@
<?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="buttonSave.Text" xml:space="preserve">
<value>Speichern</value>
</data>
<data name="buttonLoad.Text" xml:space="preserve">
<value>Laden</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="checkBoxEncryptValues.Size" type="System.Drawing.Size, System.Drawing">
<value>76, 30</value>
</data>
<data name="checkBoxEncryptValues.Text" xml:space="preserve">
<value>Werte ver-
schlüsseln</value>
</data>
<data name="labelKey.Size" type="System.Drawing.Size, System.Drawing">
<value>52, 13</value>
</data>
<data name="labelKey.Text" xml:space="preserve">
<value>Schlüssel</value>
</data>
<data name="labelGroup.Size" type="System.Drawing.Size, System.Drawing">
<value>42, 13</value>
</data>
<data name="labelGroup.Text" xml:space="preserve">
<value>Gruppe</value>
</data>
<data name="groupBoxValueControl.Text" xml:space="preserve">
<value>Werte Steuerung</value>
</data>
<data name="ColumnValue.HeaderText" xml:space="preserve">
<value>Alle Werte</value>
</data>
</root>

View File

@ -0,0 +1,560 @@
<?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>
<metadata name="groupBoxValueControl.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="groupBoxValueControl.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<data name="panel1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="checkBoxEncryptValues.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="checkBoxEncryptValues.Enabled" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="checkBoxEncryptValues.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="checkBoxEncryptValues.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="checkBoxEncryptValues.Size" type="System.Drawing.Size, System.Drawing">
<value>62, 30</value>
</data>
<data name="checkBoxEncryptValues.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="checkBoxEncryptValues.Text" xml:space="preserve">
<value>Encrypt
values</value>
</data>
<data name="&gt;&gt;checkBoxEncryptValues.Name" xml:space="preserve">
<value>checkBoxEncryptValues</value>
</data>
<data name="&gt;&gt;checkBoxEncryptValues.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;checkBoxEncryptValues.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;checkBoxEncryptValues.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="checkBoxDefaultValue.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="checkBoxDefaultValue.Enabled" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="checkBoxDefaultValue.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="checkBoxDefaultValue.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 36</value>
</data>
<data name="checkBoxDefaultValue.Size" type="System.Drawing.Size, System.Drawing">
<value>60, 30</value>
</data>
<data name="checkBoxDefaultValue.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="checkBoxDefaultValue.Text" xml:space="preserve">
<value>Default
Value</value>
</data>
<data name="&gt;&gt;checkBoxDefaultValue.Name" xml:space="preserve">
<value>checkBoxDefaultValue</value>
</data>
<data name="&gt;&gt;checkBoxDefaultValue.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;checkBoxDefaultValue.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;checkBoxDefaultValue.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
<value>235, 125</value>
</data>
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 67</value>
</data>
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
<value>12</value>
</data>
<data name="&gt;&gt;panel1.Name" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;panel1.Type" xml:space="preserve">
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;panel1.Parent" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;panel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="buttonDown.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="buttonDown.BackgroundImageLayout" type="System.Windows.Forms.ImageLayout, System.Windows.Forms">
<value>Zoom</value>
</data>
<data name="buttonDown.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="buttonDown.Location" type="System.Drawing.Point, System.Drawing">
<value>235, 198</value>
</data>
<data name="buttonDown.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="buttonDown.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="&gt;&gt;buttonDown.Name" xml:space="preserve">
<value>buttonDown</value>
</data>
<data name="&gt;&gt;buttonDown.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;buttonDown.Parent" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;buttonDown.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="buttonUp.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="buttonUp.BackgroundImageLayout" type="System.Windows.Forms.ImageLayout, System.Windows.Forms">
<value>Zoom</value>
</data>
<data name="buttonUp.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="buttonUp.Location" type="System.Drawing.Point, System.Drawing">
<value>235, 96</value>
</data>
<data name="buttonUp.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="buttonUp.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="&gt;&gt;buttonUp.Name" xml:space="preserve">
<value>buttonUp</value>
</data>
<data name="&gt;&gt;buttonUp.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;buttonUp.Parent" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;buttonUp.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="buttonSave.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="buttonSave.Enabled" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="buttonSave.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="buttonSave.Location" type="System.Drawing.Point, System.Drawing">
<value>235, 43</value>
</data>
<data name="buttonSave.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="buttonSave.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="buttonSave.Text" xml:space="preserve">
<value>Save</value>
</data>
<data name="&gt;&gt;buttonSave.Name" xml:space="preserve">
<value>buttonSave</value>
</data>
<data name="&gt;&gt;buttonSave.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;buttonSave.Parent" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;buttonSave.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="buttonLoad.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="buttonLoad.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="buttonLoad.Location" type="System.Drawing.Point, System.Drawing">
<value>235, 17</value>
</data>
<data name="buttonLoad.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="buttonLoad.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="buttonLoad.Text" xml:space="preserve">
<value>Load</value>
</data>
<data name="&gt;&gt;buttonLoad.Name" xml:space="preserve">
<value>buttonLoad</value>
</data>
<data name="&gt;&gt;buttonLoad.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;buttonLoad.Parent" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;buttonLoad.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="dataGridViewValues.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<metadata name="ColumnValue.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="ColumnValue.HeaderText" xml:space="preserve">
<value>All values</value>
</data>
<data name="ColumnValue.MinimumWidth" type="System.Int32, mscorlib">
<value>177</value>
</data>
<data name="dataGridViewValues.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 71</value>
</data>
<data name="dataGridViewValues.Size" type="System.Drawing.Size, System.Drawing">
<value>223, 150</value>
</data>
<data name="dataGridViewValues.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="&gt;&gt;dataGridViewValues.Name" xml:space="preserve">
<value>dataGridViewValues</value>
</data>
<data name="&gt;&gt;dataGridViewValues.Type" xml:space="preserve">
<value>System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;dataGridViewValues.Parent" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;dataGridViewValues.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="textBoxKey.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="textBoxKey.Location" type="System.Drawing.Point, System.Drawing">
<value>110, 45</value>
</data>
<data name="textBoxKey.Size" type="System.Drawing.Size, System.Drawing">
<value>119, 20</value>
</data>
<data name="textBoxKey.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="&gt;&gt;textBoxKey.Name" xml:space="preserve">
<value>textBoxKey</value>
</data>
<data name="&gt;&gt;textBoxKey.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;textBoxKey.Parent" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;textBoxKey.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="labelKey.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="labelKey.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="labelKey.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 48</value>
</data>
<data name="labelKey.Size" type="System.Drawing.Size, System.Drawing">
<value>25, 13</value>
</data>
<data name="labelKey.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="labelKey.Text" xml:space="preserve">
<value>Key</value>
</data>
<data name="&gt;&gt;labelKey.Name" xml:space="preserve">
<value>labelKey</value>
</data>
<data name="&gt;&gt;labelKey.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="&gt;&gt;labelKey.Parent" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;labelKey.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="textBoxGroup.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="textBoxGroup.Location" type="System.Drawing.Point, System.Drawing">
<value>110, 19</value>
</data>
<data name="textBoxGroup.Size" type="System.Drawing.Size, System.Drawing">
<value>120, 20</value>
</data>
<data name="textBoxGroup.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="&gt;&gt;textBoxGroup.Name" xml:space="preserve">
<value>textBoxGroup</value>
</data>
<data name="&gt;&gt;textBoxGroup.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;textBoxGroup.Parent" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;textBoxGroup.ZOrder" xml:space="preserve">
<value>8</value>
</data>
<data name="labelGroup.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="labelGroup.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="labelGroup.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 22</value>
</data>
<data name="labelGroup.Size" type="System.Drawing.Size, System.Drawing">
<value>36, 13</value>
</data>
<data name="labelGroup.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="labelGroup.Text" xml:space="preserve">
<value>Group</value>
</data>
<data name="&gt;&gt;labelGroup.Name" xml:space="preserve">
<value>labelGroup</value>
</data>
<data name="&gt;&gt;labelGroup.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="&gt;&gt;labelGroup.Parent" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;labelGroup.ZOrder" xml:space="preserve">
<value>9</value>
</data>
<data name="groupBoxValueControl.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="groupBoxValueControl.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="groupBoxValueControl.Size" type="System.Drawing.Size, System.Drawing">
<value>316, 227</value>
</data>
<data name="groupBoxValueControl.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="groupBoxValueControl.Text" xml:space="preserve">
<value>Value control</value>
</data>
<data name="&gt;&gt;groupBoxValueControl.Name" xml:space="preserve">
<value>groupBoxValueControl</value>
</data>
<data name="&gt;&gt;groupBoxValueControl.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="&gt;&gt;groupBoxValueControl.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;groupBoxValueControl.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="openFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="openFileDialog.Title" xml:space="preserve">
<value>Load XML file</value>
</data>
<metadata name="saveFileDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>150, 17</value>
</metadata>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.MaximumSize" type="System.Drawing.Size, System.Drawing">
<value>800, 227</value>
</data>
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
<value>316, 227</value>
</data>
<data name="$this.Size" type="System.Drawing.Size, System.Drawing">
<value>316, 227</value>
</data>
<data name="&gt;&gt;ColumnValue.Name" xml:space="preserve">
<value>ColumnValue</value>
</data>
<data name="&gt;&gt;ColumnValue.Type" xml:space="preserve">
<value>System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;openFileDialog.Name" xml:space="preserve">
<value>openFileDialog</value>
</data>
<data name="&gt;&gt;openFileDialog.Type" xml:space="preserve">
<value>System.Windows.Forms.OpenFileDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;saveFileDialog.Name" xml:space="preserve">
<value>saveFileDialog</value>
</data>
<data name="&gt;&gt;saveFileDialog.Type" xml:space="preserve">
<value>System.Windows.Forms.SaveFileDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>SingleValueControl</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

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

View File

@ -0,0 +1 @@
d7182e7066f22143a2c1787d86bc55c044ad9df2

View File

@ -0,0 +1,20 @@
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\bin\Debug\hesvalcon.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\bin\Debug\hesvalcon.pdb
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\bin\Debug\de\hesvalcon.resources.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\bin\Debug\en\hesvalcon.resources.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\bin\Debug\hecryption.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\bin\Debug\hecryption.pdb
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\SingleValueControl.csproj.AssemblyReference.cache
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\Eugen.ESystem.Windows.Forms.Properties.AppResources.resources
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\Eugen.ESystem.Windows.Forms.Properties.Resources.resources
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\Eugen.ESystem.Windows.Forms.SingleValueControl.resources
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\Eugen.ESystem.Windows.Forms.Properties.AppResources.de.resources
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\Eugen.ESystem.Windows.Forms.Properties.AppResources.en.resources
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\Eugen.ESystem.Windows.Forms.SingleValueControl.de.resources
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\SingleValueControl.csproj.GenerateResource.cache
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\SingleValueControl.csproj.CoreCompileInputs.cache
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\de\hesvalcon.resources.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\en\hesvalcon.resources.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\SingleValueControl.csproj.CopyComplete
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\hesvalcon.dll
H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\SingleValueControl.git\SingleValueControl\obj\Debug\hesvalcon.pdb

View File

@ -0,0 +1 @@
obj\Debug\\_IsIncrementalBuild

Binary file not shown.

Binary file not shown.