Gruppe wahlweise auslesen oder übergeben
- Die Gruppe kann, unabhängig von der XML Datei, auch übergeben werden
This commit is contained in:
parent
3781d720ec
commit
b0dcdf852e
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.
@ -382,6 +382,11 @@ namespace Eugen.ESystem.Windows.Forms
|
|||||||
string[] values = new string[loadXML.Values.Length];
|
string[] values = new string[loadXML.Values.Length];
|
||||||
values = loadXML.Values;
|
values = loadXML.Values;
|
||||||
|
|
||||||
|
if (!String.IsNullOrEmpty(Group))
|
||||||
|
{
|
||||||
|
loadXML.Group = Group;
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < values.Length; i++)
|
for (int i = 0; i < values.Length; i++)
|
||||||
{
|
{
|
||||||
if (values[i].StartsWith("$$$$"))
|
if (values[i].StartsWith("$$$$"))
|
||||||
|
|||||||
@ -38,7 +38,10 @@ namespace Eugen.ESystem.Windows.Forms
|
|||||||
{
|
{
|
||||||
temp = groupElement.ToString().Split(' ');
|
temp = groupElement.ToString().Split(' ');
|
||||||
|
|
||||||
Group = ExtractGroup(temp);
|
if (String.IsNullOrEmpty(Group))
|
||||||
|
{
|
||||||
|
Group = ExtractGroup(temp);
|
||||||
|
}
|
||||||
lkeys.Add(ExtractKey(temp));
|
lkeys.Add(ExtractKey(temp));
|
||||||
lvalues.Add(ExtractValue(temp));
|
lvalues.Add(ExtractValue(temp));
|
||||||
|
|
||||||
|
|||||||
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.
@ -127,7 +127,7 @@ namespace HE_Test_Dll1
|
|||||||
duoValueControl.ValueControlName = "My XML Control";
|
duoValueControl.ValueControlName = "My XML Control";
|
||||||
duoValueControl.Topic = "NX-Portal";
|
duoValueControl.Topic = "NX-Portal";
|
||||||
duoValueControl.GroupName = "MyGroup";
|
duoValueControl.GroupName = "MyGroup";
|
||||||
//duoValueControl.Group = "NX_1953"; //Belegt die Gruppe vor. Darf kein Leerzeichen enthalten
|
//duoValueControl.Group = "NX_2212"; //Belegt die Gruppe vor. Darf kein Leerzeichen enthalten
|
||||||
duoValueControl.TableKeyName = "MyVarName";
|
duoValueControl.TableKeyName = "MyVarName";
|
||||||
duoValueControl.TableValueName = "MyValue";
|
duoValueControl.TableValueName = "MyValue";
|
||||||
duoValueControl.CheckBoxEncryptValueText = "Encrypt\r\nvalues";
|
duoValueControl.CheckBoxEncryptValueText = "Encrypt\r\nvalues";
|
||||||
|
|||||||
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.
Loading…
Reference in New Issue
Block a user