>Instead of opening a new thread, I will just add my questions to this one. I know I will probably be asking a lot of questions so it is better not to overburden the UT.
>
>In the Win.NET world, what do you use as Shape in VFP? I use Shape in VFP just to surround a few controls with a nice rectangular box. I want to do the same in Win.NET.
>
>Thank you.
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