コード例 #1
0
        /// <summary>
        /// Responsible to build and assign header information on Year and month
        /// </summary>
        private void BuildHeaderYearMonthInfo()
        {
            var year  = IndicatorDateOfMonth.Year.ToString();
            var month = IndicatorDateOfMonth.ToString("MMMM", CultureInfo.InvariantCulture);

            StringBuilder yearMonthInfo = new StringBuilder(year);

            yearMonthInfo.Append(" / ");
            yearMonthInfo.Append(month);
            YearMonthInfo = yearMonthInfo.ToString();
        }
コード例 #2
0
 /// <summary>
 /// Responsible to handle the logic to be executed when user tries to move forward a month
 /// </summary>
 private void MoveWeekForwardCommandHandler()
 {
     IndicatorDateOfMonth = IndicatorDateOfMonth.AddMonths(+1);
     SetupUiDateInfo();
 }