Domanda

I am wondering what is the most efficient way to create a multi-panel interface for my C# application. The application will be broken up into areas of functionality and i want each interface to appear in a panel or something. What is the best way to achieve this?

enter image description here

  • The accordion on the left is where the user will navigate the different parts of the application.

  • As you can see it has 5 buttons (just an example of what i want). Each button will change the content of the panel on the right and change the ribbon control with the relevant buttons.

I'm sorry if this is a bit vague, i tried to explain it as best as i can.

Regards

È stato utile?

Soluzione

I would suggest to implement each interface as a UserControl and instantiate it dynamically. On your mainform you should provide a panel to display the control in. This way you can seperate different functionalities in different classes and have an easy way to display it.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top