Exemple #1
0
 public AlphanumericTextBox(AlphanumericBehavior behavior) :
     base(behavior)
 {
 }
Exemple #2
0
 public AlphanumericTextBox()
 {
     m_behavior = new AlphanumericBehavior(this);
 }
Exemple #3
0
 public AlphanumericTextBox(string invalidChars)
 {
     m_behavior = new AlphanumericBehavior(this, invalidChars);
 }
 /// <summary>
 /// Initializes a new instance of the AlphanumericTextBox class by assigning its Behavior field
 /// to an instance of <see cref="AlphanumericBehavior" /> and passing it the characters to consider invalid. </summary>
 /// <param name="invalidChars">
 /// An array of characters that should not be allowed. </param>
 public AlphanumericTextBox(char[] invalidChars)
 {
     behavior = new AlphanumericBehavior(this, invalidChars);
 }