In my code, I have a button (OK) that has code:
Private Sub cmdOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdOK.Click
In another spot, I have an icon shortcut as well as a keypress that should trigger this code - but unlike in VB6, I can't just say Call cmdOK_click
It seems to want arguments... However, I don't know what sender or e really are. I found that if I use
Call cmdOK_Click("", e)
it accepts "" for sender, but I can't find any null-type expression to replace e with, (0, "", '', null, etc)
What do I need to do to trigger a _click event from another sub?