How can I switch between functions inside one form? For example when I click button colors I want to display picturebox with resistor colors,when I click button resistance I want to show textbox for input value...
There is no "switching between functions". If you have two Buttons then you simply create handlers for the Click event of each one. Those event handlers are methods and you'll be executing a different one depending on which Button you click. If what you're saying is that you want to hide the TextBox and show the PictureBox when you click one Button and hide the PictureBox and show the TextBox when you click the other Button then that's exactly what you do.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.