Hello!
Here is an easy question I just wonder if it's possible to say that a Form
is a control like TextBox for example.
//Tony
Peter Duniho - 25 Mar 2008 19:18 GMT
> Here is an easy question I just wonder if it's possible to say that a
> Form
> is a control like TextBox for example.
It's hard to say in a newsgroup. But I can write it: "a Form is a control
like a TextBox for example".
I did say it out loud here, but I'm not sure that's helpful.
Or is that not what you meant? :)
The Form class does inherit Control, and as such it can be used as a
Control in a variety of ways. If there's something specific you had in
mind, maybe you could elaborate on that.
Pete
.\\axxx - 26 Mar 2008 00:27 GMT
On Mar 26, 4:13 am, "Tony Johansson" <johansson.anders...@telia.com>
wrote:
> Hello!
>
> Here is an easy question I just wonder if it's possible to say that a Form
> is a control like TextBox for example.
>
> //Tony
What you probably want (it's difficult to tell from your question) is
a user control - create a new user control, move all of your form
controls and code onto the user control - then you can use the user
control just like any other control (like TextBox for example).
What you don't want is sarcastic replies.