Question
hello,i’m working gtp.net and i’ve got a problem….when using datasource.
how can i implement OnBeforeDSToTimeItem????
i’m working with VB (not C#).
I would like to change,color,timeitemtext,
Answer
Add a method with this signature:
Private
Sub Form2_OnBeforeDSToTimeItem(ByVal aTimeItemDataConnect As TimeItemDataConnect, ByVal args As TimeItemAndDSArgs)
Then you bind to this method like this:
AddHandler gr.Layers(0).EnsuredTimeItemDataConnect().OnBeforeDSToTimeItem, AddressOf Form2_OnBeforeDSToTimeItem