Michel,
As Martin pointed out, you have to code this.
>>To add properties, you do this in code inside of the class you want to add them to.
>>
>>
>>public int Width
>>{
>> get { return width; }
>> set
>> {
>> if (value > 0)
>> width = value;
>> else
>> throw new ArgumentOutOfRangeException("Width must be 1 or higher");
>> }
>>}
>>
>
>I've been trying to find how to do that with the Properties window on the right and no wonder why I didn't find it. So, am I understanding correclty that we cannot add a property such as we do in VFP by using the visual interface?
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi