Example #1
0
        private void tableAI_BeginningEdit(object sender, DataGridBeginningEditEventArgs e)
        {
            CT2ListAI cT2ListAI = (CT2ListAI)e.Row.DataContext;

            cT2ListAI.eSearchSM = CT2List.ESearchStateMachine.Update;
            //cT2ListAI.eSearchSM = CT2List.ESearchStateMachine.Idle;
        }
Example #2
0
 private void tableAI_UnLoadingRow(object sender, DataGridRowEventArgs e)
 {
     try
     {
         CT2ListAI cT2ListAI = (CT2ListAI)e.Row.DataContext;
         cT2ListAI.eSearchSM = CT2List.ESearchStateMachine.Idle;
     }
     catch (Exception)
     {
         //进入exception,说明已经下拉到底了
     }
 }
Example #3
0
        private void tableAI_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e)
        {
            CT2ListAI cT2ListAI = (CT2ListAI)e.Row.DataContext;

            cT2ListAI.eSearchSM = CT2List.ESearchStateMachine.Deupdate;
        }