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:
@@ -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
|
||||
|
||||
@@ -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")>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user