One option is to pass the instance of the processlog form to all forms that may need to use it. Create the instance of the processlog form in the first form that needs to use the processlog form.
'frmMain
'someevent
Dim prclog as new ProcessLog
'Another Event
Dim frm as new frmpublish(prclog)
'frmpublish
Private prclog as ProcessLog
Public Sub New(byval frm as ProcessLog)
InitializeComponent()
prclopg = frm
End Sub
'some event that requires the processlog form -- Check to see if an instance of ProcessLog exists, if not create it
If prclog is nothing then
prclog = new Processlog
End if