Public Class MyClass Public Sub DisplayCurrentMessages() Dim mylogdisplay As New MachineLogForm mylogdisplay.ShowDialog() End Sub 'do some work here on data displayed in mylogdisplay Public Sub AnotherFunction End Sub
Imports System.Windows.Forms Public Class MachineLogForm Private Sub pbClearAll_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pbClearAll.Click ''''at this point i want to call AnotherFunction from the instance of the '''' class that opened this instance of the form '??????????????????????????????????????????????????????? End Sub End Class
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)