Beispiel #1
0
 public CurrencyTextBox()
     :
     base(null)
 {
     m_behavior = new CurrencyBehavior(this);
     TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
 }
Beispiel #2
0
 internal CurrencyTextBox(CurrencyBehavior behavior)
     :
     base(behavior)
 {
     TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
 }
Beispiel #3
0
 /// <summary>
 ///   Initializes a new instance of the CurrencyBehavior class by copying it from
 ///   another CurrencyBehavior object. </summary>
 /// <param name="behavior">
 ///   The CurrencyBehavior 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 CurrencyBehavior(CurrencyBehavior behavior)
     :
     base(behavior)
 {
 }