General information
Title:
Inheriting from a base form (C#)
HI,
I am trying to inherit from my base form class. I added an ihnerited form to my project. The problem is that I cannot set the startup object into the project properties. I do not have a combo available in order to pick a form.
I tried to setup a main() method into the form but when I try to run it, VC# tells me :
"File or assembly name MyBaseForm, or one of its dependencies, was not found."
Usually, when I create a regular windows form app, I do not have to add the Main method and the project runs just fine. Do I need to add a Main method into the base form (applcation.run...)?
Thank you for your help,
Christian
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only