Пример #1
0
 private void showInHexViewerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (lstResults.SelectedItems.Count > 0)
     {
         HexWindow hexwin = new HexWindow();
         hexwin.rDump        = ramDumps[0];
         hexwin.memRegion    = (int)lstResults.SelectedItems[0].Tag;
         hexwin.selectLength = 4;
         hexwin.gotoOffset   = int.Parse(lstResults.SelectedItems[0].SubItems[0].Text, System.Globalization.NumberStyles.HexNumber);
         hexwin.Show();
     }
 }
Пример #2
0
 private void hexViewerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     // Hexwindow
     if (lstHeader.SelectedItems[0] != null)
     {
         HexWindow hwin = new HexWindow();
         hwin.rDump     = binfile;
         hwin.memRegion = (int)lstHeader.SelectedItems[0].Tag;
         //hwin.startoffset = int.Parse(lstHeader.SelectedItems[0].SubItems[2].Text,System.Globalization.NumberStyles.HexNumber);
         //hwin.offsetsize = int.Parse(lstHeader.SelectedItems[0].SubItems[3].Text, System.Globalization.NumberStyles.HexNumber);
         //hwin.ramoffset = int.Parse(lstHeader.SelectedItems[0].SubItems[0].Text, System.Globalization.NumberStyles.HexNumber);
         hwin.Show();
     }
 }