예제 #1
0
 private void ItemsGridView_CellValueChanged(object sender, DevExpress.XtraGrid.Views.Base.CellValueChangedEventArgs e)
 {
     if (ItemsGridView.GetRow(e.RowHandle) is APRDetails item)
     {
         item.TotalAmount = (item.Quantity ?? 1) * (item.Cost ?? 0);
     }
 }