예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DSoft.Datatypes.Formatters.DSBooleanFormatter"/> class.
 /// </summary>
 /// <param name="Style">Style.</param>
 public DSBooleanFormatter(BooleanFormatterStyle Style)
 {
     mStyle = Style;
     mSize  = new DSSize(20, 20);
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DSoft.Datatypes.Formatters.DSBooleanFormatter"/> class.
 /// </summary>
 /// <param name="Style">Style.</param>
 /// <param name="TrueValue">True value.</param>
 /// <param name="FalseValue">False value.</param>
 public DSBooleanFormatter(BooleanFormatterStyle Style, object TrueValue, object FalseValue) : this(Style)
 {
     mTrueValue  = TrueValue;
     mFalseValue = FalseValue;
 }