Your MenuItem Click might not be hooked up correctly for instance, the Handles... clause might refer to an older name or it might simply be disabled. If the event is not firing, it is a menu thing. Try creating a new menu entry for the code.
EDIT
If the event is not firing it is likely because a) the menu item is not enabled (PERHAPS) it gets disabled in code, b) it lacks a HANDLER which seems not to be the case or C) something ELSE has that handler attached or D) the wrong form is referenced
EDIT EDIT
Ok, so we have multiple MDI forms. Based on the AddToolStripMenuItem, this is how it should look:
Private Sub ManageCalculationsToolStripMenuItem_Click(sender As Object, _
e As EventArgs) Handles ManageCalculationsToolStripMenuItem.Click
frmClientConfig.Panel_Manage_Calculations.Show()
End Sub
Criteria is the form name (Class), the instance name is frmClientConfig
. You will need to rework how this form is handled:
private frmClientConfig As Criteria ' at the top of the MDI parent
In the menu Add click:
frmClientConfig = New Criteria
frmClientConfig.MdiParent = Me
frmClientConfig.Show()
this is needed so that the menu click will know what a frmClientConfig
is. The problem was that you were issuing the Show
to the class not the instance (which seems like it should throw an error). BEWARE of where NEW
is supposed to be used!