Correct, although that is also a panel and thus changes form hierarchy and such, which may not be desired...
Markus
>Markus there is no shape but there is a GroupBox control that is exactly for that, it even have a caption on top.
>
>>There is no shape in WinForms (although there is in WPF). So in WinForms, you may have to create it yourself. Something like this would do:
>>
>>
public class Shape : Control
>>{
>> public override void OnPaint(PaintEventArgs e)
>> {
>> e.Graphics.DrawRectangle(this.ClientSize);
>> }
>>}
>>
>>The code may not be exactly right as I am just typing it in by heart, but you get the idea...
>>
>>Markus