Shape & Line control

  • Thread starter Thread starter kids
  • Start date Start date
K

kids

Hi there,

I want to create user control like Line, Shape (Rectangle).
Which base control is best to inherite or do I need to create it from
scratch?

Please advince.
Kids
 
Hi,

You should create a custom control inherited from the Control class.
This is recommended by Microsoft for controls that have custom appearance,
as opposed to modying the behaviour of a standard control or to grouping
several controls to a single one providing an added value and reusability.
 
Back
Top