Erfolgsmeldung beim Speichern
- Nach dem Speichern eine Erfolgsmeldung ausgeben
This commit is contained in:
parent
8290c7b555
commit
3ffb65378a
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<NX-Portal xmlns="https://www.engelglobal.com/de/at/index.html">
|
<NX-Portal xmlns="https://www.engelglobal.com/de/at/index.html">
|
||||||
<aaaa myVariable1="myValue1" />
|
<test aaa="bbb" />
|
||||||
<aaaa myVariable2="myValue2" />
|
<test ccc="ddd" />
|
||||||
</NX-Portal>
|
</NX-Portal>
|
||||||
18
DuoValueControl/Properties/AppResources.Designer.cs
generated
18
DuoValueControl/Properties/AppResources.Designer.cs
generated
@ -96,6 +96,15 @@ namespace Eugen.ESystem.Windows.Forms.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Sucht eine lokalisierte Zeichenfolge, die Information ähnelt.
|
||||||
|
/// </summary>
|
||||||
|
internal static string msgBoxCapt003 {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("msgBoxCapt003", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sucht eine lokalisierte Zeichenfolge, die File not found! ähnelt.
|
/// Sucht eine lokalisierte Zeichenfolge, die File not found! ähnelt.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -104,5 +113,14 @@ namespace Eugen.ESystem.Windows.Forms.Properties {
|
|||||||
return ResourceManager.GetString("msgBoxTxt001", resourceCulture);
|
return ResourceManager.GetString("msgBoxTxt001", resourceCulture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Sucht eine lokalisierte Zeichenfolge, die The file was saved successfully. ähnelt.
|
||||||
|
/// </summary>
|
||||||
|
internal static string msgBoxTxt003 {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("msgBoxTxt003", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -129,7 +129,13 @@
|
|||||||
<data name="msgBoxCapt001" xml:space="preserve">
|
<data name="msgBoxCapt001" xml:space="preserve">
|
||||||
<value>Fehler</value>
|
<value>Fehler</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="msgBoxCapt003" xml:space="preserve">
|
||||||
|
<value>Information</value>
|
||||||
|
</data>
|
||||||
<data name="msgBoxTxt001" xml:space="preserve">
|
<data name="msgBoxTxt001" xml:space="preserve">
|
||||||
<value>Datei wurde nicht gefunden!</value>
|
<value>Datei wurde nicht gefunden!</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="msgBoxTxt003" xml:space="preserve">
|
||||||
|
<value>Die Datei wurde erfolgreich gespeichert.</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@ -129,7 +129,13 @@
|
|||||||
<data name="msgBoxCapt001" xml:space="preserve">
|
<data name="msgBoxCapt001" xml:space="preserve">
|
||||||
<value>Error</value>
|
<value>Error</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="msgBoxCapt003" xml:space="preserve">
|
||||||
|
<value>Information</value>
|
||||||
|
</data>
|
||||||
<data name="msgBoxTxt001" xml:space="preserve">
|
<data name="msgBoxTxt001" xml:space="preserve">
|
||||||
<value>File not found!</value>
|
<value>File not found!</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="msgBoxTxt003" xml:space="preserve">
|
||||||
|
<value>The file was saved successfully.</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@ -129,7 +129,13 @@
|
|||||||
<data name="msgBoxCapt001" xml:space="preserve">
|
<data name="msgBoxCapt001" xml:space="preserve">
|
||||||
<value>Error</value>
|
<value>Error</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="msgBoxCapt003" xml:space="preserve">
|
||||||
|
<value>Information</value>
|
||||||
|
</data>
|
||||||
<data name="msgBoxTxt001" xml:space="preserve">
|
<data name="msgBoxTxt001" xml:space="preserve">
|
||||||
<value>File not found!</value>
|
<value>File not found!</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="msgBoxTxt003" xml:space="preserve">
|
||||||
|
<value>The file was saved successfully.</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@ -3,8 +3,10 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
using System.Xml.Linq;
|
using System.Xml.Linq;
|
||||||
|
using AppRes = Eugen.ESystem.Windows.Forms.Properties.AppResources;
|
||||||
|
|
||||||
|
|
||||||
namespace Eugen.ESystem.Windows.Forms
|
namespace Eugen.ESystem.Windows.Forms
|
||||||
@ -38,6 +40,8 @@ namespace Eugen.ESystem.Windows.Forms
|
|||||||
}
|
}
|
||||||
|
|
||||||
rootElement.Save(FileName);
|
rootElement.Save(FileName);
|
||||||
|
|
||||||
|
MessageBox.Show(AppRes.msgBoxTxt003, AppRes.msgBoxCapt003, MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
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.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user