private void _foregroundWatcher_ForegroundChanged(object sender, ForegroundArgs e)
        {
            string text = $"{e.Process.ProcessName.Truncate(16),20}";

            _messages.Enqueue(new Report($"{text}   \"{e.Process.MainWindowTitle}\""));
        }
예제 #2
0
 private void OnForegroundChange(object o, ForegroundArgs e)
 {
     ForegroundChanged?.Invoke(o, e);
 }