thankx for helping me with windows formborderstyle.i have implemented it and its working perfectly allright.
I have a new Problem which is mentioned below.
I have designed a custom control having a text box , a button and a listview control.
I want to create a property say 'behaviour 'property.This behaviour property can take either of the 2 values "TextBox" or "combobox". when user selects "textbox" only the textbox control in the custom control is visible else all 3 controls in custom control are visible.