void Initialize() { lock (listStore) { listStore.Clear(); JobInfo[] jobs = JobInfo.GetJobs(); foreach (JobInfo job in jobs) { AddJob(job); } } }
void Initialize() { lock (listStore) { listStore.Clear(); JobInfo[] jobs = JobInfo.GetJobs(); foreach (JobInfo job in jobs) { AddJob(job); } } }