Rajesh,
>I have tried creating a container class of textbox and commandbutton but while design time the controls do not resize on form.
I have several container classes like this. They are designed to have a reasonable size that fits most situations. But they have code in the Init() method that goes through and resizes some and moves other controls to fit the size the container.
You could also just resize/move the objects on the form at design time.