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