Ejemplo n.º 1
0
        private void dissectNodesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var hexNodes = selectedNodes.Where(h => h.Node is BaseHexNode);

            if (hexNodes.Any())
            {
                NodeDissector.DissectNodes(hexNodes.Select(h => (BaseHexNode)h.Node), Memory);

                ClearSelection();
            }
        }
Ejemplo n.º 2
0
        private void dissectNodesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var hexNodes = selectedNodes.Where(h => h.Node is BaseHexNode).ToList();

            if (hexNodes.Any())
            {
                foreach (var g in hexNodes.GroupBy(n => n.Node.ParentNode))
                {
                    NodeDissector.DissectNodes(g.Select(h => (BaseHexNode)h.Node), g.First().Memory);
                }

                ClearSelection();
            }
        }
Ejemplo n.º 3
0
        private void dissectNodesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var hexNodes = memoryViewControl.GetSelectedNodes().Where(h => h.Node is BaseHexNode).ToList();

            if (!hexNodes.Any())
            {
                return;
            }

            foreach (var g in hexNodes.GroupBy(n => n.Node.GetParentContainer()))
            {
                NodeDissector.DissectNodes(g.Select(h => (BaseHexNode)h.Node), g.First().Memory);
            }

            ClearSelection();
        }