J
jedirunner
I'm writing my first custom control in VS.Net 2003 (will port to 2005
soon). It will be a textbox control with custom painting.
My first question is what control to inherit from? I can't find
S.W.F.UserControl for .Net CF. That leaves the following (that I
can find) as possible base classes:
- Control
- ContainerControl
- ScrollableControl
- Panel
Given that my control will contain a toolbar, 2 scrollbars, and a
custom text area (That's the meat of this custom control), which one
should I use? Given that I also want to better understand they
choices, why should I pick a particular parent class for this
situation?
Thanks!
soon). It will be a textbox control with custom painting.
My first question is what control to inherit from? I can't find
S.W.F.UserControl for .Net CF. That leaves the following (that I
can find) as possible base classes:
- Control
- ContainerControl
- ScrollableControl
- Panel
Given that my control will contain a toolbar, 2 scrollbars, and a
custom text area (That's the meat of this custom control), which one
should I use? Given that I also want to better understand they
choices, why should I pick a particular parent class for this
situation?
Thanks!