コード例 #1
0
        private void AddHardDriveToList(object sender, EventArgs e)
        {
            HardDrive harddrive = newHardDriveSubForm.NewHardDrive;

            ComputerHardDrives.Add(harddrive);
            EntitiesToListView.FillHardDrivesListViewDetailView(ComputerHardDrives, listViewCreateComputerHardDrives);
        }
コード例 #2
0
        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);
            }
        }