コード例 #1
0
        public DeviceMixByteCollectionEditor(IMixByteCollection mixByteCollection)
        {
            mDeviceMixByteCollection = mixByteCollection;
            if (mDeviceMixByteCollection == null)
            {
                mDeviceMixByteCollection = new MixByteCollection(FullWord.ByteCount);
            }

            mCharTextBox = new MixByteCollectionCharTextBox(mDeviceMixByteCollection);
            mMixByteCollectionIndexLabel = new Label();
            InitializeComponent();
        }
コード例 #2
0
        public FullWordEditor(IFullWord fullWord)
        {
            mFullWord = fullWord;
            mReadOnly = false;
            if (mFullWord == null)
            {
                mFullWord = new FullWord();
            }

            mWordValueEditor = new WordValueEditor(mFullWord);
            mWordCharTextBox = new MixByteCollectionCharTextBox(mFullWord);
            mEqualsLabel     = new Label();
            InitializeComponent();
        }