What is the most "lightweight" winforms control? -


(This is probably a dumb question and a WTF is combined, but nothing here goes)

I want to have a 'draw' line or areas in my interface - usually a separator inside a TableLayoutPanel. What I currently do is just dump a panel in the line and sets it to fill the doc = and gives it the necessary background color.

Before doing so, I thought that another control (label?) Could be more lightweight or maybe I should just take my role to be deprived of control?

Any other solution?

I will inherit from control and label And panels with all the controls directly or indirectly from control . It also allows you to incorporate different functionality from others.

I also think that you can override Paint for your TableLayoutPanel , or from it, create it yourself and create lines.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -