Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > BOOK: Beginning Visual C# 2010
|
BOOK: Beginning Visual C# 2010
This is the forum to discuss the Wrox book Beginning Visual C# 2010 by Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, ; ISBN: 9780470502266
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# 2010 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 December 3rd, 2011, 11:30 AM
Authorized User
 
Join Date: Nov 2011
Posts: 34
Thanks: 14
Thanked 0 Times in 0 Posts
Default Chaper 16\Toolbars\form1.cs pages 507-508

boldToolStripMenuItem.CheckedChanged -= new EventHandler(BoldToolStipButton_CheckedChanged);


boldToolStripMenuItem.CheckedChanged += new EventHandler(BoldToolStipButton_CheckedChanged);

why we use "-","+" ?
 
Old December 3rd, 2011, 12:12 PM
Authorized User
 
Join Date: Nov 2011
Posts: 34
Thanks: 14
Thanked 0 Times in 0 Posts
Default

Sorry,false alert,i didn't read description in page 508
"-" removes event handler and "+" adds one.This is necessary to ensure that event is not triggerd when next line runs.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 14 page 508 step 10 possible error oruckenan BOOK: Beginning ASP.NET 4 : in C# and VB 3 July 27th, 2011 12:10 PM
Chaper 8 sample code delblanco BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 3 February 14th, 2010 01:28 AM
Chaper 8 enum Direction VistaFTW BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 April 5th, 2009 11:47 PM
loading pages with custom size, toolbars etc dunc Javascript How-To 6 August 18th, 2004 04:37 PM





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