Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tony Johansson - 25 Mar 2008 19:13 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.