private void TextBoxBinary_TextChanged(object sender, TextChangedEventArgs e) { if (NumberBase != NumberBase.Binary) { return; } long value; if (BinaryString.ParseBinaryString(IsSigned, SizeInBits, out value)) { CurrentValue = value; } }