/// <summary>
 ///     值改变
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void cLookUp_EditValueChanged(object sender, EventArgs e)
 {
     if (ListIsValid == null)
     {
         return;
     }
     _Current = EditValue == null
            ? null
            : ListIsValid.Find(model => model.TrainDateID == Convert.ToInt32(EditValue));
 }
Exemple #2
0
 void gv_Service_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e)
 {
     this.currentService = (Traindate)gv_TrainDate.GetFocusedRow();
 }