Search Result

Collapse
2 results in 0.0029 seconds.
Keywords
Members
Tags
addhandler
  •  

  • cwthong
    started a topic Addhandler problem

    Addhandler problem

    Hi,

    I've this procedure

    Code:
    Private Sub ClientSocket_WriteCompleted(ByVal sender As Object, ByVal e As AsyncCompletedEventArgs)
    ...
    End Sub
    and I need to addhandler for it
    Code:
    Private Sub buttonConnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles buttonConnect.Click
    ........        
    ClientSocket = New SimpleClientTcpSocket()
    AddHandler ClientSocket.WriteCompleted,
    ...
    See more | Go to post

  • Infog
    started a topic "Outsourcing" Background worker creation

    "Outsourcing" Background worker creation

    I am trying to code a simple background workers class without needing to use the backgroundworke r object on a form. This would allow me to use a background worker in any class without writing much additional code. Is it possible to pass in the name of a sub at runtime instead of hard-coding it? To do this I would replace onDoWork and onProgressChang ed below and use (Byval onWorkSub as SomeKindOfObjec t?, Byval onProgressChang edSub as SomeKindOfObjec t?)...
    See more | Go to post
Working...