public void Close() { ProcessInfo.Kill(); }
private void RefreshMemoryUsageCell(ProcessInfo processInfo) { /* dataTable.AsEnumerable().Where(x => x.Field<string>("ID") == processInfo.ProcessId).FirstOrDefault().SetField("Память", processInfo.ProcessMemoryUsage);*/ dataGridView1.DataSource = dataTable; }