Esempio n. 1
0
 private void fastAvailableGoodsReceiptDetails_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (this.fileName == null)
     {//WHEN IMPORT: DEFUALT IS MULTIPLE SELECTED
         FastObjectListView fastAvailableGoodsReceiptDetails = (FastObjectListView)sender;
         if (fastAvailableGoodsReceiptDetails != null && fastAvailableGoodsReceiptDetails.SelectedObject != null)
         {//CLEAR ALL CHECKED OBJECTS => THEN CHECK THE CURRENT SELECTED ROW
             GoodsReceiptDetailAvailable goodsReceiptDetailAvailable = (GoodsReceiptDetailAvailable)fastAvailableGoodsReceiptDetails.SelectedObject;
             if (goodsReceiptDetailAvailable != null)
             {
                 fastAvailableGoodsReceiptDetails.CheckedObjects = null; fastAvailableGoodsReceiptDetails.CheckObject(goodsReceiptDetailAvailable);
             }
         }
     }
 }