Inherits a User Control

  • Thread starter Thread starter Norton
  • Start date Start date
N

Norton

Hi All,

I want to create 2 set of user controls.
The datasource and their properties is exactly the same, but each control
have different User Interface to display data
(one is bind with combo box and one is bind with list box)

I am trying to write an abstract class name myUserControl (which is inherits
System.Windows.Forms.UserControl) and let the two user controls to inherits
myUserControl

And the problem comes after i doing that, i cannot use Vs.Net 's design
view to drag the UI into the user control

What should i do ?

Thx for your kindest help

Regards,
norton
 
Any controls you create will appear on the My User Controls Tab of the
toolbox once you compile the project. Is it that your control does not
appear, or is it that Drag and Drop does not initiate, or is it that Drop is
disallowed?

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me

Time flies when you don't know what you're doing
 
Back
Top