Esempio n. 1
0
        void AddConfigurator(INotifier notifier)
        {
            var configurator = notifier.GetConfig();
            var uc           = configurator.ControlHandle;

            NotificationsLayout.Controls.Add(uc);
            configurator.Removed += (o, args) =>
            {
                NotificationsLayout.Controls.Remove(configurator.ControlHandle);
                _trigger.RemoveNotifier(notifier);
            };
        }