public bool Del(int EditID) { string IsSupplementReceipt = BI.IsSupplementReceipt(EditID); if ((IsSupplementReceipt == "Y") || (IsSupplementReceipt == "N" && BI.DontExistSupplementReceipt(EditID))) { BI.DeleteReceiptInfoByID(EditID); return(true); } else { return(false); } }