예제 #1
0
        private void SetProperties()
        {
            if (_address.HasValue)
            {
                AddressBox.SetFromRawInt(_address.Value);
            }
            else
            {
                AddressBox.ResetText();
            }

            if (_compare.HasValue)
            {
                CompareBox.SetFromRawInt(_compare.Value);
            }
            else
            {
                CompareBox.ResetText();
            }

            if (_value.HasValue)
            {
                ValueBox.SetFromRawInt(_value.Value);
            }
            else
            {
                ValueBox.ResetText();
            }
        }