private void InitializeAboutNotificationForTaskbar() { if (Context.Settings.Taskbar.ShowApplicationInfo) { taskbar.AddNotificationControl(uiFactory.CreateNotificationControl(aboutController, aboutInfo, Location.Taskbar)); } }
private void InitializeAboutNotificationForTaskbar() { if (taskbarSettings.ShowApplicationInfo) { var notification = uiFactory.CreateNotificationControl(aboutInfo, Location.Taskbar); aboutController.RegisterNotification(notification); taskbar.AddNotificationControl(notification); } }
public override OperationResult Perform() { if (Context.Settings.Proctoring.Enabled) { logger.Info("Initializing proctoring..."); StatusChanged?.Invoke(TextKey.OperationStatus_InitializeProctoring); controller.Initialize(Context.Settings.Proctoring); actionCenter.AddNotificationControl(uiFactory.CreateNotificationControl(notification, Location.ActionCenter)); if (Context.Settings.Proctoring.ShowTaskbarNotification) { taskbar.AddNotificationControl(uiFactory.CreateNotificationControl(notification, Location.Taskbar)); } } return(OperationResult.Success); }