Which one is better in windows desktop apps . Forms vs user control . Panels or tabcontrol ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Which one is better in windows desktop apps . Forms vs user control . Panels or tabcontrol ?

what is the best way to create a windows app interface . i was working with forms but it takes alot of time i must instaniate a form every time i need it. i worked with panels but its to hard to switch between them while creating the interface .especially when you have a lot of panels . i also worked with tab control and i made the height and widht of header = 0 and i switch between them with code . now i am trying user control . what are the best controls to use while creating your interface ?thanks

3rd May 2017, 12:14 PM
zakaria kasmi
zakaria kasmi - avatar
2 Answers
+ 2
@keshave Jat i mean what are the best controls i must use to create my interace ? shold i use tabcontrol or user controls or forms or panels , i want to creat one interface that includs multiple interfaces and switch between them .
3rd May 2017, 12:27 PM
zakaria kasmi
zakaria kasmi - avatar
+ 1
as I know, there are two ui platforms shiped with VStudio are win forms and WPF. there are also third party libraries available like gtk and gtk+. but i didn't understand your question correctly what you are asking for and panel are container control in winform and also available in WPF
3rd May 2017, 12:21 PM
Keshave Jat
Keshave Jat - avatar