Microsoft® Visual C# 2005 Unleashed Copyright © 2006 by Sams Publishing All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein. Library of Congress Catalog Card Number: 2006901231 Printed in the United States of America First Printing: May 2006 09 08 07 06 4 3 2 1 TrademarksAll terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. Microsoft is a registered trademark of Microsoft Corporation. Warning and DisclaimerEvery effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an "as is" basis. The author and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book. Bulk SalesSams Publishing offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales. For more information, please contact
For sales outside the United States, please contact
DedicationWriting a technical book involves just as much creativity and inspiration as writing a fantasy or a science fiction novel; it's just a different kind of inspiration. I would like to dedicate this book to my inspiration: my wonderful wife, Connie. Regardless of where the inspiration comes from or what it produces, it's still a highly creative process that is subject to writer's block and fits of irritability, crankiness, defeatism, and being so absorbed in a particular topic that the world around me ceases to exist until I have conquered that topic. It truly is a battle, "me vs. the technology." The problem is that this battle requires a huge time investment. Somehow my wife has managed to tolerate me being in the same room but simply "not being there" while I type away in order to defeat the chapters that loom before me, daring me to take them on. My daughter, Jerrah, has her own keyboard so that she can pretend to "be busy" just like Daddy. There's something bittersweet about the fact that she wants to be like me, but that her impression of me is one of being busy and typing all the time. My wife's patience, love, caring, and support have been invaluable. Without her support, I would've given up on writing before I even got started. And certainly without her I never would have been able to write this book, the single largest and most time-consuming book I've ever written. Regardless of which deity you believe in, or whether you believe in one, you must concede the existence of angels. After all, I am married to one. |