//
        // Called on period change.
        private void RefreshICHStewardshipNumberList(object sender, EventArgs e)
        {
            if ((cmbReportPeriod.SelectedIndex > -1) && (cmbYearEnding.SelectedIndex > -1))
            {
                DateTime YearEnding;

                if (DateTime.TryParse(cmbYearEnding.GetSelectedDescription(), out YearEnding))
                {
                    DateTime YearStart = TRemote.MFinance.GL.WebConnectors.DecrementYear(YearEnding).AddDays(1);

                    TFinanceControls.InitialiseICHStewardshipList(ref cmbICHNumber, FLedgerNumber,
                                                                  cmbReportPeriod.GetSelectedInt32(),
                                                                  YearStart.ToShortDateString(),
                                                                  YearEnding.ToShortDateString());
                }
                else
                {
                    TFinanceControls.InitialiseICHStewardshipList(ref cmbICHNumber, FLedgerNumber,
                                                                  cmbReportPeriod.GetSelectedInt32(),
                                                                  null,
                                                                  null);
                }

                cmbICHNumber.SelectedIndex = 0;
            }
        }
        //
        // Called on period change.
        private void RefreshICHStewardshipNumberList(object sender, EventArgs e)
        {
            if ((cmbReportPeriod.SelectedIndex > -1) && (cmbYearEnding.SelectedIndex > -1))
            {
                Int32 accountingYear = cmbYearEnding.GetSelectedInt32();
                TFinanceControls.InitialiseICHStewardshipList(
                    cmbICHNumber, FLedgerNumber,
                    cmbYearEnding.GetSelectedInt32(),
                    cmbReportPeriod.GetSelectedInt32());

                cmbICHNumber.SelectedIndex = 0;
            }
        }