private void AddHardDriveToList(object sender, EventArgs e) { HardDrive harddrive = newHardDriveSubForm.NewHardDrive; ComputerHardDrives.Add(harddrive); EntitiesToListView.FillHardDrivesListViewDetailView(ComputerHardDrives, listViewCreateComputerHardDrives); }
private void listViewForensicProcesses_SelectedIndexChanged(object sender, EventArgs e) { if (listViewForensicProcesses.SelectedItems.Count == 1) { int i = listViewForensicProcesses.SelectedItems[0].Index; this_ForensicProcess = CaseForensicProcesses[i]; ListViewToDetailsFields.ForensicProcesseslistViewToDetailFields(i, CaseForensicProcesses, this); EntitiesToListView.FillDestinationMediaListViewDetailView(CaseForensicProcesses[i].DestinationMediae, listViewFPDestinationMediae); EntitiesToListView.FillHardDrivesListViewDetailView(CaseForensicProcesses[i].ReferenceHardDrives, listViewFPAssociatedHardDrives); EntitiesToListView.FillComputersListViewDetailView(CaseForensicProcesses[i].ReferenceComputers, listViewFPAssociatedComputers); } }