Esempio n. 1
0
        }        // End btnSave_Click()

        /// <summary>
        /// CREATED BY: Matt Deaton
        /// DATE CREATED: 2020-04-07
        /// APPROVED BY: Steve Coonrod
        ///
        /// Method used for updating Home Check Date
        ///
        /// </summary>
        /// <remarks>
        /// UPDATED BY:
        /// UPDATED:
        /// CHANGE:
        /// </remarks>
        private void editHomeCheckDate()
        {
            DateTime oldDate = _applicant.HomeCheckDate.Value;
            DateTime newDate = DateTime.Parse(calHomeCheck.SelectedDate.Value.ToShortDateString());

            try
            {
                _applicantManager.EditHomeCheckDate(_applicant.ApplicantID, oldDate, newDate);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message + "\n\n" + ex.InnerException.Message);
            }
        }        // End editHomeCheckDate