I18NCommander/I18N Commander/UI WinForms/AppEvents.cs

10 lines
284 B
C#

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);
}