diff --git a/.vs/TripleValueControlGrafic/FileContentIndex/337e7ff7-b2b4-4d6a-9c8f-06c1202637ab.vsidx b/.vs/TripleValueControlGrafic/FileContentIndex/337e7ff7-b2b4-4d6a-9c8f-06c1202637ab.vsidx new file mode 100644 index 0000000..c0ddba9 Binary files /dev/null and b/.vs/TripleValueControlGrafic/FileContentIndex/337e7ff7-b2b4-4d6a-9c8f-06c1202637ab.vsidx differ diff --git a/.vs/TripleValueControlGrafic/FileContentIndex/56f865c1-7c7e-4230-82b3-2b0a03af3816.vsidx b/.vs/TripleValueControlGrafic/FileContentIndex/56f865c1-7c7e-4230-82b3-2b0a03af3816.vsidx new file mode 100644 index 0000000..5d7e4ad Binary files /dev/null and b/.vs/TripleValueControlGrafic/FileContentIndex/56f865c1-7c7e-4230-82b3-2b0a03af3816.vsidx differ diff --git a/.vs/TripleValueControlGrafic/v17/.suo b/.vs/TripleValueControlGrafic/v17/.suo new file mode 100644 index 0000000..65a826a Binary files /dev/null and b/.vs/TripleValueControlGrafic/v17/.suo differ diff --git a/HE-Test_Dll/Form1.Designer.cs b/HE-Test_Dll/Form1.Designer.cs index 93b1d4a..a213aec 100644 --- a/HE-Test_Dll/Form1.Designer.cs +++ b/HE-Test_Dll/Form1.Designer.cs @@ -79,8 +79,6 @@ // // tripleValueControl // - this.tripleValueControl.AlwaysEncrypted = false; - this.tripleValueControl.CheckBoxEncryptValueText = "Encrypt"; this.tripleValueControl.Group = null; this.tripleValueControl.GroupName = "Group"; this.tripleValueControl.InitialDirectory = "C:\\"; diff --git a/HE-Test_Dll/Form1.cs b/HE-Test_Dll/Form1.cs index ab1fad6..e85e63b 100644 --- a/HE-Test_Dll/Form1.cs +++ b/HE-Test_Dll/Form1.cs @@ -123,7 +123,7 @@ namespace HE_Test_Dll { tripleValueControl.Password = "Test"; tripleValueControl.InitialDirectory = @"C:\Temp\Test"; - tripleValueControl.XMLfileName = @"H:\Programmieren\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControl.git\Daten\Test1.xml"; + tripleValueControl.XMLfileName = @"C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\Daten\Test1.xml"; tripleValueControl.ValueControlName = "My XML Control"; tripleValueControl.Topic = "NX-Portal"; tripleValueControl.GroupName = "MyGroup"; @@ -133,6 +133,7 @@ namespace HE_Test_Dll tripleValueControl.TableAttributeName = "MyAttribut"; //tripleValueControl.AlwaysEncrypted = true; //Alle Werte werden immer Verschlüsselt tripleValueControl.SetDialogWidth(600); //Der Dialog kann zwischen 316 und 800 breit sein + tripleValueControl.DialogHeight = 300; //Der Dialog kann zwischen 227 und 600 hoch sein tripleValueControl.SetBasicValues(); //Die übergebenen Werte anzeigen } } diff --git a/HE-Test_Dll/HE-Test_TripleValueControl.csproj b/HE-Test_Dll/HE-Test_TripleValueControlGrafic.csproj similarity index 94% rename from HE-Test_Dll/HE-Test_TripleValueControl.csproj rename to HE-Test_Dll/HE-Test_TripleValueControlGrafic.csproj index 0a62399..edf3ac9 100644 --- a/HE-Test_Dll/HE-Test_TripleValueControl.csproj +++ b/HE-Test_Dll/HE-Test_TripleValueControlGrafic.csproj @@ -40,8 +40,9 @@ False ..\..\..\_DLL\Cryption.git\Cryption\bin\Debug\hecryption.dll - - ..\TripleValueControl\bin\Debug\hetvalcon.dll + + False + ..\TripleValueControlGrafic\bin\Debug\hetvalcon.dll diff --git a/HE-Test_Dll/bin/Debug/HE-Test_Dll.exe b/HE-Test_Dll/bin/Debug/HE-Test_Dll.exe index 5cc8c92..7241c92 100644 Binary files a/HE-Test_Dll/bin/Debug/HE-Test_Dll.exe and b/HE-Test_Dll/bin/Debug/HE-Test_Dll.exe differ diff --git a/HE-Test_Dll/bin/Debug/HE-Test_Dll.pdb b/HE-Test_Dll/bin/Debug/HE-Test_Dll.pdb index 2977818..d541482 100644 Binary files a/HE-Test_Dll/bin/Debug/HE-Test_Dll.pdb and b/HE-Test_Dll/bin/Debug/HE-Test_Dll.pdb differ diff --git a/HE-Test_Dll/bin/Debug/de/heconpan.resources.dll b/HE-Test_Dll/bin/Debug/de/heconpan.resources.dll new file mode 100644 index 0000000..131ffc0 Binary files /dev/null and b/HE-Test_Dll/bin/Debug/de/heconpan.resources.dll differ diff --git a/HE-Test_Dll/bin/Debug/de/hetvalcon.resources.dll b/HE-Test_Dll/bin/Debug/de/hetvalcon.resources.dll index 2ad1a75..12faa2f 100644 Binary files a/HE-Test_Dll/bin/Debug/de/hetvalcon.resources.dll and b/HE-Test_Dll/bin/Debug/de/hetvalcon.resources.dll differ diff --git a/HE-Test_Dll/bin/Debug/en/heconpan.resources.dll b/HE-Test_Dll/bin/Debug/en/heconpan.resources.dll new file mode 100644 index 0000000..fcc6a8d Binary files /dev/null and b/HE-Test_Dll/bin/Debug/en/heconpan.resources.dll differ diff --git a/HE-Test_Dll/bin/Debug/en/hetvalcon.resources.dll b/HE-Test_Dll/bin/Debug/en/hetvalcon.resources.dll index cfbb6ef..0648584 100644 Binary files a/HE-Test_Dll/bin/Debug/en/hetvalcon.resources.dll and b/HE-Test_Dll/bin/Debug/en/hetvalcon.resources.dll differ diff --git a/HE-Test_Dll/bin/Debug/heconpan.dll b/HE-Test_Dll/bin/Debug/heconpan.dll new file mode 100644 index 0000000..e39df0d Binary files /dev/null and b/HE-Test_Dll/bin/Debug/heconpan.dll differ diff --git a/HE-Test_Dll/bin/Debug/heconpan.pdb b/HE-Test_Dll/bin/Debug/heconpan.pdb new file mode 100644 index 0000000..0c48349 Binary files /dev/null and b/HE-Test_Dll/bin/Debug/heconpan.pdb differ diff --git a/HE-Test_Dll/bin/Debug/hetvalcon.dll b/HE-Test_Dll/bin/Debug/hetvalcon.dll index 1c22244..462a138 100644 Binary files a/HE-Test_Dll/bin/Debug/hetvalcon.dll and b/HE-Test_Dll/bin/Debug/hetvalcon.dll differ diff --git a/HE-Test_Dll/bin/Debug/hetvalcon.pdb b/HE-Test_Dll/bin/Debug/hetvalcon.pdb index fb0e9f1..81b314e 100644 Binary files a/HE-Test_Dll/bin/Debug/hetvalcon.pdb and b/HE-Test_Dll/bin/Debug/hetvalcon.pdb differ diff --git a/HE-Test_Dll/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/HE-Test_Dll/obj/Debug/DesignTimeResolveAssemblyReferences.cache index e4a6db8..52fb23e 100644 Binary files a/HE-Test_Dll/obj/Debug/DesignTimeResolveAssemblyReferences.cache and b/HE-Test_Dll/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/HE-Test_Dll/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/HE-Test_Dll/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 468dc2d..954af10 100644 Binary files a/HE-Test_Dll/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/HE-Test_Dll/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/HE-Test_Dll/obj/Debug/HE-Test_Dll.exe b/HE-Test_Dll/obj/Debug/HE-Test_Dll.exe index 5cc8c92..7241c92 100644 Binary files a/HE-Test_Dll/obj/Debug/HE-Test_Dll.exe and b/HE-Test_Dll/obj/Debug/HE-Test_Dll.exe differ diff --git a/HE-Test_Dll/obj/Debug/HE-Test_Dll.pdb b/HE-Test_Dll/obj/Debug/HE-Test_Dll.pdb index 2977818..d541482 100644 Binary files a/HE-Test_Dll/obj/Debug/HE-Test_Dll.pdb and b/HE-Test_Dll/obj/Debug/HE-Test_Dll.pdb differ diff --git a/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.AssemblyReference.cache b/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.AssemblyReference.cache new file mode 100644 index 0000000..dd863cf Binary files /dev/null and b/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.AssemblyReference.cache differ diff --git a/TripleValueControl/obj/Debug/TripleValueControl.csproj.CopyComplete b/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.CopyComplete similarity index 100% rename from TripleValueControl/obj/Debug/TripleValueControl.csproj.CopyComplete rename to HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.CopyComplete diff --git a/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.CoreCompileInputs.cache b/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..961bab1 --- /dev/null +++ b/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +178f3282048897df4f44926fc00c9598dba1fd38 diff --git a/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.FileListAbsolute.txt b/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..60a947d --- /dev/null +++ b/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.FileListAbsolute.txt @@ -0,0 +1,21 @@ +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\HE-Test_Dll.exe.config +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\HE-Test_Dll.exe +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\HE-Test_Dll.pdb +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\hecryption.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\hetvalcon.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\heconpan.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\hecryption.pdb +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\hetvalcon.pdb +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\heconpan.pdb +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\de\hetvalcon.resources.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\en\hetvalcon.resources.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\de\heconpan.resources.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\bin\Debug\en\heconpan.resources.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\obj\Debug\HE-Test_TripleValueControlGrafic.csproj.AssemblyReference.cache +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\obj\Debug\HE_Test_Dll.Form1.resources +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\obj\Debug\HE_Test_Dll1.Properties.Resources.resources +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\obj\Debug\HE-Test_TripleValueControlGrafic.csproj.GenerateResource.cache +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\obj\Debug\HE-Test_TripleValueControlGrafic.csproj.CoreCompileInputs.cache +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\obj\Debug\HE-Test_TripleValueControlGrafic.csproj.CopyComplete +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\obj\Debug\HE-Test_Dll.exe +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\HE-Test_Dll\obj\Debug\HE-Test_Dll.pdb diff --git a/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.GenerateResource.cache b/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.GenerateResource.cache new file mode 100644 index 0000000..0b70a67 Binary files /dev/null and b/HE-Test_Dll/obj/Debug/HE-Test_TripleValueControlGrafic.csproj.GenerateResource.cache differ diff --git a/TripleValueControl/TripleValueControl.cs b/TripleValueControl/TripleValueControl.cs deleted file mode 100644 index 02e4413..0000000 --- a/TripleValueControl/TripleValueControl.cs +++ /dev/null @@ -1,513 +0,0 @@ -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 TripleValueControl : UserControl - { - #region Version und Copyright - // Keys 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 - /// - /// Contains the name of the dll file. - /// - public static string DllName { private set; get; } - - /// - /// Contains the version of the dll file. - /// - public static string DllVersion { private set; get; } - - /// - /// Contains the copyright notice. - /// - public static string Copyright { private set; get; } - - /// - /// Contains the name-, version- and copyright-information of the dll file. - /// - public static string[] DllInfo { private set; get; } - - private static void SetDllInfo() - { - //Name, Keys und Copyright setzen - DllName = dllName; - DllVersion = dllVersion; - Copyright = copyright; - } - #endregion - - static TripleValueControl() - { - SetDllInfo(); //Name, Keys und Copyright der DLL setzen - } - - /// - /// Creates a control with which the values in an XML file can be edited - /// - public TripleValueControl() - { - InitializeComponent(); - InitialDirectory = @"C:\"; - Topic = "Topic"; - StandardValue = 0; - } - - #region Public values - /// - /// The password used for encryption. An empty value disables the Encrypt values switch - /// - public string Password - { - get { return password; } - set - { - password = value; - checkBoxEncryptValues.Enabled = !String.IsNullOrEmpty(Password); - } - } - - /// - /// Defines or read the initial directory - /// - public string InitialDirectory { set; get; } - - /// - /// XML file name. Must be specified mandatory - /// - public string XMLfileName { set; get; } - - /// - /// Adjusts the labeling of the values control. An empty value forces the default labeling - /// - public string ValueControlName - { - get { return groupBoxValueControl.Text; } - set - { - groupBoxValueControl.Text = value; - groupBoxValueControl.Refresh(); - } - } - - /// - /// Defines the Topic. An empty value forces the default labeling - /// - public string Topic { set; get; } - - /// - /// Adjusts the labeling of the group designation. An empty value forces the default labeling - /// - public string GroupName - { - get { return labelGroup.Text; } - set { labelGroup.Text = value; } - } - - /// - /// Adjusts the name of the group attribute used in the XML file. Required by the Load function - /// - public string Group { set; get; } - - /// - /// Adjusts the name of the key attribute used in the XML file. Required by the Load function - /// - public string Key { set; get; } - - /// - /// Adjusts the labeling of the table header designation for the key. An empty value forces the default labeling - /// - public string TableKeyName - { - get { return dataGridViewValues.Columns[0].HeaderText; } - set { dataGridViewValues.Columns[0].HeaderText = value; } - } - - /// - /// Adjusts the labeling of the table header designation for the value. An empty value forces the default labeling - /// - public string TableValueName - { - get { return dataGridViewValues.Columns[1].HeaderText; } - set { dataGridViewValues.Columns[1].HeaderText = value; } - } - - /// - /// Adjusts the labeling of the table header designation for the attribut. An empty value forces the default labeling - /// - public string TableAttributeName - { - get { return dataGridViewValues.Columns[2].HeaderText; } - set { dataGridViewValues.Columns[2].HeaderText = value; } - } - - /// - /// Adjusts the labeling of the encrypt value checkBox. An empty value forces the default labeling - /// - public string CheckBoxEncryptValueText - { - get { return checkBoxEncryptValues.Text; } - set - { - checkBoxEncryptValues.Text = value; - checkBoxEncryptValues.Enabled = !String.IsNullOrEmpty(Password); - } - } - - /// - /// Controls whether values are always encrypted. An empty value forces the default value (false) - /// - public bool AlwaysEncrypted - { - get { return alwaysEncrypted; } - set - { - alwaysEncrypted = value; - checkBoxEncryptValues.Enabled = !alwaysEncrypted; - checkBoxEncryptValues.Checked = alwaysEncrypted; - } - } - #endregion - - #region Private values - private string password; - private bool alwaysEncrypted = 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)); - } - - 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); - } - } - } - - 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_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) - { - //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 - - rowIndexColored = 0; //Es gibt keine umgefärbte Zeile - } - } - - public void SetBasicValues() - { - if (!String.IsNullOrEmpty(Group)) - { - textBoxGroup.Text = Group; - } - } - - private void LoadXML() - { - checkBoxEncryptValues.Checked = false; - - var loadXML = new LoadXML(); - loadXML.FileName = XMLfileName; - loadXML.Load(); - string[] values = new string[loadXML.Values.Length]; - values = loadXML.Values; - string[] attributes = new string[loadXML.Attributes.Length]; - attributes = loadXML.Attributes; - - if (!String.IsNullOrEmpty(Group)) - { - loadXML.Group = Group; - } - - 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 - } - - if (attributes[i].StartsWith("$$$$")) - { - attributes[i] = Decrypt(attributes[i], Password); - checkBoxEncryptValues.Checked = true; //Wenn ein verschlüsseltes Element gefunden wurde, dann setzen - } - - dataGridViewValues.Rows.Add(loadXML.Keys[i], values[i], attributes[i]); - } - - dataGridViewValues.Refresh(); - - textBoxGroup.Text = loadXML.Group; //Gruppe setzen - } - - 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[] keys = new string[dgvLength]; - string value = ""; - string[] values = new string[dgvLength]; - string attribute = ""; - string[] attributes = new string[dgvLength]; - - for (int i = 0; i < dgvLength; i++) - { - if (checkBoxEncryptValues.Checked) - { - value = Encrypt(dataGridViewValues[1, i].Value.ToString(), Password); //Verschlüsselt - if (dataGridViewValues[2, i].Value == null) - { - attribute = Encrypt("", Password); //Verschlüsselt - } - else - { - attribute = Encrypt(dataGridViewValues[2, i].Value.ToString(), Password); //Verschlüsselt - } - } - else - { - value = dataGridViewValues[1, i].Value.ToString(); //Unverschlüsselt - if (dataGridViewValues[2, i].Value == null) - { - attribute = ""; - } - else - { - attribute = dataGridViewValues[2, i].Value.ToString(); //Unverschlüsselt - } - } - - keys[i] = dataGridViewValues[0, i].Value.ToString(); ; - values[i] = value; - attributes[i] = attribute; - } - - //Speichern - var saveXML = new SaveXML(); - - saveXML.FileName = XMLfileName; - saveXML.Topic = "NX-Portal"; //z.B. "NX-Portal" - saveXML.Group = textBoxGroup.Text; //z.B. "Tools" - saveXML.Keys = keys; //z.B. "CleanUp" - saveXML.Values = values; //z.B. "M:\ug\Tools\CleanUp\CleanUp.exe" - saveXML.Attributes = attributes; //z.B. "-h" - - 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); - } - - public void SetDialogWidth(int width) - { - if (width >= this.MinimumSize.Width && width <= this.MaximumSize.Width) - { - this.Width = width; - - int dif = width - 316; - - if (dif > 0) - { - dataGridViewValues.Columns[0].Width += dif / 2; - } - } - } - - private void buttonAddSeparator_Click(object sender, EventArgs e) - { - int currentRow = dataGridViewValues.CurrentCell.RowIndex; //Selektierte Reihe - dataGridViewValues.Rows.Insert(currentRow, "-"); - } - } -} diff --git a/TripleValueControl/bin/Debug/hetvalcon.dll b/TripleValueControl/bin/Debug/hetvalcon.dll deleted file mode 100644 index 1c22244..0000000 Binary files a/TripleValueControl/bin/Debug/hetvalcon.dll and /dev/null differ diff --git a/TripleValueControl/bin/Debug/hetvalcon.pdb b/TripleValueControl/bin/Debug/hetvalcon.pdb deleted file mode 100644 index fb0e9f1..0000000 Binary files a/TripleValueControl/bin/Debug/hetvalcon.pdb and /dev/null differ diff --git a/TripleValueControl/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/TripleValueControl/obj/Debug/DesignTimeResolveAssemblyReferences.cache deleted file mode 100644 index ca1b6f9..0000000 Binary files a/TripleValueControl/obj/Debug/DesignTimeResolveAssemblyReferences.cache and /dev/null differ diff --git a/TripleValueControl/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/TripleValueControl/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 179d471..0000000 Binary files a/TripleValueControl/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.resources b/TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.resources deleted file mode 100644 index 9e2cfa8..0000000 Binary files a/TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.resources and /dev/null differ diff --git a/TripleValueControl/obj/Debug/hetvalcon.dll b/TripleValueControl/obj/Debug/hetvalcon.dll deleted file mode 100644 index 1c22244..0000000 Binary files a/TripleValueControl/obj/Debug/hetvalcon.dll and /dev/null differ diff --git a/TripleValueControl/obj/Debug/hetvalcon.pdb b/TripleValueControl/obj/Debug/hetvalcon.pdb deleted file mode 100644 index fb0e9f1..0000000 Binary files a/TripleValueControl/obj/Debug/hetvalcon.pdb and /dev/null differ diff --git a/TripleValueControl.sln b/TripleValueControlGrafic.sln similarity index 86% rename from TripleValueControl.sln rename to TripleValueControlGrafic.sln index 83ff813..e6db7e1 100644 --- a/TripleValueControl.sln +++ b/TripleValueControlGrafic.sln @@ -3,9 +3,9 @@ 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}") = "TripleValueControl", "TripleValueControl\TripleValueControl.csproj", "{65C7F0F6-B8CA-4C1D-9C68-ED98FC2D31A1}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TripleValueControlGrafic", "TripleValueControlGrafic\TripleValueControlGrafic.csproj", "{65C7F0F6-B8CA-4C1D-9C68-ED98FC2D31A1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HE-TripleValueControl", "HE-Test_Dll\HE-Test_TripleValueControl.csproj", "{2B71D20F-009D-4089-8C69-98DCCFADF932}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HE-TripleValueControlGrafic", "HE-Test_Dll\HE-Test_TripleValueControlGrafic.csproj", "{2B71D20F-009D-4089-8C69-98DCCFADF932}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/TripleValueControl/LoadXML.cs b/TripleValueControlGrafic/LoadXML.cs similarity index 100% rename from TripleValueControl/LoadXML.cs rename to TripleValueControlGrafic/LoadXML.cs diff --git a/TripleValueControl/LoadXML.cs_old b/TripleValueControlGrafic/LoadXML.cs_old similarity index 100% rename from TripleValueControl/LoadXML.cs_old rename to TripleValueControlGrafic/LoadXML.cs_old diff --git a/TripleValueControl/Properties/AppResources.Designer.cs b/TripleValueControlGrafic/Properties/AppResources.Designer.cs similarity index 100% rename from TripleValueControl/Properties/AppResources.Designer.cs rename to TripleValueControlGrafic/Properties/AppResources.Designer.cs diff --git a/TripleValueControl/Properties/AppResources.de.resx b/TripleValueControlGrafic/Properties/AppResources.de.resx similarity index 100% rename from TripleValueControl/Properties/AppResources.de.resx rename to TripleValueControlGrafic/Properties/AppResources.de.resx diff --git a/TripleValueControl/Properties/AppResources.en.resx b/TripleValueControlGrafic/Properties/AppResources.en.resx similarity index 100% rename from TripleValueControl/Properties/AppResources.en.resx rename to TripleValueControlGrafic/Properties/AppResources.en.resx diff --git a/TripleValueControl/Properties/AppResources.resx b/TripleValueControlGrafic/Properties/AppResources.resx similarity index 100% rename from TripleValueControl/Properties/AppResources.resx rename to TripleValueControlGrafic/Properties/AppResources.resx diff --git a/TripleValueControl/Properties/AssemblyInfo.cs b/TripleValueControlGrafic/Properties/AssemblyInfo.cs similarity index 100% rename from TripleValueControl/Properties/AssemblyInfo.cs rename to TripleValueControlGrafic/Properties/AssemblyInfo.cs diff --git a/TripleValueControl/Properties/Resources.Designer.cs b/TripleValueControlGrafic/Properties/Resources.Designer.cs similarity index 100% rename from TripleValueControl/Properties/Resources.Designer.cs rename to TripleValueControlGrafic/Properties/Resources.Designer.cs diff --git a/TripleValueControl/Properties/Resources.resx b/TripleValueControlGrafic/Properties/Resources.resx similarity index 100% rename from TripleValueControl/Properties/Resources.resx rename to TripleValueControlGrafic/Properties/Resources.resx diff --git a/TripleValueControl/Resources/Pfeil_oben.png b/TripleValueControlGrafic/Resources/Pfeil_oben.png similarity index 100% rename from TripleValueControl/Resources/Pfeil_oben.png rename to TripleValueControlGrafic/Resources/Pfeil_oben.png diff --git a/TripleValueControl/Resources/Pfeil_unten.png b/TripleValueControlGrafic/Resources/Pfeil_unten.png similarity index 100% rename from TripleValueControl/Resources/Pfeil_unten.png rename to TripleValueControlGrafic/Resources/Pfeil_unten.png diff --git a/TripleValueControl/SaveXML.cs b/TripleValueControlGrafic/SaveXML.cs similarity index 100% rename from TripleValueControl/SaveXML.cs rename to TripleValueControlGrafic/SaveXML.cs diff --git a/TripleValueControl/TripleValueControl.Designer.cs b/TripleValueControlGrafic/TripleValueControl.Designer.cs similarity index 63% rename from TripleValueControl/TripleValueControl.Designer.cs rename to TripleValueControlGrafic/TripleValueControl.Designer.cs index a8e82e8..c55e1ed 100644 --- a/TripleValueControl/TripleValueControl.Designer.cs +++ b/TripleValueControlGrafic/TripleValueControl.Designer.cs @@ -30,68 +30,53 @@ { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TripleValueControl)); this.groupBoxValueControl = new System.Windows.Forms.GroupBox(); - this.panel1 = new System.Windows.Forms.Panel(); - this.checkBoxEncryptValues = new System.Windows.Forms.CheckBox(); - this.buttonDown = new System.Windows.Forms.Button(); - this.buttonUp = new System.Windows.Forms.Button(); + this.controlPanelControl = new Eugen.ESystem.Windows.Forms.ControlPanelControl(); this.buttonSave = new System.Windows.Forms.Button(); - this.buttonLoad = new System.Windows.Forms.Button(); this.dataGridViewValues = new System.Windows.Forms.DataGridView(); 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.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ColumnValue = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ColumnAttribut = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.buttonAddSeparator = new System.Windows.Forms.Button(); + this.ColumnValue = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn(); 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.controlPanelControl); this.groupBoxValueControl.Controls.Add(this.buttonSave); - this.groupBoxValueControl.Controls.Add(this.buttonLoad); this.groupBoxValueControl.Controls.Add(this.dataGridViewValues); this.groupBoxValueControl.Controls.Add(this.textBoxGroup); this.groupBoxValueControl.Controls.Add(this.labelGroup); this.groupBoxValueControl.Name = "groupBoxValueControl"; this.groupBoxValueControl.TabStop = false; // - // panel1 + // controlPanelControl // - resources.ApplyResources(this.panel1, "panel1"); - this.panel1.Controls.Add(this.buttonAddSeparator); - this.panel1.Controls.Add(this.checkBoxEncryptValues); - this.panel1.Name = "panel1"; - // - // checkBoxEncryptValues - // - resources.ApplyResources(this.checkBoxEncryptValues, "checkBoxEncryptValues"); - this.checkBoxEncryptValues.Name = "checkBoxEncryptValues"; - this.checkBoxEncryptValues.UseVisualStyleBackColor = true; - // - // 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); + resources.ApplyResources(this.controlPanelControl, "controlPanelControl"); + this.controlPanelControl.ButtonAddSeparatorAvailability = Eugen.ESystem.Windows.Forms.Availability.Enabled; + this.controlPanelControl.ButtonAddSeparatorUseIcon = Eugen.ESystem.Windows.Forms.Figure.NotUsed; + this.controlPanelControl.ButtonAddSeparatorVisibility = Eugen.ESystem.Windows.Forms.Visibility.Visible; + this.controlPanelControl.ButtonDownAvailability = Eugen.ESystem.Windows.Forms.Availability.Enabled; + this.controlPanelControl.ButtonDownUseIcon = Eugen.ESystem.Windows.Forms.Figure.NotUsed; + this.controlPanelControl.ButtonDownVisibility = Eugen.ESystem.Windows.Forms.Visibility.Visible; + this.controlPanelControl.ButtonUpAvailability = Eugen.ESystem.Windows.Forms.Availability.Enabled; + this.controlPanelControl.ButtonUpUseIcon = Eugen.ESystem.Windows.Forms.Figure.NotUsed; + this.controlPanelControl.ButtonUpVisibility = Eugen.ESystem.Windows.Forms.Visibility.Visible; + this.controlPanelControl.CheckBoxDefaultAvailability = Eugen.ESystem.Windows.Forms.Availability.Enabled; + this.controlPanelControl.CheckBoxDefaultStatusSelected = false; + this.controlPanelControl.CheckBoxDefaultUseIcon = Eugen.ESystem.Windows.Forms.Figure.NotUsed; + this.controlPanelControl.CheckBoxDefaultVisibility = Eugen.ESystem.Windows.Forms.Visibility.Visible; + this.controlPanelControl.CheckBoxEncryptAvailability = Eugen.ESystem.Windows.Forms.Availability.Enabled; + this.controlPanelControl.CheckBoxEncryptStatusSelected = false; + this.controlPanelControl.CheckBoxEncryptUseIcon = Eugen.ESystem.Windows.Forms.Figure.NotUsed; + this.controlPanelControl.CheckBoxEncryptVisibility = Eugen.ESystem.Windows.Forms.Visibility.Visible; + this.controlPanelControl.Name = "controlPanelControl"; + this.controlPanelControl.SizeX = 90; + this.controlPanelControl.SizeY = 127; // // buttonSave // @@ -100,13 +85,6 @@ 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 // resources.ApplyResources(this.dataGridViewValues, "dataGridViewValues"); @@ -124,22 +102,17 @@ resources.ApplyResources(this.textBoxGroup, "textBoxGroup"); this.textBoxGroup.Name = "textBoxGroup"; this.textBoxGroup.TextChanged += new System.EventHandler(this.textBoxGroup_TextChanged); + this.textBoxGroup.Leave += new System.EventHandler(this.textBoxGroup_Leave); // // labelGroup // resources.ApplyResources(this.labelGroup, "labelGroup"); this.labelGroup.Name = "labelGroup"; // - // openFileDialog + // ColumnAttribut // - this.openFileDialog.FileName = "openFileDialog"; - resources.ApplyResources(this.openFileDialog, "openFileDialog"); - // - // ColumnName - // - resources.ApplyResources(this.ColumnName, "ColumnName"); - this.ColumnName.Name = "ColumnName"; - this.ColumnName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; + resources.ApplyResources(this.ColumnAttribut, "ColumnAttribut"); + this.ColumnAttribut.Name = "ColumnAttribut"; // // ColumnValue // @@ -147,17 +120,11 @@ resources.ApplyResources(this.ColumnValue, "ColumnValue"); this.ColumnValue.Name = "ColumnValue"; // - // ColumnAttribut + // ColumnName // - resources.ApplyResources(this.ColumnAttribut, "ColumnAttribut"); - this.ColumnAttribut.Name = "ColumnAttribut"; - // - // buttonAddSeparator - // - resources.ApplyResources(this.buttonAddSeparator, "buttonAddSeparator"); - this.buttonAddSeparator.Name = "buttonAddSeparator"; - this.buttonAddSeparator.UseVisualStyleBackColor = true; - this.buttonAddSeparator.Click += new System.EventHandler(this.buttonAddSeparator_Click); + resources.ApplyResources(this.ColumnName, "ColumnName"); + this.ColumnName.Name = "ColumnName"; + this.ColumnName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; // // TripleValueControl // @@ -167,8 +134,6 @@ this.Name = "TripleValueControl"; this.groupBoxValueControl.ResumeLayout(false); this.groupBoxValueControl.PerformLayout(); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridViewValues)).EndInit(); this.ResumeLayout(false); @@ -178,19 +143,13 @@ 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 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.Panel panel1; + private ControlPanelControl controlPanelControl; private System.Windows.Forms.DataGridViewTextBoxColumn ColumnName; private System.Windows.Forms.DataGridViewTextBoxColumn ColumnValue; private System.Windows.Forms.DataGridViewTextBoxColumn ColumnAttribut; - private System.Windows.Forms.Button buttonAddSeparator; } } diff --git a/TripleValueControlGrafic/TripleValueControl.cs b/TripleValueControlGrafic/TripleValueControl.cs new file mode 100644 index 0000000..7aacc37 --- /dev/null +++ b/TripleValueControlGrafic/TripleValueControl.cs @@ -0,0 +1,788 @@ +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 TripleValueControl : UserControl + { + #region Version und Copyright + // Keys 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 + /// + /// Contains the name of the dll file. + /// + public static string DllName { private set; get; } + + /// + /// Contains the version of the dll file. + /// + public static string DllVersion { private set; get; } + + /// + /// Contains the copyright notice. + /// + public static string Copyright { private set; get; } + + /// + /// Contains the name-, version- and copyright-information of the dll file. + /// + public static string[] DllInfo { private set; get; } + + private static void SetDllInfo() + { + //Name, Keys und Copyright setzen + DllName = dllName; + DllVersion = dllVersion; + Copyright = copyright; + } + #endregion + + //Prüft ob der Initialisierungsprozess läuft. + //Nach der Initialisierung wird der Wert auf 'true' gesetzt. + bool initialized = false; + + static TripleValueControl() + { + SetDllInfo(); //Name, Keys und Copyright der DLL setzen + } + + /// + /// Creates a control with which the values in an XML file can be edited + /// + public TripleValueControl() + { + InitializeComponent(); + + //Ereignisse abbonieren + controlPanelControl.ButtonUpClick += DoMoveUp; + controlPanelControl.ButtonDownClick += DoMoveDown; + controlPanelControl.ButtonAddSeparatorClick += DoAddSeperator; + controlPanelControl.CheckboxEncryptCheck += DoEncrypt; + controlPanelControl.CheckboxDefaultCheck += DoDefault; + + //Das Aussehen des Controlls setzen + InitializeUserControl(); + + initialized = true; //Initialisierungsroutine wurde durchlaufen + + InitialDirectory = @"C:\"; + Topic = "Topic"; + StandardValue = 0; + } + + #region Public values + /// + /// The password used for encryption. An empty value disables the Encrypt values switch + /// + public string Password + { + get { return password; } + set + { + password = value; + controlPanelControl.CheckBoxEncryptStatusSelected = !String.IsNullOrEmpty(Password); + } + } + + /// + /// Defines or read the initial directory + /// + public string InitialDirectory { set; get; } + + /// + /// XML file name. Must be specified mandatory + /// + public string XMLfileName { set; get; } + + /// + /// Adjusts the labeling of the values control. An empty value forces the default labeling + /// + public string ValueControlName + { + get { return groupBoxValueControl.Text; } + set + { + groupBoxValueControl.Text = value; + groupBoxValueControl.Refresh(); + } + } + + /// + /// Defines the Topic. An empty value forces the default labeling + /// + public string Topic { set; get; } + + /// + /// Adjusts the labeling of the group designation. An empty value forces the default labeling + /// + public string GroupName + { + get { return labelGroup.Text; } + set { labelGroup.Text = value; } + } + + /// + /// Adjusts the name of the group attribute used in the XML file. Required by the Load function + /// + public string Group { set; get; } + + /// + /// Adjusts the name of the key attribute used in the XML file. Required by the Load function + /// + public string Key { set; get; } + + /// + /// Adjusts the labeling of the table header designation for the key. An empty value forces the default labeling + /// + public string TableKeyName + { + get { return dataGridViewValues.Columns[0].HeaderText; } + set { dataGridViewValues.Columns[0].HeaderText = value; } + } + + /// + /// Adjusts the labeling of the table header designation for the value. An empty value forces the default labeling + /// + public string TableValueName + { + get { return dataGridViewValues.Columns[1].HeaderText; } + set { dataGridViewValues.Columns[1].HeaderText = value; } + } + + /// + /// Adjusts the labeling of the table header designation for the attribut. An empty value forces the default labeling + /// + public string TableAttributeName + { + get { return dataGridViewValues.Columns[2].HeaderText; } + set { dataGridViewValues.Columns[2].HeaderText = value; } + } + + /// + /// Adjusts the width of the control. An empty value forces the default value + /// + public int DialogWidth { set; get; } + + /// + /// Adjusts the height of the control. An empty value forces the default value + /// + public int DialogHeight { set; get; } + + /// + /// Adjusts the width of the name column of the table. An empty value forces the default value + /// + public int TableKeyNameWidth { set; get; } + #endregion + + #region Private values + private string password; + private bool alwaysEncrypted = false; + private bool standardValueSet = false; + private int selectedRow = 0; + private int rowIndexColored = 0; + private bool onlyRefresh = false; + private int StandardValue { get; set; } + #endregion + + private void InitializeUserControl() + { + //Erzeugt das erste Erscheinungsbild des Controlls + controlPanelControl.ButtonUpAvailability = Availability.Enabled; //Button Up ist aktiviert + controlPanelControl.ButtonUpVisibility = Visibility.Visible; //Button Up ist Sichtbar + controlPanelControl.ButtonUpUseIcon = Figure.Used; //Für Button Up wird ein Bild anstelle des Textes verwendet + controlPanelControl.ButtonDownAvailability = Availability.Enabled; //Button Down ist aktiviert + controlPanelControl.ButtonDownVisibility = Visibility.Visible; //Button Down ist Sichtbar + controlPanelControl.ButtonDownUseIcon = Figure.Used; //Für Button Down wird ein Bild anstelle des Textes verwendet + controlPanelControl.ButtonAddSeparatorAvailability = Availability.Disabled; //Button Separator ist deaktiviert + controlPanelControl.ButtonAddSeparatorVisibility = Visibility.Invisible; //Button Separator ist nicht Sichtbar + controlPanelControl.ButtonAddSeparatorUseIcon = Figure.Used; //Für Button Separator wird ein Bild anstelle des Textes verwendet + controlPanelControl.CheckBoxEncryptAvailability = Availability.Disabled; //CheckBox Encrypt ist deaktiviert + controlPanelControl.CheckBoxEncryptVisibility = Visibility.Visible; //CheckBox Encrypt ist Sichtbar + controlPanelControl.CheckBoxEncryptUseIcon = Figure.Used; //Für CheckBox Encrypt wird ein Bild anstelle des Textes verwendet + controlPanelControl.CheckBoxEncryptStatusSelected = (bool)false; //Die CheckBox Encrypt ist nicht ausgewählt + controlPanelControl.CheckBoxDefaultAvailability = Availability.Disabled; //CheckBox Default ist deaktiviert + controlPanelControl.CheckBoxDefaultVisibility = Visibility.Invisible; //CheckBox Default ist Sichtbar + controlPanelControl.CheckBoxDefaultUseIcon = Figure.Used; //Für CheckBox Default wird ein Bild anstelle des Textes verwendet + controlPanelControl.CheckBoxDefaultStatusSelected = (bool)false; //Die CheckBox Default ist nicht ausgewählt + controlPanelControl.SizeX = 90; //Größe des Controlls in X-Richtung + controlPanelControl.SizeY = 127; //Größe des Controlls in Y-Richtung + controlPanelControl.SetVisibility(); //Setzt die getroffenen Einstellungen + } + + private void textBoxGroup_TextChanged(object sender, EventArgs e) + { + Group = textBoxGroup.Text; + + buttonSave.Enabled = (!String.IsNullOrEmpty(textBoxGroup.Text)); + } + + private void textBoxGroup_Leave(object sender, EventArgs e) + { + if (!String.IsNullOrEmpty(textBoxGroup.Text)) + { + if (File.Exists(XMLfileName)) + { + LoadXML(); + controlPanelControl.CheckBoxEncryptAvailability = Availability.Enabled; + controlPanelControl.CheckBoxDefaultAvailability = Availability.Enabled; + controlPanelControl.SetVisibility(); + } + else + { + MessageBox.Show(AppRes.msgBoxTxt001, AppRes.msgBoxCapt001, MessageBoxButtons.OK, MessageBoxIcon.Exclamation); + } + } + } + + 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) + { + controlPanelControl.CheckBoxDefaultAvailability = Availability.Enabled; //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) + { + //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 + + rowIndexColored = 0; //Es gibt keine umgefärbte Zeile + } + } + + private void dataGridViewValues_RowEnter(object sender, DataGridViewCellEventArgs e) + { + try + { + if (StandardValue == dataGridViewValues.SelectedCells[0].RowIndex + 1) + { + //Die vorher ausgewählte Zeile abwählen + controlPanelControl.CheckBoxDefaultStatusSelected = false; //Wenn die ausgewählte Zeile keinen Standardwert enthält, dann die CheckBox abwählen + dataGridViewValues.Rows[rowIndexColored + 1].DefaultCellStyle.ForeColor = Color.Empty; + + //Die ausgewählte Zeile anwählen + controlPanelControl.CheckBoxDefaultStatusSelected = true; //Wenn die ausgewählte Zeile den Standardwert enthält, dann die CheckBox anwählen + controlPanelControl.SetVisibility(); + dataGridViewValues.Rows[dataGridViewValues.SelectedCells[0].RowIndex].DefaultCellStyle.ForeColor = Color.LightSeaGreen; + onlyRefresh = true; //Das Aussehen soll nur aktualisiert werden + } + else + { + controlPanelControl.CheckBoxDefaultStatusSelected = false; //Wenn die ausgewählte Zeile keinen Standardwert enthält, dann die CheckBox abwählen + controlPanelControl.SetVisibility(); + onlyRefresh = false; //Das Aussehen soll aktualisiert und der Standard neu gesewtzt werden + } + } + catch + { + //Nur die falsche Reihe ausgewählt, z.B. die Kopfzeile oder die erste Zeile wurde gelöscht + StandardValue = 0; //Wenn die erste Zeile der Standardwert war und gelöscht wurde, dann den Wert auf 0 setzen + controlPanelControl.CheckBoxDefaultStatusSelected = false; //Wenn die ausgewählte Zeile keinen Standardwert enthält, dann die CheckBox abwählen + controlPanelControl.SetVisibility(); + } + } + + public void SetBasicValues() + { + if (!String.IsNullOrEmpty(Group)) + { + textBoxGroup.Text = Group; + } + } + + private void SetDefault() + { + try + { + if (StandardValue == dataGridViewValues.SelectedCells[0].RowIndex + 1) + { + controlPanelControl.CheckBoxDefaultStatusSelected = true; //Wenn die ausgewählte Zeile den Standardwert enthält, dann die CheckBox anwählen + controlPanelControl.SetVisibility(); + dataGridViewValues.Rows[dataGridViewValues.SelectedCells[0].RowIndex].DefaultCellStyle.ForeColor = Color.LightSeaGreen; + } + else + { + controlPanelControl.CheckBoxDefaultStatusSelected = false; //Wenn die ausgewählte Zeile keinen Standardwert enthält, dann die CheckBox abwählen + controlPanelControl.SetVisibility(); + dataGridViewValues.Rows[rowIndexColored + 1].DefaultCellStyle.ForeColor = Color.Empty; + } + } + catch (Exception) + { + //Nur die falsche Reihe ausgewählt, z.B. die Kopfzeile + } + } + + private void SetDialogAppearance() + { + if (DialogWidth != 0) + { + SetDialogWidth(DialogWidth); + } + + if (DialogHeight != 0) + { + SetDialogHeight(DialogHeight); + } + + if (TableKeyNameWidth != 0) + { + SetTableKeyNameWidth(TableKeyNameWidth); + } + } + + private void LoadXML() + { + //controlPanelControl.CheckBoxEncryptStatusSelected = false; + + //var loadXML = new LoadXML(); + //loadXML.FileName = XMLfileName; + //loadXML.Load(); + //string[] values = new string[loadXML.Values.Length]; + //values = loadXML.Values; + //string[] attributes = new string[loadXML.Attributes.Length]; + //attributes = loadXML.Attributes; + + //if (!String.IsNullOrEmpty(Group)) + //{ + // loadXML.Group = Group; + //} + + //for (int i = 0; i < values.Length; i++) + //{ + // if (values[i].StartsWith("$$$$")) + // { + // values[i] = Decrypt(values[i], Password); + // controlPanelControl.CheckBoxEncryptStatusSelected = true; //Wenn ein verschlüsseltes Element gefunden wurde, dann setzen + // } + + // if (attributes[i].StartsWith("$$$$")) + // { + // attributes[i] = Decrypt(attributes[i], Password); + // controlPanelControl.CheckBoxEncryptStatusSelected = true; //Wenn ein verschlüsseltes Element gefunden wurde, dann setzen + // } + + // dataGridViewValues.Rows.Add(loadXML.Keys[i], values[i], attributes[i]); + //} + + //dataGridViewValues.Refresh(); + + //textBoxGroup.Text = loadXML.Group; //Gruppe setzen + + controlPanelControl.CheckBoxEncryptStatusSelected = false; + + var loadXML = new LoadXML(); + loadXML.FileName = XMLfileName; + loadXML.Load(); + string[] values = new string[loadXML.Values.Length]; + values = loadXML.Values; + string[] attributes = new string[loadXML.Attributes.Length]; + attributes = loadXML.Attributes; + + if (!String.IsNullOrEmpty(Group)) + { + loadXML.Group = Group; + } + + for (int i = 0; i < values.Length; i++) + { + if (values[i].StartsWith("$$$$")) + { + values[i] = Decrypt(values[i], Password); + controlPanelControl.CheckBoxEncryptStatusSelected = true; //Wenn ein verschlüsseltes Element gefunden wurde, dann setzen + } + + if (attributes[i].StartsWith("$$$$")) + { + attributes[i] = Decrypt(attributes[i], Password); + controlPanelControl.CheckBoxEncryptStatusSelected = true; //Wenn ein verschlüsseltes Element gefunden wurde, dann setzen + } + + dataGridViewValues.Rows.Add(loadXML.Keys[i], values[i], attributes[i]); + } + + dataGridViewValues.Refresh(); + + textBoxGroup.Text = loadXML.Group; //Gruppe setzen + } + + 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[] keys = new string[dgvLength]; + string value = ""; + string[] values = new string[dgvLength]; + string attribute = ""; + string[] attributes = new string[dgvLength]; + + for (int i = 0; i < dgvLength; i++) + { + if (controlPanelControl.CheckBoxEncryptStatusSelected) + { + value = Encrypt(dataGridViewValues[1, i].Value.ToString(), Password); //Verschlüsselt + if (dataGridViewValues[2, i].Value == null) + { + attribute = Encrypt("", Password); //Verschlüsselt + } + else + { + attribute = Encrypt(dataGridViewValues[2, i].Value.ToString(), Password); //Verschlüsselt + } + } + else + { + value = dataGridViewValues[1, i].Value.ToString(); //Unverschlüsselt + if (dataGridViewValues[2, i].Value == null) + { + attribute = ""; + } + else + { + attribute = dataGridViewValues[2, i].Value.ToString(); //Unverschlüsselt + } + } + + keys[i] = dataGridViewValues[0, i].Value.ToString(); ; + values[i] = value; + attributes[i] = attribute; + } + + //Speichern + var saveXML = new SaveXML(); + + saveXML.FileName = XMLfileName; + saveXML.Topic = "NX-Portal"; //z.B. "NX-Portal" + saveXML.Group = textBoxGroup.Text; //z.B. "Tools" + saveXML.Keys = keys; //z.B. "CleanUp" + saveXML.Values = values; //z.B. "M:\ug\Tools\CleanUp\CleanUp.exe" + saveXML.Attributes = attributes; //z.B. "-h" + + 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); + } + + public void SetDialogWidth(int width) + { + if (width >= this.MinimumSize.Width && width <= this.MaximumSize.Width) + { + this.Width = width; + + int dif = width - 316; + + if (dif > 0) + { + dataGridViewValues.Columns[0].Width += dif / 2; + } + } + } + + private void SetDialogHeight(int height) + { + if (height >= this.MinimumSize.Height && height <= this.MaximumSize.Height) + { + this.Height = height; + } + } + + private void SetTableKeyNameWidth(int width) + { + if (width >= ColumnName.MinimumWidth && width <= (this.Width - 151 - ColumnValue.MinimumWidth)) + { + ColumnName.Width = width; + } + } + + LoadXML loadXML = new LoadXML(); + + /// + /// Gets the values stored in the XML file + /// + /// An string array + public string[] GetValues() + { + controlPanelControl.CheckBoxEncryptStatusSelected = 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]; + + values = loadXML.Values; + + for (int i = 0; i < values.Length; i++) + { + if (values[i] != null) + { + if (values[i].StartsWith("$$$$")) + { + values[i] = Decrypt(values[i], Password); + } + } + } + + return values; + } + } + + #region Ereignisse + //Die Ereignisse werden nach betätigen eines Elementes aufgerufen + private void DoMoveUp(object source, EventArgs e) + { + //Weil sich die Zustände der Elemente während der Initialisierung ändern, + //wird die Ausführung der folgenden Aktionen unterdrückt + if (initialized) + { + 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 DoMoveDown(object source, EventArgs e) + { + //Weil sich die Zustände der Elemente während der Initialisierung ändern, + //wird die Ausführung der folgenden Aktionen unterdrückt + if (initialized) + { + 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 DoAddSeperator(object source, EventArgs e) + { + //Weil sich die Zustände der Elemente während der Initialisierung ändern, + //wird die Ausführung der folgenden Aktionen unterdrückt + if (initialized) + { + //Hat in diesem Programm keine Funktion + } + } + + private void DoEncrypt(object source, EventArgs e) + { + //Weil sich die Zustände der Elemente während der Initialisierung ändern, + //wird die Ausführung der folgenden Aktionen unterdrückt + if (initialized) + { + if (controlPanelControl.CheckBoxEncryptStatusSelected == false) + { + controlPanelControl.CheckBoxEncryptStatusSelected = true; + } + else + { + controlPanelControl.CheckBoxEncryptStatusSelected = false; + } + } + } + + private void DoDefault(object source, EventArgs e) + { + //Weil sich die Zustände der Elemente während der Initialisierung ändern, wird die Ausführung der folgenden Aktionen unterdrückt + //Nach der Initialisierung wird Alles durchlaufen + if (initialized) + { + if (onlyRefresh) + { + try + { + //Wenn nur die Zeile ausgewählt wurde, dann nur die Sichtbarkeit aktualisieren + if (StandardValue == dataGridViewValues.SelectedCells[0].RowIndex + 1) + { + controlPanelControl.CheckBoxDefaultStatusSelected = true; //Wenn die ausgewählte Zeile den Standardwert enthält, dann die CheckBox anwählen + controlPanelControl.SetVisibility(); + } + else + { + controlPanelControl.CheckBoxDefaultStatusSelected = false; //Wenn die ausgewählte Zeile nicht den Standardwert enthält, dann die CheckBox abwählen + controlPanelControl.SetVisibility(); + } + + onlyRefresh = false; + } + catch (Exception) + { + //Nichts tun, wird ausgelöst, weil es die Zeile nicht mehr gibt + } + + } + else + { + //Wenn die CheckBox ausgewählt wurde, dann die ursprünliche Standardzeile zurückfärben, die aktuelle Zeil selektiern und umfärben, sowie 'StandardValue' setzen + //Nur ausführen wenn es schon eine Standardzeile gibt + if (rowIndexColored != 0) + { + dataGridViewValues.Rows[rowIndexColored - 1].DefaultCellStyle.ForeColor = Color.Empty; //Die ursprünglich ausgewählte Standardzeile zurückfärben + StandardValue = dataGridViewValues.SelectedCells[0].RowIndex + 1; //Zeile die als Standard ausgewählt wurde + dataGridViewValues.Rows[dataGridViewValues.SelectedCells[0].RowIndex].DefaultCellStyle.ForeColor = Color.LightSeaGreen; + controlPanelControl.CheckBoxDefaultStatusSelected = true; //Wenn die ausgewählte Zeile den Standardwert enthält, dann die CheckBox anwählen + controlPanelControl.SetVisibility(); + rowIndexColored = dataGridViewValues.SelectedCells[0].RowIndex + 1; //Die Zeile merken die umgefärbt wurde + } + } + } + } + #endregion + } +} diff --git a/TripleValueControl/TripleValueControl.de.resx b/TripleValueControlGrafic/TripleValueControl.de.resx similarity index 100% rename from TripleValueControl/TripleValueControl.de.resx rename to TripleValueControlGrafic/TripleValueControl.de.resx diff --git a/TripleValueControl/TripleValueControl.en.resx b/TripleValueControlGrafic/TripleValueControl.en.resx similarity index 100% rename from TripleValueControl/TripleValueControl.en.resx rename to TripleValueControlGrafic/TripleValueControl.en.resx diff --git a/TripleValueControl/TripleValueControl.resx b/TripleValueControlGrafic/TripleValueControl.resx similarity index 66% rename from TripleValueControl/TripleValueControl.resx rename to TripleValueControlGrafic/TripleValueControl.resx index c5af2b4..4241fc8 100644 --- a/TripleValueControl/TripleValueControl.resx +++ b/TripleValueControlGrafic/TripleValueControl.resx @@ -124,158 +124,37 @@ Top, Bottom, Left, Right - - Top, Right - - - Top, Right - - - - False - - - NoControl + + Bottom, Right - - 0, 3 + + 310, 94 - - 75, 38 + + 120, 170 - - 12 + + 90, 127 - - Add -Separator + + 90, 127 - - buttonAddSeparator - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - panel1 - - - 0 - - - True - - - False - - - NoControl - - - 3, 47 - - - 62, 17 - - - 6 - - - Encrypt - - - checkBoxEncryptValues - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - panel1 - - - 1 - - - 325, 125 - - - 75, 67 - - - 11 - - - panel1 - - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBoxValueControl - - - 0 - - - Top, Right - - - Zoom - - - NoControl - - - 325, 198 - - - 75, 23 - - - 10 - - - buttonDown - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBoxValueControl - - - 1 - - - Top, Right - - - Zoom - - - NoControl - - - 325, 96 - - - 75, 23 - - + + 9 - - buttonUp + + controlPanelControl - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Eugen.ESystem.Windows.Forms.ControlPanelControl, heconpan, Version=1.0.8644.16319, Culture=neutral, PublicKeyToken=null - + groupBoxValueControl - - 2 + + 0 Top, Right @@ -287,10 +166,10 @@ Separator NoControl - 325, 43 + 310, 17 - 75, 23 + 90, 23 8 @@ -308,37 +187,7 @@ Separator groupBoxValueControl - 3 - - - Top, Right - - - NoControl - - - 325, 17 - - - 75, 23 - - - 7 - - - Load - - - buttonLoad - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - groupBoxValueControl - - - 4 + 1 Top, Bottom, Left, Right @@ -350,10 +199,10 @@ Separator Variable Name - 90 + 85 - 90 + 85 True @@ -362,7 +211,7 @@ Separator Variable Value - 90 + 85 True @@ -371,16 +220,16 @@ Separator Variable Attribut - 90 + 85 - 90 + 85 6, 45 - 313, 176 + 298, 176 4 @@ -395,7 +244,7 @@ Separator groupBoxValueControl - 5 + 2 Top, Left, Right @@ -404,7 +253,7 @@ Separator 109, 19 - 210, 20 + 195, 20 1 @@ -419,7 +268,7 @@ Separator groupBoxValueControl - 6 + 3 True @@ -449,7 +298,7 @@ Separator groupBoxValueControl - 7 + 4 NoControl @@ -478,14 +327,8 @@ Separator 0 - - 17, 17 - - - Load XML file - - 150, 17 + 13, 19 True @@ -494,7 +337,7 @@ Separator 6, 13 - 800, 227 + 800, 600 316, 227 @@ -502,22 +345,16 @@ Separator 406, 227 - - openFileDialog - - - System.Windows.Forms.OpenFileDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - saveFileDialog System.Windows.Forms.SaveFileDialog, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ColumnName + + ColumnAttribut - + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -526,10 +363,10 @@ Separator System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ColumnAttribut + + ColumnName - + System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 diff --git a/TripleValueControl/TripleValueControl.csproj b/TripleValueControlGrafic/TripleValueControlGrafic.csproj similarity index 96% rename from TripleValueControl/TripleValueControl.csproj rename to TripleValueControlGrafic/TripleValueControlGrafic.csproj index 2cbbe7d..5c68655 100644 --- a/TripleValueControl/TripleValueControl.csproj +++ b/TripleValueControlGrafic/TripleValueControlGrafic.csproj @@ -33,6 +33,9 @@ false + + ..\..\ControlPanelControl.git\ControlPanelControl\bin\Debug\heconpan.dll + ..\..\..\_DLL\Cryption.git\Cryption\bin\Debug\hecryption.dll diff --git a/TripleValueControlGrafic/bin/Debug/de/heconpan.resources.dll b/TripleValueControlGrafic/bin/Debug/de/heconpan.resources.dll new file mode 100644 index 0000000..131ffc0 Binary files /dev/null and b/TripleValueControlGrafic/bin/Debug/de/heconpan.resources.dll differ diff --git a/TripleValueControl/bin/Debug/de/hetvalcon.resources.dll b/TripleValueControlGrafic/bin/Debug/de/hetvalcon.resources.dll similarity index 88% rename from TripleValueControl/bin/Debug/de/hetvalcon.resources.dll rename to TripleValueControlGrafic/bin/Debug/de/hetvalcon.resources.dll index 2ad1a75..12faa2f 100644 Binary files a/TripleValueControl/bin/Debug/de/hetvalcon.resources.dll and b/TripleValueControlGrafic/bin/Debug/de/hetvalcon.resources.dll differ diff --git a/TripleValueControlGrafic/bin/Debug/en/heconpan.resources.dll b/TripleValueControlGrafic/bin/Debug/en/heconpan.resources.dll new file mode 100644 index 0000000..fcc6a8d Binary files /dev/null and b/TripleValueControlGrafic/bin/Debug/en/heconpan.resources.dll differ diff --git a/TripleValueControl/bin/Debug/en/hetvalcon.resources.dll b/TripleValueControlGrafic/bin/Debug/en/hetvalcon.resources.dll similarity index 87% rename from TripleValueControl/bin/Debug/en/hetvalcon.resources.dll rename to TripleValueControlGrafic/bin/Debug/en/hetvalcon.resources.dll index cfbb6ef..0648584 100644 Binary files a/TripleValueControl/bin/Debug/en/hetvalcon.resources.dll and b/TripleValueControlGrafic/bin/Debug/en/hetvalcon.resources.dll differ diff --git a/TripleValueControlGrafic/bin/Debug/heconpan.dll b/TripleValueControlGrafic/bin/Debug/heconpan.dll new file mode 100644 index 0000000..e39df0d Binary files /dev/null and b/TripleValueControlGrafic/bin/Debug/heconpan.dll differ diff --git a/TripleValueControlGrafic/bin/Debug/heconpan.pdb b/TripleValueControlGrafic/bin/Debug/heconpan.pdb new file mode 100644 index 0000000..0c48349 Binary files /dev/null and b/TripleValueControlGrafic/bin/Debug/heconpan.pdb differ diff --git a/TripleValueControl/bin/Debug/hecryption.dll b/TripleValueControlGrafic/bin/Debug/hecryption.dll similarity index 100% rename from TripleValueControl/bin/Debug/hecryption.dll rename to TripleValueControlGrafic/bin/Debug/hecryption.dll diff --git a/TripleValueControl/bin/Debug/hecryption.pdb b/TripleValueControlGrafic/bin/Debug/hecryption.pdb similarity index 100% rename from TripleValueControl/bin/Debug/hecryption.pdb rename to TripleValueControlGrafic/bin/Debug/hecryption.pdb diff --git a/TripleValueControlGrafic/bin/Debug/hetvalcon.dll b/TripleValueControlGrafic/bin/Debug/hetvalcon.dll new file mode 100644 index 0000000..462a138 Binary files /dev/null and b/TripleValueControlGrafic/bin/Debug/hetvalcon.dll differ diff --git a/TripleValueControlGrafic/bin/Debug/hetvalcon.pdb b/TripleValueControlGrafic/bin/Debug/hetvalcon.pdb new file mode 100644 index 0000000..81b314e Binary files /dev/null and b/TripleValueControlGrafic/bin/Debug/hetvalcon.pdb differ diff --git a/TripleValueControl/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/TripleValueControlGrafic/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs similarity index 100% rename from TripleValueControl/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs rename to TripleValueControlGrafic/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs diff --git a/TripleValueControlGrafic/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/TripleValueControlGrafic/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..6e1e5d2 Binary files /dev/null and b/TripleValueControlGrafic/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/TripleValueControlGrafic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/TripleValueControlGrafic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..e5a43d1 Binary files /dev/null and b/TripleValueControlGrafic/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.de.resources b/TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.de.resources similarity index 100% rename from TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.de.resources rename to TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.de.resources diff --git a/TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.en.resources b/TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.en.resources similarity index 100% rename from TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.en.resources rename to TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.en.resources diff --git a/TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.resources b/TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.resources similarity index 100% rename from TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.resources rename to TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.AppResources.resources diff --git a/TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.Resources.resources b/TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.Resources.resources similarity index 100% rename from TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.Resources.resources rename to TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.Properties.Resources.resources diff --git a/TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.de.resources b/TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.de.resources similarity index 100% rename from TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.de.resources rename to TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.de.resources diff --git a/TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.en.resources b/TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.en.resources similarity index 100% rename from TripleValueControl/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.en.resources rename to TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.en.resources diff --git a/TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.resources b/TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.resources new file mode 100644 index 0000000..101c48d Binary files /dev/null and b/TripleValueControlGrafic/obj/Debug/Eugen.ESystem.Windows.Forms.TripleValueControl.resources differ diff --git a/TripleValueControl/obj/Debug/TempPE/Properties.AppResources.Designer.cs.dll b/TripleValueControlGrafic/obj/Debug/TempPE/Properties.AppResources.Designer.cs.dll similarity index 100% rename from TripleValueControl/obj/Debug/TempPE/Properties.AppResources.Designer.cs.dll rename to TripleValueControlGrafic/obj/Debug/TempPE/Properties.AppResources.Designer.cs.dll diff --git a/TripleValueControl/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/TripleValueControlGrafic/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll similarity index 100% rename from TripleValueControl/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll rename to TripleValueControlGrafic/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll diff --git a/TripleValueControl/obj/Debug/TripleValueControl.csproj.AssemblyReference.cache b/TripleValueControlGrafic/obj/Debug/TripleValueControl.csproj.AssemblyReference.cache similarity index 100% rename from TripleValueControl/obj/Debug/TripleValueControl.csproj.AssemblyReference.cache rename to TripleValueControlGrafic/obj/Debug/TripleValueControl.csproj.AssemblyReference.cache diff --git a/TripleValueControlGrafic/obj/Debug/TripleValueControl.csproj.CopyComplete b/TripleValueControlGrafic/obj/Debug/TripleValueControl.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/TripleValueControl/obj/Debug/TripleValueControl.csproj.CoreCompileInputs.cache b/TripleValueControlGrafic/obj/Debug/TripleValueControl.csproj.CoreCompileInputs.cache similarity index 100% rename from TripleValueControl/obj/Debug/TripleValueControl.csproj.CoreCompileInputs.cache rename to TripleValueControlGrafic/obj/Debug/TripleValueControl.csproj.CoreCompileInputs.cache diff --git a/TripleValueControl/obj/Debug/TripleValueControl.csproj.FileListAbsolute.txt b/TripleValueControlGrafic/obj/Debug/TripleValueControl.csproj.FileListAbsolute.txt similarity index 100% rename from TripleValueControl/obj/Debug/TripleValueControl.csproj.FileListAbsolute.txt rename to TripleValueControlGrafic/obj/Debug/TripleValueControl.csproj.FileListAbsolute.txt diff --git a/TripleValueControl/obj/Debug/TripleValueControl.csproj.GenerateResource.cache b/TripleValueControlGrafic/obj/Debug/TripleValueControl.csproj.GenerateResource.cache similarity index 100% rename from TripleValueControl/obj/Debug/TripleValueControl.csproj.GenerateResource.cache rename to TripleValueControlGrafic/obj/Debug/TripleValueControl.csproj.GenerateResource.cache diff --git a/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.AssemblyReference.cache b/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.AssemblyReference.cache new file mode 100644 index 0000000..ba21a8c Binary files /dev/null and b/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.AssemblyReference.cache differ diff --git a/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.CopyComplete b/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.CoreCompileInputs.cache b/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..84e80bc --- /dev/null +++ b/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +9f6f761eb5faeead837adc5382d097ed01858d5e diff --git a/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.FileListAbsolute.txt b/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..419a931 --- /dev/null +++ b/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.FileListAbsolute.txt @@ -0,0 +1,25 @@ +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\bin\Debug\hetvalcon.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\bin\Debug\hetvalcon.pdb +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\bin\Debug\en\hetvalcon.resources.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\bin\Debug\de\hetvalcon.resources.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\bin\Debug\heconpan.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\bin\Debug\hecryption.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\bin\Debug\heconpan.pdb +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\bin\Debug\hecryption.pdb +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\bin\Debug\de\heconpan.resources.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\bin\Debug\en\heconpan.resources.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\TripleValueControlGrafic.csproj.AssemblyReference.cache +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\Eugen.ESystem.Windows.Forms.Properties.AppResources.resources +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\Eugen.ESystem.Windows.Forms.Properties.Resources.resources +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\Eugen.ESystem.Windows.Forms.TripleValueControl.resources +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\Eugen.ESystem.Windows.Forms.TripleValueControl.en.resources +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\Eugen.ESystem.Windows.Forms.Properties.AppResources.de.resources +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\Eugen.ESystem.Windows.Forms.Properties.AppResources.en.resources +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\Eugen.ESystem.Windows.Forms.TripleValueControl.de.resources +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\TripleValueControlGrafic.csproj.GenerateResource.cache +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\TripleValueControlGrafic.csproj.CoreCompileInputs.cache +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\en\hetvalcon.resources.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\de\hetvalcon.resources.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\TripleValueControlGrafic.csproj.CopyComplete +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\hetvalcon.dll +C:\CAD\Git-WorkRepository\VisualStudio\_USER CONTROL\TripleValueControlGrafic.git\TripleValueControlGrafic\obj\Debug\hetvalcon.pdb diff --git a/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.GenerateResource.cache b/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.GenerateResource.cache new file mode 100644 index 0000000..0b4a9c4 Binary files /dev/null and b/TripleValueControlGrafic/obj/Debug/TripleValueControlGrafic.csproj.GenerateResource.cache differ diff --git a/TripleValueControl/obj/Debug/de/hetvalcon.resources.dll b/TripleValueControlGrafic/obj/Debug/de/hetvalcon.resources.dll similarity index 88% rename from TripleValueControl/obj/Debug/de/hetvalcon.resources.dll rename to TripleValueControlGrafic/obj/Debug/de/hetvalcon.resources.dll index 2ad1a75..12faa2f 100644 Binary files a/TripleValueControl/obj/Debug/de/hetvalcon.resources.dll and b/TripleValueControlGrafic/obj/Debug/de/hetvalcon.resources.dll differ diff --git a/TripleValueControl/obj/Debug/en/hetvalcon.resources.dll b/TripleValueControlGrafic/obj/Debug/en/hetvalcon.resources.dll similarity index 87% rename from TripleValueControl/obj/Debug/en/hetvalcon.resources.dll rename to TripleValueControlGrafic/obj/Debug/en/hetvalcon.resources.dll index cfbb6ef..0648584 100644 Binary files a/TripleValueControl/obj/Debug/en/hetvalcon.resources.dll and b/TripleValueControlGrafic/obj/Debug/en/hetvalcon.resources.dll differ diff --git a/TripleValueControlGrafic/obj/Debug/hetvalcon.dll b/TripleValueControlGrafic/obj/Debug/hetvalcon.dll new file mode 100644 index 0000000..462a138 Binary files /dev/null and b/TripleValueControlGrafic/obj/Debug/hetvalcon.dll differ diff --git a/TripleValueControlGrafic/obj/Debug/hetvalcon.pdb b/TripleValueControlGrafic/obj/Debug/hetvalcon.pdb new file mode 100644 index 0000000..81b314e Binary files /dev/null and b/TripleValueControlGrafic/obj/Debug/hetvalcon.pdb differ