public ContextMenu( //IMonitorCheckWorker monitorCheckWorker, IPowerProcessor powerProcessor, IIconSettings iconSettings) { //_monitorCheckWorker = monitorCheckWorker; _powerProcessor = powerProcessor; _iconSettings = iconSettings; }
public ProcessIcon( IMonitorCheckWorker monitorCheckWorker, IContextMenu contextMenu, IPowerProcessor powerProcessor, IIconSettings iconSettings) { _monitorCheckWorker = monitorCheckWorker; _contextMenu = contextMenu; _powerProcessor = powerProcessor; _iconSettings = iconSettings; _powerProcessor.OnPowerSchemeChange += (sender, e) => Update(); monitorCheckWorker.OnAutoChanged = (sender, e) => Update(); Icon = new NotifyIcon(); }
public SelectIconsForm(IPowerProcessor powerProcessor, IIconSettings iconSettings) { _powerProcessor = powerProcessor; _iconSettings = iconSettings; InitializeComponent(); }