EgtDOORCreator 2.2e1 :

-> gestione del campo "IsActive = 4" (disabilito il capitolo),
-> gestione della visualizzazione (IsActive) del capitolo in funzione del materiale.
This commit is contained in:
Nicola Pievani
2020-05-29 16:57:04 +00:00
parent 40c5eb4e0b
commit cbc1a1835a
8 changed files with 387 additions and 86 deletions
+10 -1
View File
@@ -150,6 +150,7 @@ Friend Module OptionModule
Friend ColorLoadByDefault As String = "Red"
Friend ColorErrorAndMissing As String = "Red"
Friend ColorModifyingParamRef As String = "Yellow"
Friend ColorDisableChapter As String = "Gray"
Friend m_CompoPaneOrder As List(Of String) = New List(Of String)
@@ -488,7 +489,7 @@ Friend Module OptionModule
Catch ex As Exception
End Try
End If
DefaultGetPrivateProfileString("Error", "MissingParameter", "Orange", sColor)
DefaultGetPrivateProfileString("Error", "MissingParameter", "Purple", sColor)
If Not String.IsNullOrEmpty(sColor) Then
Try
ColorConvert = DirectCast(New BrushConverter().ConvertFrom(sColor), SolidColorBrush)
@@ -520,6 +521,14 @@ Friend Module OptionModule
Catch ex As Exception
End Try
End If
DefaultGetPrivateProfileString("Error", "DisableChapter", "Gray", sColor)
If Not String.IsNullOrEmpty(sColor) Then
Try
ColorConvert = DirectCast(New BrushConverter().ConvertFrom(sColor), SolidColorBrush)
ColorDisableChapter = sColor
Catch ex As Exception
End Try
End If
'-----------------------------------------------------------------------------------------------------------------
' SIZE JAMB
Dim ThicknessHead As String = String.Empty