private bool IsValidData() { return // Validate Customer, antenna, Job and # of Serials to issue boxes (Validators.IsPresentMask(maskedJobNumber) && Validators.IsPresentCombo(editcomboBoxCustomer) && Validators.IsPresentCombo(editcomboAntenna)); }
// Check if data is valid // Validate Customer, antenna, Job and # of Serials to issue boxes private bool IsValidData() { return (Validators.IsPresentMask(maskedSerial) && Validators.IsPresentCombo(comboCustomer) && Validators.IsPresentCombo(comboAntenna) && Validators.IsPresent(txtCount) && Validators.IsInt32(txtCount) && Validators.IsPresentMask(maskedJobNumber)); }