protected virtual void OnNipped(NippedEventArgs e) { var handler = Nipped; if (handler != null) { handler(this, e); } }
void OnEntryTextChanged(object sender, NippedEventArgs args) { int tmp = 0; if (args.nip.Length == 4) { if (int.TryParse(args.nip, out tmp)) { IsValid = true; } else { IsValid = false; } } else { IsValid = false; } }