LynnaLab.SpinButtonHexadecimal.OnOutput C# (CSharp) Method

OnOutput() protected method

protected OnOutput ( ) : int
return int
        protected override int OnOutput()
        {
            this.Numeric = false;
            if (ValueAsInt < 0)
                Text = "-$" + Math.Abs(ValueAsInt).ToString("X" + Digits);
            else
                Text = "$" + ValueAsInt.ToString("X" + Digits);
            return 1;
        }