' 入力を許可する範囲を設定します。
GcNumber1.MinValue = -99999.99D
GcNumber1.MaxValue = 99999.99D
' 書式を設定します。
GcNumber1.Format.Digit = "######.##"
GcNumber1.DisplayFormat.Digit = "###,##0.00"
GcNumber1.DisplayFormat.PositivePrefix = "$"
GcNumber1.DisplayFormat.NegativePrefix = "$-"
GcNumber1.DisplayFormat.PositiveSuffix = "(税別)"
GcNumber1.DisplayFormat.NegativeSuffix = "(税別)"
GcNumber1.CurrencySymbol = "\"
GcNumber1.DecimalPoint = "."
GcNumber1.Separator = ","
GcNumber1.NegativeColor = Color.Red
// 入力を許可する範囲を設定します。
GcNumber1.MinValue = -99999.99M;
GcNumber1.MaxValue = 99999.99M;
// 書式を設定します。
GcNumber1.Format.Digit = "######.##";
GcNumber1.DisplayFormat.Digit = "###,##0.00";
GcNumber1.DisplayFormat.PositivePrefix = "$";
GcNumber1.DisplayFormat.NegativePrefix = "$-";
GcNumber1.DisplayFormat.PositiveSuffix = "(税別)";
GcNumber1.DisplayFormat.NegativeSuffix = "(税別)";
GcNumber1.CurrencySymbol = "\\";
GcNumber1.DecimalPoint = '.';
GcNumber1.Separator = ',';
GcNumber1.NegativeColor = Color.Red;