Kosmetische Korrekturen
- Logdatei Texte angepasst
This commit is contained in:
parent
7705c10d6d
commit
ec8c00b805
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.
@ -244,7 +244,7 @@ namespace Eugen.ESystem
|
||||
|
||||
if (File.Exists(LogFile))
|
||||
{
|
||||
log.WriteMessage("Creating dynamic license bundles menu entries ...", LogWriter.LogLevel.Information, LogWriter.Time.Write); //Logdatei schreiben
|
||||
log.WriteMessage("Creating dynamic menu entries ...", LogWriter.LogLevel.Information, LogWriter.Time.Write); //Logdatei schreiben
|
||||
}
|
||||
|
||||
LoadXmlFile(XmlFile, Topic, Group, Key); //Information aus der XML-Datei auslesen
|
||||
@ -256,7 +256,7 @@ namespace Eugen.ESystem
|
||||
|
||||
if (File.Exists(LogFile))
|
||||
{
|
||||
log.WriteMessage("Dynamic license bundles menu entries created successfully", LogWriter.LogLevel.Information, LogWriter.Time.Write); //Logdatei schreiben
|
||||
log.WriteMessage("Dynamic menu entries created successfully", LogWriter.LogLevel.Information, LogWriter.Time.Write); //Logdatei schreiben
|
||||
}
|
||||
}
|
||||
|
||||
@ -285,7 +285,7 @@ namespace Eugen.ESystem
|
||||
|
||||
if (File.Exists(LogFile))
|
||||
{
|
||||
log.WriteMessage("All menu entries are generated successfully", LogWriter.LogLevel.Information, LogWriter.Time.Write); //Logdatei schreiben
|
||||
log.WriteMessage("All menu items are generated successfully", LogWriter.LogLevel.Information, LogWriter.Time.Write); //Logdatei schreiben
|
||||
}
|
||||
}
|
||||
|
||||
@ -365,7 +365,7 @@ namespace Eugen.ESystem
|
||||
|
||||
if (File.Exists(LogFile))
|
||||
{
|
||||
log.WriteMessage("Removed all menu entries", LogWriter.LogLevel.Information, LogWriter.Time.Write); //Logdatei schreiben
|
||||
log.WriteMessage("Removed all existing menu items", LogWriter.LogLevel.Information, LogWriter.Time.Write); //Logdatei schreiben
|
||||
}
|
||||
}
|
||||
|
||||
@ -431,18 +431,6 @@ namespace Eugen.ESystem
|
||||
OnDynamicMenuItemEvent(EventArgs.Empty); //Das eigene Event aufrufen
|
||||
}
|
||||
|
||||
public event EventHandler DynamicMenuItemEvent; //Ein eigens Event erstellen
|
||||
|
||||
//Eventhandler
|
||||
protected virtual void OnDynamicMenuItemEvent(EventArgs e)
|
||||
{
|
||||
EventHandler dynamicMenuItemEvent = DynamicMenuItemEvent;
|
||||
if (dynamicMenuItemEvent != null)
|
||||
{
|
||||
dynamicMenuItemEvent(this, e);
|
||||
}
|
||||
}
|
||||
|
||||
private void LoadXmlFile(string xmlFileName, string topic, string group, string key)
|
||||
{
|
||||
LogWriter log = new LogWriter(Path.GetDirectoryName(LogFile), Path.GetFileName(LogFile));
|
||||
@ -496,6 +484,19 @@ namespace Eugen.ESystem
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Ein eigenes Event erstellen
|
||||
public event EventHandler DynamicMenuItemEvent;
|
||||
|
||||
//Eventhandler
|
||||
protected virtual void OnDynamicMenuItemEvent(EventArgs e)
|
||||
{
|
||||
EventHandler dynamicMenuItemEvent = DynamicMenuItemEvent;
|
||||
if (dynamicMenuItemEvent != null)
|
||||
{
|
||||
dynamicMenuItemEvent(this, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#region Exceptions
|
||||
|
||||
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