General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2008 Server
>>I have a custom base class form that I use for all the forms in my app. Several custom properties exist in the base class, and then I may add a few more properties in each instance of the form when I use it.
>>
>>What will happen if I go back and add those other properties to my base class, but yet it will already exist in certain forms that I have already made based on that class and then added the new properties to them?
>
>I think it's going to work fine. The new properties will not be in bold anymore.
What about the values? Say my form-specific value was set to 1, but I make the default value of the base class be 0. Will the 1 still be honored?
Also, what about methods? I have begun to add a certain method and code in to almost every form, so now I want to go back and stub in the method name in the base class, but it will not have any code. Do you think this mess up the existing method code in the forms?
I did not realise I was going to want it everywhere, but now I see that I do. The code won't be in the baseclass, but I was hoping to get the method name there, with comments, without losing all the method code I have already placed in the forms.
Previous
Next
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