List of Figures

Chapter 1: Overview of the .NET Framework

Figure 1-1: The .NET Framework hierarchy
Figure 1-2: The basic assembly structure
Figure 1-3: The global assembly cache
Figure 1-4: Visual Studio .NET's IntelliSense using metadata
Figure 1-5: The CLR start-up process flow
Figure 1-6: Many compilers, one output
Figure 1-7: CTS hierarchy
Figure 1-8: CLS intersection diagram

Chapter 2: Managed C++ Basics

Figure 2-1: Executing Hello.exe from the command line
Figure 2-2: Results of IntegerTypes.exe
Figure 2-3: Results of FloatingPoint.exe
Figure 2-4: Results of Decimal.exe
Figure 2-5: Results of Boolean.exe
Figure 2-6: Results of Chars.exe
Figure 2-7: Results of StringFun.exe
Figure 2-8: Results of Enums.exe
Figure 2-9: Results of ValueStruct.exe
Figure 2-10: Results of Arrays.exe
Figure 2-11: Results of IntegerLiteral.exe
Figure 2-12: Results of BooleanLiteral.exe
Figure 2-13: Results of CharLiteral.exe
Figure 2-14: Results of StringLiteral.exe
Figure 2-15: Results of AddressIndirect.exe
Figure 2-16: Results of MainArgs.exe

Chapter 3: Object-Oriented Managed C++

Figure 3-1: Summary of the three member access modifiers
Figure 3-2: Results of Inherit.exe
Figure 3-3: Results of Pinned.exe
Figure 3-4: Results of References.exe
Figure 3-5: Results of MethodEx.exe
Figure 3-6: Results of StaticMethodEx.exe
Figure 3-7: Results of VirtualAnimals.exe
Figure 3-8: Results of OperatorOverload.exe
Figure 3-9: Results of OperatorOverloadMixed.exe
Figure 3-10: Results of ScalarProp.exe
Figure 3-11: Results of StaticProp.exe
Figure 3-12: Results of ArrayProp.exe
Figure 3-13: Results of IndexProps.exe
Figure 3-14: Accessing nested class members
Figure 3-15: Results of AbstractEx.exe
Figure 3-16: Results of InterfaceEx.exe

Chapter 4: Advanced Managed C++

Figure 4-1: Example results of PlayCards.exe
Figure 4-2: Results of CatchException.exe
Figure 4-3: Results of ThrowDerived.exe
Figure 4-4: Results of RethrowException.exe
Figure 4-5: Results of MultiException.exe
Figure 4-6: Results of CatchAll.exe
Figure 4-7: Results of Finally.exe
Figure 4-8: ILDASM snapshot of the generated delegate class
Figure 4-9: Results of Delegates.exe
Figure 4-10: ILDASM snapshot of the generated event member methods
Figure 4-11: Results of Events.exe

Chapter 6: Visual Studio .NET Development

Figure 6-1: The Visual Studio .NET splash screen
Figure 6-2: A fully tabbed development window
Figure 6-3: Default project menu and toolbars
Figure 6-4: Class View for DeckPlayer
Figure 6-5: Index window for the System. Windows.Forms namespace
Figure 6-6: Solution Explorer for the DeckPlayer project
Figure 6-7: Server Explorer for local and remote servers
Figure 6-8: Task List with an error and a to-do
Figure 6-9: The Toolbox view for Windows Forms development
Figure 6-10: The Properties window for Windows Forms development
Figure 6-11: Output of a successful build
Figure 6-12: The default Start Page of the main development tab window
Figure 6-13: Visual C++ developer profile
Figure 6-14: Dynamic help for the #include directive
Figure 6-15: Managed C++ class library New Project dialog box
Figure 6-16: The New Project dialog box
Figure 6-17: Removing Cards.h from Solution Explorer
Figure 6-18: Two normal-priority to-do tasks
Figure 6-19: The Add Class dialog box
Figure 6-20: The Generic C++ Class Wizard dialog box
Figure 6-21: The Add Member Variable Wizard dialog box
Figure 6-22: The Add Member Function Wizard dialog box
Figure 6-23: The Add New Item dialog box
Figure 6-24: The Toolbox view's General tab
Figure 6-25: Autoupdated Class View
Figure 6-26: Successful build of the Cards class library
Figure 6-27: Add New Project dialog box with the Console Application (.NET) icon selected
Figure 6-28: The output of DeckPlayer.exe
Figure 6-29: The DeckPlayer Property Pages dialog box
Figure 6-30: The "could not find assembly 'cards.dll'" error
Figure 6-31: The Add Reference dialog box
Figure 6-32: New Breakpoint dialog box
Figure 6-33: The breakpoint's red dot (in black and white)
Figure 6-34: The debugger transformation
Figure 6-35: The Call Stack window
Figure 6-36: Pop-up variable values in the debug window
Figure 6-37: The Autos window during debugging
Figure 6-38: The Locals window during debugging
Figure 6-39: The Watch window during debugging

Chapter 7: Collections

Figure 7-1: Results of ForEach.exe
Figure 7-2: Results of ArrayList.exe
Figure 7-3: Results of BitArray.exe
Figure 7-4: Results of HashSortList.exe
Figure 7-5: Results of QueueStack.exe
Figure 7-6: Results of ListDict.exe
Figure 7-7: Results of StringColl.exe
Figure 7-8: Results of StringDict.exe
Figure 7-9: Results of NameValue.exe

Chapter 8: Input, Output, and Serialization

Figure 8-1: Results of DirInfo.exe
Figure 8-2: Results of FileInfo.exe
Figure 8-3: The class hierarchy for I/O manipulation
Figure 8-4: File output of FileStream.exe
Figure 8-5: Display of the buffer of the MemoryStream created by MemoryStream.exe
Figure 8-6: Console results of MemoryStream.exe
Figure 8-7: File output of MemoryStream.exe
Figure 8-8: Console results of StreamRW.exe
Figure 8-9: File output of StreamRW.exe
Figure 8-10: Console results of BinaryRW.exe
Figure 8-11: File output of BinaryRW.exe
Figure 8-12: Console results of BinFormSerial.exe
Figure 8-13: Binary-formatted file output of the serialization of the Player class
Figure 8-14: SOAP-formatted file output of the serialization of the Player class

Chapter 9: Basic Windows Forms Applications

Figure 9-1: Creating a Win Form "Hello, World!" application project
Figure 9-2: The "Hello World" form
Figure 9-3: Customizing Form1 using the Properties view
Figure 9-4: A very customized form
Figure 9-5: Properties view of event handlers
Figure 9-6: The form after a mouse jump
Figure 9-7: The MightyLabel example
Figure 9-8: Way too many buttons
Figure 9-9: You can't check me!
Figure 9-10: An array of radio buttons
Figure 9-11: Groups of radio buttons
Figure 9-12: Disabling and hiding panels
Figure 9-13: Assorted text boxes
Figure 9-14: The simple RTF editor in action
Figure 9-15: Transferring items between list boxes
Figure 9-16: Synchronized combo boxes
Figure 9-17: Splitting the checklist box
Figure 9-18: The one-minute timer

Chapter 10: Advanced Windows Forms Applications

Figure 10-1: A ListView of fruit
Figure 10-2: Randomly generated and editable TreeView
Figure 10-3: A simple TabControl
Figure 10-4: A simple Splitter control
Figure 10-5: The ToolBarButton Collection Editor dialog box
Figure 10-6: The Image Collection Editor dialog box
Figure 10-7: The emotional toolbar
Figure 10-8: A three-panel status bar
Figure 10-9: A PictureBox of Shaina
Figure 10-10: The MonthCalendar control
Figure 10-11: The ErrorProvider control
Figure 10-12: The NotifyIcon control
Figure 10-13: A simple menu
Figure 10-14: A more elaborate menu
Figure 10-15: A radio-checked menu
Figure 10-16: The Add New Item dialog box
Figure 10-17: A custom dialog box
Figure 10-18: Calling a custom dialog box
Figure 10-19: Calling a common ColorDialog

Chapter 11: Graphics using GDI+

Figure 11-1: Results of "Hello, World!" GDI+ style
Figure 11-2: The rendering results if the base OnPaint is placed last in the method
Figure 11-3: Clipped rendered coordinate strings
Figure 11-4: Correctly rendered coordinate strings
Figure 11-5: The default GDI coordinate system
Figure 11-6: Changing the unit of measure and the origin
Figure 11-7: It's an intersection.
Figure 11-8: Displaying a region
Figure 11-9: A string restricted to a too-small rectangle
Figure 11-10: A string drawn downward and restricted to a too-small rectangle
Figure 11-11: Displaying random fonts
Figure 11-12: Displaying random lines
Figure 11-13: Displaying the tiled TextureBrush
Figure 11-14: Doubling an image's size
Figure 11-15: A happy face
Figure 11-16: A happy face in a scrollable window
Figure 11-17: A not-so-happy happy face in a scrollable window
Figure 11-18: The left side of a happy face
Figure 11-19: The sliding happy face
Figure 11-20: The printer dialog box

Chapter 12: ADO.NET and Database Development

Figure 12-1: Server Explorer
Figure 12-2: The Create Database dialog box
Figure 12-3: The DCV_DB data diagram
Figure 12-4: The Relationships property page
Figure 12-5: The Add Table dialog box
Figure 12-6: The View Design window
Figure 12-7: Nontransactional database access
Figure 12-8: The database is successfully opened and closed.
Figure 12-9: Retrieving Bill Doors's stories
Figure 12-10: A lot of modifications to the database for no gain
Figure 12-11: Counting rows and summing a column
Figure 12-12: Transactional database access
Figure 12-13: Transactional database update rollback
Figure 12-14: The disconnected ADO.NET class interaction
Figure 12-15: The Author Maintenance tool

Chapter 13: XML

Figure 13-1: A list box dump of the XML monster file
Figure 13-2: Aborting the Monsters.xml file
Figure 13-3: The generated Goblin.xml file
Figure 13-4: The generated New_Monster.xml file
Figure 13-5: The ListBox dump of the monster DOM tree
Figure 13-6: The updated XML monster file
Figure 13-7: The XML monster file with a new monster
Figure 13-8: A ListBox of all nodes of the XML monster file
Figure 13-9: Output for the XPath expression MonsterList/Monster/Name
Figure 13-10: Output for the XPath expression //Monster[Name='Red Dragon']/Weapon
Figure 13-11: Output for the XPath expression //Monster[Name='Goblin' or Name= 'Succubus']/HitDice
Figure 13-12: Output for the XPath expression //Weapon[@Number <= 1]
Figure 13-13: The ListBox dump of the DCV_DB database DOM tree

Chapter 14: Web Applications

Figure 14-1: The Add New Project dialog box
Figure 14-2: Precompiled headers Property Pages dialog box
Figure 14-3: Creating a Web-shared folder
Figure 14-4: Changing the Output Directory in the Configuration Properties
Figure 14-5: Solution Explorer is ready for ASP.NET.
Figure 14-6: HelloWorld - Executable for Debugging Session dialog box
Figure 14-7: The HelloWorld Web page
Figure 14-8: The HelloWorld Configuration Properties Debugging folder
Figure 14-9: Debugging HelloWorld
Figure 14-10: The Colorful Web Form
Figure 14-11: The Happy Web Form
Figure 14-12: The ChangeColor form
Figure 14-13: The Buttons form
Figure 14-14: The list form
Figure 14-15: The Tables form
Figure 14-16: The user control header
Figure 14-17: Two dynamic user control headers

Chapter 15: Web Services

Figure 15-1: Selecting the ASP.NET Web Service template
Figure 15-2: The FindZipCode Web service Web page
Figure 15-3: Consuming the FindZipCode Web service using getzip.html
Figure 15-4: Response to getzip.html from the FindZipCode Web service
Figure 15-5: The Add Web Reference dialog box that appears before you select a Web service
Figure 15-6: The Add Web Reference dialog box after you have selected a Web service
Figure 15-7: The client consumer of Web service FindZipCode in action
Figure 15-8: The debugging Web service error
Figure 15-9: The "breakpoint cannot be set" error
Figure 15-10: Web service version ofMaintAuthors

Chapter 16: Multithreaded Programming

Figure 16-1: The execution states of a thread
Figure 16-2: The StartingThreads program in action
Figure 16-3: The SleepingThreads program in action
Figure 16-4: The AbortingThreads program in action
Figure 16-5: The JoiningThreads program in action
Figure 16-6: The ISRingThreads program in action
Figure 16-7: The ThreadPooling program in action
Figure 16-8: The attribute commented-out ThreadStaticVars program in action
Figure 16-9: The ThreadStaticVars program in action
Figure 16-10: The InterlockedVars program in action
Figure 16-11: The SyncByMonitor program in action
Figure 16-12: A pair of SyncByMutex programs in action
Figure 16-13: The SyncByRWLock program in action

Chapter 17: Assembly Programming

Figure 17-1: The Reflecting program in action
Figure 17-2: The Invoking program in action
Figure 17-3: The DocumentationWriter program in action
Figure 17-4: The GAC
Figure 17-5: Multiple versions of an assembly in the GAC
Figure 17-6: SharedAssembly in the GAC
Figure 17-7: The Add Reference dialog box
Figure 17-8: The result of executing ReferenceSharedAssembly
Figure 17-9: The result of executing ReferenceSharedAssembly with an application configuration file
Figure 17-10: The Animal resource file
Figure 17-11: Changing the generated resource name
Figure 17-12: Changing the tool to Managed Resource Compiler
Figure 17-13: Adding embedded resources
Figure 17-14: The result of executing the EmbeddedResources program
Figure 17-15: The result of executing the MulticulturalDates program
Figure 17-16: A very simple Windows Form
Figure 17-17: Setting the Localizable flag to true
Figure 17-18: The Windows Explorer view of satellite assemblies
Figure 17-19: The result of executing the MultiCulturalApp program
Figure 17-20: The Colors assembly resource file
Figure 17-21: The first result of MulticulturalConsole
Figure 17-22: French Colors assembly resource file
Figure 17-23: Revised result of MulticulturalConsole

Managed C++ and. NET Development
Managed C++ and .NET Development: Visual Studio .NET 2003 Edition
ISBN: 1590590333
EAN: 2147483647
Year: 2005
Pages: 169 © 2008-2017.
If you may any questions please contact us: