i created a new form and added to my form few user controls and menu.
my menu contains numbers.
i created all my user controls in the forms constructor and changed their visibility to false.
my goal is to show the number of controls i picked in my menu.
i double clicked a number from the menu and by this created a function for the click in the form.
my problem is that the function does not recognize any of my controls when i try to make them visible.