Korrigiert
- Zugriffsmodifizierer geändert - Aufruf für die Dialoghöhe geändert
This commit is contained in:
parent
aee9eb28b1
commit
c0dc89da56
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -133,7 +133,7 @@ namespace HE_Test_Dll
|
|||||||
tripleValueControl.TableAttributeName = "MyAttribut";
|
tripleValueControl.TableAttributeName = "MyAttribut";
|
||||||
//tripleValueControl.AlwaysEncrypted = true; //Alle Werte werden immer Verschlüsselt
|
//tripleValueControl.AlwaysEncrypted = true; //Alle Werte werden immer Verschlüsselt
|
||||||
tripleValueControl.SetDialogWidth(600); //Der Dialog kann zwischen 316 und 800 breit sein
|
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.SetDialogHeight(300); //Der Dialog kann zwischen 227 und 600 hoch sein
|
||||||
tripleValueControl.SetBasicValues(); //Die übergebenen Werte anzeigen
|
tripleValueControl.SetBasicValues(); //Die übergebenen Werte anzeigen
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -228,16 +228,6 @@ namespace Eugen.ESystem.Windows.Forms
|
|||||||
set { dataGridViewValues.Columns[2].HeaderText = value; }
|
set { dataGridViewValues.Columns[2].HeaderText = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Adjusts the width of the control. An empty value forces the default value
|
|
||||||
/// </summary>
|
|
||||||
public int DialogWidth { set; get; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Adjusts the height of the control. An empty value forces the default value
|
|
||||||
/// </summary>
|
|
||||||
public int DialogHeight { set; get; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Adjusts the width of the name column of the table. An empty value forces the default value
|
/// Adjusts the width of the name column of the table. An empty value forces the default value
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -252,6 +242,16 @@ namespace Eugen.ESystem.Windows.Forms
|
|||||||
private int rowIndexColored = 0;
|
private int rowIndexColored = 0;
|
||||||
private bool onlyRefresh = false;
|
private bool onlyRefresh = false;
|
||||||
private int StandardValue { get; set; }
|
private int StandardValue { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Adjusts the width of the control. An empty value forces the default value
|
||||||
|
/// </summary>
|
||||||
|
private int DialogWidth { set; get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Adjusts the height of the control. An empty value forces the default value
|
||||||
|
/// </summary>
|
||||||
|
private int DialogHeight { set; get; }
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private void InitializeUserControl()
|
private void InitializeUserControl()
|
||||||
@ -435,42 +435,6 @@ namespace Eugen.ESystem.Windows.Forms
|
|||||||
|
|
||||||
private void LoadXML()
|
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;
|
controlPanelControl.CheckBoxEncryptStatusSelected = false;
|
||||||
|
|
||||||
var loadXML = new LoadXML();
|
var loadXML = new LoadXML();
|
||||||
@ -594,7 +558,7 @@ namespace Eugen.ESystem.Windows.Forms
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetDialogHeight(int height)
|
public void SetDialogHeight(int height)
|
||||||
{
|
{
|
||||||
if (height >= this.MinimumSize.Height && height <= this.MaximumSize.Height)
|
if (height >= this.MinimumSize.Height && height <= this.MaximumSize.Height)
|
||||||
{
|
{
|
||||||
|
|||||||
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.
Binary file not shown.
Loading…
Reference in New Issue
Block a user