/// <summary> /// 值改变 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void cLookUp_EditValueChanged(object sender, EventArgs e) { if (ListIsValid == null) { return; } CurrentCoach = EditValue == null ? null : ListIsValid.Find(model => model.CoachID == Convert.ToInt32(EditValue)); }
/// <summary> /// 值改变 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void cLookUp_EditValueChanged(object sender, EventArgs e) { if (ListIsValid == null) { return; } selSource = EditValue == null ? null : ListIsValid.Find(model => model.Codes == EditValue); }