コード例 #1
0
 private void MonitorUpdated(object sender, MonitorUpdatedEventArgs e)
 {
     if (_trayMenu.GetCheckedStatusByGuid(e.Guid))
     {
         _monitorStatuses[e.Guid] = e;
         ShowBalloonTip("Ping MonitorStatus");
     }
 }
コード例 #2
0
        private void OnMonitorUpdate(Monitor monitor)
        {
            MonitorUpdatedEventArgs args = new MonitorUpdatedEventArgs(monitor);

            _monitorUpdated?.Invoke(this, args);
        }