Exemplo n.º 1
0
 private void clearDuplicateButton_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewImageCell selectedCell in imagesGridView.SelectedCells)
     {
         var data = _dataGridViewService.GetActiveCellData(selectedCell);
         if (data != null)
         {
             data.IsDuplicate = 0;
             _controller.SetDuplicateValue(data.Id, false);
             _dataGridViewService.SetNotDuplicateDisplay(selectedCell);
             Messaging.Talk($"{data.ImagePath} not a dulplicate");
         }
     }
 }