private void FormReferenceEdit_Load(object sender, EventArgs e) { textCustomer.Text = CustReferences.GetCustNameFL(CustRefEntryCur.PatNumCust); textReferredTo.Text = CustReferences.GetCustNameFL(CustRefEntryCur.PatNumRef); if (CustRefEntryCur.DateEntry.Year > 1880) { textDateEntry.Text = CustRefEntryCur.DateEntry.ToShortDateString(); } textNote.Text = CustRefEntryCur.Note; }
private void FormReferenceEdit_Load(object sender, EventArgs e) { textName.Text = CustReferences.GetCustNameFL(RefCur.PatNum); textNote.Text = RefCur.Note; checkBadRef.Checked = RefCur.IsBadRef; if (RefCur.DateMostRecent.Year > 1880) { textRecentDate.Text = RefCur.DateMostRecent.ToShortDateString(); } FillMain(); }