Ejemplo n.º 1
0
            public FiscalCodeControl(FiscalCode field)
                : base()
            {
                father         = field;
                this.ID        = String.IsNullOrEmpty(father.Name) ? "_fiscalCode" : father.Name;
                this.MaxLength = 16;

                // for rollback..
                if (father.text != null)
                {
                    this.Text = father.text.ToUpper();
                }
            }
Ejemplo n.º 2
0
 public static bool IsEmpty(FiscalCode s)
 {
     return(String.IsNullOrEmpty(s.text));
 }
Ejemplo n.º 3
0
 public static bool Equals(FiscalCode sBox1, FiscalCode sBox2)
 {
     return(sBox1.text.Equals(sBox2.text));
 }