Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
protected bool DataOk() { // check date if (rddpInvoiceDate.SelectedDate == null) { lblMessage.Text = Resources.GeneralResource.DateNeeded; return(false); } // check if there're invoices with older date if (inv == null) { if (!CntAriCli.CorrectInvoiceDate((DateTime)rddpInvoiceDate.SelectedDate, ctx)) { lblMessage.Text = Resources.GeneralResource.IncorrectInvoiceDate; return(false); } } return(true); }