private void UpdateAppListData(RzAppListDataProvider app) { Apps.Clear(); Pids.Clear(); CurrentApp = app.CurrentAppExecutable; for (int i = 0; i < app.AppCount; i++) { Apps.Add(app.GetExecutableName(i)); Pids.Add(app.GetPid(i)); } AppListUpdated?.Invoke(this, EventArgs.Empty); }
private void OnAppListUpdated() { AppListUpdated?.Invoke(); }