void OverlapSnapshots(int snapAIdx, int snapBIdx) { MemSnapshot snapA = BuildSnapshotFromDesc(m_snapshots[snapAIdx]); MemSnapshot snapB = BuildSnapshotFromDesc(m_snapshots[snapBIdx]); MemSnapshot result = snapA.Overlap(snapB); ShowSnapshot dlg = new ShowSnapshot(result, "Overlap"); dlg.ShowDialog(); }
private void detailsToolStripMenuItem_Click(object sender, EventArgs e) { if (dataGridView1.SelectedCells.Count > 0) { ShowSnapshot dlg = new ShowSnapshot(m_mainForm.GetSnapshotByIndex(dataGridView1.SelectedCells[0].RowIndex), m_mainForm.GetSnapshotNameByIndex(dataGridView1.SelectedCells[0].RowIndex)); dlg.ShowDialog(); } }
private void snapshotInfo2_DoubleClick(object sender, EventArgs e) { ShowSnapshot dlg = new ShowSnapshot(snapshotInfo2.m_snapshot, snapshotInfo2.SnapshotName); dlg.ShowDialog(); }
private void snapshotInfoGlobal_DoubleClick(object sender, EventArgs e) { ShowSnapshot dlg = new ShowSnapshot(m_globalSnapshot, "Global"); dlg.ShowDialog(); }