private void cbWelfareID_SelectionChanged(object sender, SelectionChangedEventArgs e)//根据福利项目查询出具体的公司 { if (txtCompanyObject.Text != null && txtCompanyObject.Text != string.Empty && StartTime.Text != null && StartTime.Text != string.Empty) { DateTime releaseTime = Convert.ToDateTime(StartTime.Text); BenefitsAdministration.GetBenefitsDetailsAdministrationAsync(cbWelfareID.SelectedIndex.ToString(), welfare.COMPANYID, releaseTime, Utility.GetCheckState(CheckStates.Approved)); } }