This should work in your class:
Public WithEvents f1 As Form1
Private Sub PNL_PROF_FID_Event() Handles f1.BTN_PROF_Details_Event
Trace.WriteLine("test")
End Sub
The Form1 form must be assigned to f1. (You can use Me if the object is created inside the Form1).