DesktopHelper.UI.CalendarForm.InitCondition C# (CSharp) Method

InitCondition() private method

private InitCondition ( ) : void
return void
        private void InitCondition()
        {
            try
            {
                string[] strYear = { "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020",
                                 "2021","2022","2023","2024","2025","2026","2027","2028","2029","2030"};
                string[] strMonth = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" };
                comboBoxYear.Items.AddRange(strYear);
                comboBoxMonth.Items.AddRange(strMonth);
            }
            catch (Exception ex)
            {
                log.WriteLog(ex.ToString());
            }
        }