I didn't try yet but I wonder if I could do something to force users to us
the parameterized constructor? Like check in the parameterless one to see if
it's in "Design" mode?
Word definitions: Is it true that parameters are used when a method is
defined and arguments are supplied in the call?
Also is Int32 used more commonly than Integer? Or do they each have a
purpose?
Thanks
" SamSpade" <st**************@REMOVEaol.com> wrote in message
news:Ov**************@TK2MSFTNGP12.phx.gbl...
I thought that's what I did last time. Sometimes just knowing it should
work helps. I'll try again.
Thanks
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:c2*************@ID-208219.news.uni-berlin.de... * " SamSpade" <st**************@REMOVEaol.com> scripsit: A while ago I tried to use arguments in usercontrol constructors but
the designer didn't like it so I worked around not using them.
However the code would be much cleaner if I could use arguments.
Is there some way that people use both the designer and arguments?
You can define parameterless and parameterized ctors, the designer will
use the parameterless ctor.
--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>