Wrox Programmer Forums
|
All Other Wrox Books Do you have a question about a Wrox book that isn't listed anywhere on p2p.wrox.com or where the forum is locked? Here's a forum to post questions about any other Wrox book so that other readers or one of the authors can help you with your questions. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the All Other Wrox Books 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
  #1 (permalink)  
Old October 18th, 2004, 08:21 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega
Default Professional C# _Click event

This is actually more of a VS.NET 2003 question but I could not find an appropriate forum.
I hope you can clarify this:
In the appendix C in Pro C# says that in C# you don't set an event for a button via cmdSomeButton_Click() as in VB, but in C# we supply an eventhandler as the button attribute. But why does VS.NET automatically create a cmdSomeButton_Click(object sender, System.EventArgs e). Is it assuming that programmers come with a VB background? Is there anyway to change this scheme??
It threw me off for quite some time and as I have never used VS.NET before I (wrongly) assumed that the book was wrong.
Thanks

 - mega
__________________
- mega
Aspiring JavaScript Ninja





Similar Threads
Thread Thread Starter Forum Replies Last Post
Event - Sender & Event args dash dev C# 2005 9 December 9th, 2007 07:24 AM
Professional PHP4 agarios All Other Wrox Books 6 January 14th, 2005 02:50 PM
About Button event and Keydown event zhangxujun1981 XSLT 1 March 6th, 2004 04:59 AM
how to override an event with an event? blah VB.NET 2002/2003 Basics 5 November 13th, 2003 03:06 PM
Professional C# rajivthakur Wrox Book Feedback 0 November 5th, 2003 07:05 PM





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