R
Richard Carpenter
I have added a Windows Forms Control Library project to my solution and
created a form control (let's call it libForm) in this new project which
inherits from System.Windows.Forms.Form. I set the Text property of this
form to the name of the application ("MyApp"). When the control library is
built and a reference added to the main project, I am able to inherit from
libForm in my main project, but the Text property on these new forms remains
the default. I have two questions:
1) Should I not expect the Text property value to be inherited from the
libForm control class?
2) With most Windows control types (textbox, label, etc.) they can be added
to the toolbox. I assume that the conventional method for implementing a
custom form class is just through the inherits statement. Is that correct?
created a form control (let's call it libForm) in this new project which
inherits from System.Windows.Forms.Form. I set the Text property of this
form to the name of the application ("MyApp"). When the control library is
built and a reference added to the main project, I am able to inherit from
libForm in my main project, but the Text property on these new forms remains
the default. I have two questions:
1) Should I not expect the Text property value to be inherited from the
libForm control class?
2) With most Windows control types (textbox, label, etc.) they can be added
to the toolbox. I assume that the conventional method for implementing a
custom form class is just through the inherits statement. Is that correct?