void Init() { DateTime prevMonth = DateTime.Today.AddMonths(-1); year.Value = prevMonth.Year; month.EditValue = prevMonth.Month; ccb发放单位.Properties.Items.Clear(); foreach (string company in PsHelper.GetCompanyList()) { ImageComboBoxItem item = new ImageComboBoxItem((string)company, (string)company); ccb发放单位.Properties.Items.Add(item); } }