private void deleteData(object indexList)
 {
     _workManager.Delete((List <string>)indexList);
     _workManager.Delete1((List <string>)indexList);
     deleteRow((List <string>)indexList);
     setControl(false);
 }