It's pretty simple really:
Then to access it later, you do:Code:Dim TP As New Windows.Forms.TabPage TP.Tag = New Dictionary(Of Integer, Integer)
The Tag property is just an object reference - you can assign anything to it you want.Code:Dim Dict As Dictionary(Of Integer, Integer) Dict = CType(TP.Tag, Dictionary(Of Integer, Integer))





Reply With Quote