| |
|
| |
How to Use An Abstract Form with the DesignerExplains some oddities with the Visual Studio designer and abstract forms. Short answerYou can't. Best you can do is make the methods virtual and throw exceptions when they're called.Medium-Length AnswerWhy can't you? The form designer needs to load the base form and if the base class is abstract, the form designer would not be able to do so. Since the form designer uses reflection to load the base class, you can't do it.You would encounter similar problem if you have any runtime code in the constructor of the base class. If you shift the call from the base class constructor to derived class, it would work fine. Long AnswerSee here for a longer, more detailed explanation. | |
|
All content copyright 1996-2008 by Linda Naughton O'Meara unless otherwise noted.
Shadowrun is a copyright and trademark of WizKids, LLC.
Earthdawn is a copyright and trademark of FASA Corporation.
Crimson Skies is a copyright and trademark of Microsoft Corporation.
Babylon 5 is a copyright and trademark of Time Warner Entertainment.
Battlestar Galactica is a copyright of Sci Fi / Universal.
Any use of characters, names, places, etc. from these systems is done with the greatest respect for their creators, and is not intended as a challenge to any copyrights or trademarks.
| |