Ejemplo n.º 1
0
        public MemoryWordEditor(IMemoryFullWord memoryWord)
        {
            mReadOnly = false;
            mMarked   = false;
            if (memoryWord == null)
            {
                memoryWord = new MemoryFullWord(int.MinValue);
            }

            mInstructionTextBox = new InstructionInstanceTextBox(mMemoryWord);
            mFullWordEditor     = new FullWordEditor(mMemoryWord);
            mAddressPanel       = new Panel();
            mInstructionPanel   = new Panel();
            mBreakPointBox      = new CheckBox();
            mAddressLabel       = new Label();
            mColonLabel         = new Label();
            mEqualsLabel        = new Label();
            mColonLabel         = new Label();
            mColonLabel2        = new Label();
            mProfileLabel       = new Label();
            InitializeComponent();

            MemoryWord = memoryWord;

            UpdateProfilingLayout();
        }
Ejemplo n.º 2
0
        public DeviceWordEditor(IFullWord deviceWord)
        {
            mDeviceWord = deviceWord;
            if (mDeviceWord == null)
            {
                mDeviceWord = new FullWord();
            }

            mFullWordEditor = new FullWordEditor(mDeviceWord);
            mWordIndexLabel = new Label();
            InitializeComponent();
        }