LicenceManager 2.1e5 :

- Correzione sulla TextBox Note, che riaprendo una seconda volta (e successive) la pagina NewKey o NewLicence scompariva, perché LineCount=0. Ora rimane presente.
This commit is contained in:
Renzo Lanza
2019-05-15 07:32:21 +00:00
parent a3f38fbb99
commit 26df70338a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
textBoxNote.Height = originalTextBoxHeight * textBoxNote.LineCount
numberOfLines = textBoxNote.LineCount
End If
If (numberOfLines > textBoxNote.LineCount) Then
If (numberOfLines > textBoxNote.LineCount) And Not textBoxNote.LineCount = 0 Then
textBoxNote.Height = textBoxNote.Height - (originalTextBoxHeight * (numberOfLines - textBoxNote.LineCount))
numberOfLines = textBoxNote.LineCount
End If
+2 -2
View File
@@ -59,5 +59,5 @@ Imports System.Windows
' usando l'asterisco '*' come illustrato di seguito:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("2.1.5.4")>
<Assembly: AssemblyFileVersion("2.1.5.4")>
<Assembly: AssemblyVersion("2.1.5.5")>
<Assembly: AssemblyFileVersion("2.1.5.5")>
+1 -1
View File
@@ -11,7 +11,7 @@
textBoxNote.Height = originalTextBoxHeight * textBoxNote.LineCount
numberOfLines = textBoxNote.LineCount
End If
If (numberOfLines > textBoxNote.LineCount) Then
If (numberOfLines > textBoxNote.LineCount) And Not textBoxNote.LineCount = 0 Then
textBoxNote.Height = textBoxNote.Height - (originalTextBoxHeight * (numberOfLines - textBoxNote.LineCount))
numberOfLines = textBoxNote.LineCount
End If