public DeviceMixByteCollectionEditor(IMixByteCollection mixByteCollection) { mDeviceMixByteCollection = mixByteCollection; if (mDeviceMixByteCollection == null) { mDeviceMixByteCollection = new MixByteCollection(FullWord.ByteCount); } mCharTextBox = new MixByteCollectionCharTextBox(mDeviceMixByteCollection); mMixByteCollectionIndexLabel = new Label(); InitializeComponent(); }
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(); }