Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 24th, 2003, 04:51 AM
Registered User
 
Join Date: Sep 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TaLz
Default what happens when u press on a button?

hello,
i'm buliding a server in C#,
i have severel threads...one for accepting connections and another for a user interface..
i wanted to ask what happens when pressing a button (windows application)..does a new thread open or is an interrupt created?

 
Old September 24th, 2003, 10:57 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

When you press a button in a windows form, the button's onClick event is fired. If there is a handler for that button, that handler gets called. Otherwise, not much else happens.

Peter
 
Old September 24th, 2003, 12:28 PM
Registered User
 
Join Date: Sep 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TaLz
Default

yes..that i understand but i wnated to know...when an event is started...is it a new thread or an interrupt?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Press delete on keyboard qiux General .NET 1 April 9th, 2008 02:38 AM
Simulating a key press with c++ Bourne C++ Programming 2 April 13th, 2007 02:03 PM
keydown/press r.parolari BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 March 17th, 2006 09:34 AM
How to reference keyboard press to visual button ? Necromancer26 C# 2 September 29th, 2003 03:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.