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(); } }
public static bool IsEmpty(FiscalCode s) { return(String.IsNullOrEmpty(s.text)); }
public static bool Equals(FiscalCode sBox1, FiscalCode sBox2) { return(sBox1.text.Equals(sBox2.text)); }