Exemple #1
0
        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();
     }
 }
Exemple #3
0
        private void snapshotInfo2_DoubleClick(object sender, EventArgs e)
        {
            ShowSnapshot dlg = new ShowSnapshot(snapshotInfo2.m_snapshot, snapshotInfo2.SnapshotName);

            dlg.ShowDialog();
        }
Exemple #4
0
        private void snapshotInfoGlobal_DoubleClick(object sender, EventArgs e)
        {
            ShowSnapshot dlg = new ShowSnapshot(m_globalSnapshot, "Global");

            dlg.ShowDialog();
        }