jj 16.03 hints
This commit is contained in:
@@ -28,4 +28,18 @@
|
||||
Cache.Clear()
|
||||
End Sub
|
||||
|
||||
' =========================================================================================
|
||||
|
||||
Private Shared Property HintCache As New Dictionary(Of Integer, String)
|
||||
Public Shared Function LoadHint(controlId As Integer) As String
|
||||
If HintCache.ContainsKey(controlId) Then
|
||||
Return HintCache.Item(controlId)
|
||||
Else
|
||||
Return Nothing
|
||||
End If
|
||||
End Function
|
||||
|
||||
Public Shared Sub SaveHint(controlId As Integer, hint As String)
|
||||
HintCache.Item(controlId) = hint
|
||||
End Sub
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user