Defined AppEvents by implemented section changed event

This commit is contained in:
Thorsten Sommer 2022-07-12 20:50:03 +02:00
parent aca986b18d
commit efb6732cd7
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -0,0 +1,10 @@
using DataModel.Database;
namespace UI_WinForms;
internal static class AppEvents
{
internal static event EventHandler<Section> WhenSectionChanged;
internal static void SectionChanged(Section section) => AppEvents.WhenSectionChanged?.Invoke(null, section);
}