Exemple #1
0
 public IntegerTextBox(IntegerBehavior behavior)
     :
     base(behavior)
 {
 }
Exemple #2
0
 public IntegerTextBox()
     :
     base(null)
 {
     m_behavior = new IntegerBehavior(this);
 }
Exemple #3
0
 public IntegerTextBox(int maxWholeDigits)
     :
     base(null)
 {
     m_behavior = new IntegerBehavior(this, maxWholeDigits);
 }
Exemple #4
0
 /// <summary>
 ///   Initializes a new instance of the IntegerBehavior class by copying it from
 ///   another IntegerBehavior object. </summary>
 /// <param name="behavior">
 ///   The IntegerBehavior object to copied (and then disposed of).  It must not be null. </param>
 /// <exception cref="ArgumentNullException">behavior is null. </exception>
 /// <remarks>
 ///   After the behavior.TextBox object is copied, Dispose is called on the behavior parameter. </remarks>
 public IntegerBehavior(IntegerBehavior behavior)
     :
     base(behavior)
 {
     SetDefaultRange();
 }