상속: System.Windows.Forms.ListViewItem
예제 #1
0
        void RefreshMsilView()
        {
            MsilView.BeginUpdate();

            InstructionMap.Clear();
            MsilView.Items.Clear();

            if (SelectedNode == null || !SelectedNode.LoadMsil())
            {
                MsilView.EndUpdate();
                return;
            }

            foreach (var inst in SelectedNode.Msil)
            {
                var row = new CodeRow(inst);
                MsilView.Items.Add(row);

                InstructionMap[inst.Offset] = row;
            }

            MsilView.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);

            MsilView.EndUpdate();
        }
예제 #2
0
        void RefreshMsilView()
        {
            MsilView.BeginUpdate();

            InstructionMap.Clear();
            MsilView.Items.Clear();

            if (SelectedNode == null || !SelectedNode.LoadMsil())
            {
                MsilView.EndUpdate();
                return;
            }

            foreach (var inst in SelectedNode.Msil)
            {
                var row = new CodeRow(inst);
                MsilView.Items.Add(row);

                InstructionMap[inst.Offset] = row;
            }

            MsilView.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);

            MsilView.EndUpdate();
        }