private void Digit_OnUnfocused(object sender, FocusEventArgs e) { if (!string.IsNullOrEmpty(Digit.Text)) { UnitEmission.Focus(); } }
public bool IsValid() { return(IsValidDefaultValues() && Number.IsInt() && !string.IsNullOrEmpty(Digit) && UnitEmission.IsInt()); }
public bool CtrcIsValid() { return(Number.IsInt() && !string.IsNullOrEmpty(Digit) && UnitEmission.IsInt()); }
private void Digit_OnUnfocused(object sender, FocusEventArgs e) { UnitEmission.Focus(); }
public bool IsValid() { return(Number.IsInt() && !string.IsNullOrEmpty(Digit) && UnitEmission.IsInt() && Pack.IsInt() && Pack.ToInt() > 0 && Pack.ToInt() <= PackAmount.ToInt()); }