- modifica per far funzionara la ProgressBar anche con il calcolo dei solidi.
This commit is contained in:
DarioS
2023-04-24 15:35:11 +02:00
parent 21692af684
commit 2e81f09a85
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ Public Class MainWindowVM
End Sub
Private Function ProcessEvents(ByVal nProg As Integer, ByVal nPause As Integer) As Integer
If Map.refSliceManagerVM.bCalculating Then
If Map.refSliceManagerVM.bCalculating OrElse Map.refSliceManagerVM.bCalcSolid Then
Map.refSliceManagerVM.ProcessEvents(nProg, nPause)
End If
If Not IsNothing(Map.refImportLoadingWndVM) Then
+5
View File
@@ -44,6 +44,11 @@ Public Class SliceManagerVM
Private m_bCalcTFS As Boolean = False
Private m_bGenerate As Boolean = False
Private m_bCalcSolid As Boolean = False
Friend ReadOnly Property bCalcSolid As Boolean
Get
Return m_bCalcSolid
End Get
End Property
Friend Sub SetCalcSolid(value As Boolean)
m_bCalcSolid = value
End Sub