C
Cyrus
why i cannot code a form as abstract in order for other form to inherite it
in C#?
thz
in C#?
thz
-----Original Message-----
I think you can *code* it, what you most likely cannot do is to use the
designer to create abstract forms. What's more, you can also have problems
with using designer to edit forms inherited from the abstract form (at least
this is true for components).
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
other form to inheriteCyrus said:why i cannot code a form as abstract in order for
itin C#?
thz
.
* "Cyrus said:why i cannot code a form as abstract in order for other form to inherite it
in C#?
Herfried K. Wagner said:You can actually define a form as abstract, but this will break the
compatibility with the Windows Forms designer. The Windows Forms
designer expects the form not to be abstract and to provide a
parameterless ctor.