private bool PerformValidation() { bool result = true; string message; message = AddFunc.CheckControlTextBoxStringEmpty(txtPackageNames); if (message != string.Empty) { AddFunc.MsgError(message); result = false; } message = AddFunc.CheckNumericZero(nmrPrice); if (message != string.Empty) { AddFunc.MsgError(message); result = false; } return(result); }