Hi Everyone,
I am using C# 2005 building a Windows Form application.
I am trying to build an interface to a multimeter. I have several GroupBoxes which contain switch controls to set the required range for, say DC Volts or AC Volts.
The code for all this is long winded, but is not causing me a problem.
What is causing the problem is that I need to have all the groupBoxes occupying the same space on the form and hide and show them depending upon whether, say, the DC Volts or AC Volts or what ever function is selected.
With the GroupBoxes occupying different areas of the form, my hide and show code works fine. However, as soon as I overlay one GroupBox with another one, the visiblilty control for each GroupBox stops working and the 'bottom' GroupBox appears to control the visibility of all the other GroupBoxes.
I have tried this on a simply test program and see exactly the same problem.
I can see what is happening in FORM.DESIGNER.CS. However, I really don't want to have to work through this and recode everything by hand. Is there any way to stop this happening
Many thanks for your time
John822179
Live long, prosper and understand C#