Merge remote-tracking branch 'gitlab.seriate/Renzo' into feature/total_rebuild

This commit is contained in:
Emmanuele Sassi
2021-06-29 11:43:26 +02:00
10 changed files with 202 additions and 15 deletions
@@ -274,7 +274,9 @@ Public Class OpenProjectFileDialogVM
MessageBox.Show(EgtMsg(61873), EgtMsg(30009), MessageBoxButton.OK, MessageBoxImage.Warning)
Return
End If
' cancello progetto da Db
Map.refProjManagerVM.m_MruFiles.Remove(SelProject.sProjPath)
Map.refProjManagerVM.NotifyPropertyChanged(NameOf(Map.refProjManagerVM.MruFileNames))
' cancello progetto
DbControllers.m_ProjController.DeleteProj(SelProject.nProjId)
' cancello cartella del Proj
Try
@@ -300,6 +302,8 @@ Public Class OpenProjectFileDialogVM
MessageBox.Show(EgtMsg(61874), EgtMsg(30009), MessageBoxButton.OK, MessageBoxImage.Warning)
Return
End If
Map.refProdManagerVM.m_MruFiles.Remove(SelProject.sProdPath)
Map.refProdManagerVM.NotifyPropertyChanged(NameOf(Map.refProdManagerVM.MruFileNames))
' cancello progetto
DbControllers.m_ProdController.DeleteProd(SelProject.nProdId)
' riporto prod in proj