OnConnect Event
Occurs when the Connect method is called and the StartFilename is loaded.
See also Connect method and OnConnectionFail and OnDisconnect events.