I'm trying to call or invoke the following sub routine from a form_load event (or any other sub routine):
Public Sub TabControl1_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles TabControl1.DrawItem
I've tried Public sub, and private sub
I also added:
to top of form.
I get this error:
argument not specified for parameter 'e' of 'Public Sub TabControl1_DrawItem(sender As Object, e As System.Windows.Forms.DrawItemEventArgs)'.
Does it need to be in its own class? Do I need to pass an argument? If so, how?
any help is appreciated!