Flylib.com
Microsoft Visual C *. NET 2003 development skills Daquan
Microsoft Visual C *. NET 2003 development skills Daquan
ISBN: 7508427505
EAN: 2147483647
Year: 2003
Pages: 440
Authors:
Simon Robinson ZHU Mark Schmidt
BUY ON AMAZON
Microsoft Visual C .NET 2003 Developer s Cookbook
Table of Contents
Copyright
About the Authors
Acknowledgments
We Want to Hear from You
Introduction
Part I, The C Language
Part II, User Interface and Graphics
Part III, Data Access
Part IV, Internet and Networking
Part V, Deployment and Security
Part VI, Advanced Topics
Part I: The C Language
Chapter 1. Operators, Expressions, and Control Structures
1.0 Introduction
1.1 Understanding Visual C .NET Program Layout
1.2 Parsing Command-Line Arguments
1.3 Creating Multiple Application Entry Points
1.4 Referencing Assemblies and Namespaces
1.5 Creating Valid Identifier Names
1.6 Working with Numeric Types
1.7 Working with Floating-Point Numbers
1.8 Creating Value Types with struct
1.9 Converting Data Types
1.10 Performing Relational Operations
1.11 Using Logical Expressions
1.12 Determining Operator Precedence and Associativity
1.13 Using if Statements
1.14 Using Looping Control Structures
1.15 Breaking Out of a Loop Control Body
Chapter 2. Objects and Components
2.0 Introduction
2.1 Creating Classes
2.2 Defining Class Fields
2.3 Constructing Class Methods
2.4 Instantiating and Using Objects
2.5 Overloading Operators
2.6 Overloading Class Constructors
2.7 Constructing Class Properties
2.8 Inheriting from Other Classes
2.9 Preventing Object Inheritance
2.10 String Representation of Objects
2.11 Abstract Classes and Interfaces
2.12 Multiple Inheritance Using Interfaces
2.13 Creating and Using Class Libraries
Chapter 3. Strings and Regular Expressions
3.0 Introduction
3.1 Creating and Using String Objects
3.2 Formatting Strings
3.3 Accessing Individual String Characters
3.4 Analyzing Character Attributes
3.5 Case-Insensitive String Comparison
3.6 Working with Substrings
3.7 Using Verbatim String Syntax
3.8 Choosing Between Constant and Mutable Strings
3.9 Optimizing StringBuilder Performance
3.10 Understanding Basic Regular Expression Syntax
3.11 Validating User Input with Regular Expressions
3.12 Replacing Substrings Using Regular Expressions
3.13 Building a Regular Expression Library
Chapter 4. Creating and Using .NET Collections
4.0 Introduction
4.1 Declaring and Using Arrays
4.2 Defining Jagged Arrays
4.3 Enumerating Arrays with the foreach Operator
4.4 Determining the Current Element Index Within a foreach Loop
4.5 Using ArrayLists
4.6 Choosing Between an Array and an ArrayList
4.7 Using Stacks and Queues
4.8 Using Hashtables
4.9 Working with BitArrays
4.10 Enumerating Collections with IEnumerator
4.11 Sorting Collections
4.12 Binary Searching with Arrays
4.13 Creating New Collection Types
4.14 Creating Indexers
Chapter 5. Delegates and Events
5.0 Introduction
5.1 Defining and Using Delegates
5.2 Combining Delegates to Form Multicast Delegates
5.3 Removing Individual Delegates from Multicast Delegates
5.4 Accessing Delegate Names Within a Multicast Delegate
5.5 Calling Delegates Asynchronously
5.6 Return Values for Multicast Delegates
5.7 Declaring Events
5.8 Defining and Registering Event Handlers
5.9 Packaging Event Arguments
Chapter 6. Exceptions and Error Handling
6.0 Introduction
6.1 Using trycatch blocks
6.2 Using a finally Block
6.3 Displaying Exception Information
6.4 Creating and Throwing Custom Exceptions
6.5 Accessing Inner Exceptions
6.6 Overflow Detection Using Checked and Unchecked
Part II: User Interface and Graphics
Chapter 7. Windows Forms
7.0 Introduction
7.1 Creating a Dialog-Based Windows Form
7.2 Changing a Form s Properties
7.3 Creating Modal Dialog Boxes
7.4 Displaying Message Boxes
7.5 Handling Form Events
7.6 Designating the Initial Windows Form
7.7 Changing a Windows Form Icon
7.8 Assigning Custom Data to a Windows Form
7.9 Changing Form Opacity
7.10 Supporting Drag and Drop Operations
7.11 Creating MDI Forms
7.12 Accessing MDI Child Windows
7.13 Arranging MDI Child Forms
Chapter 8. Windows Forms Controls
8.0 Introduction
8.1 Displaying Text with a Label Control
8.2 Changing Control Properties
8.3 Creating a Button and Handling Events
8.4 Displaying an Open File Dialog Box
8.5 Creating and Attaching Menus to a Windows Form
8.6 Creating Context Menus
8.7 Displaying System Tray Icons
8.8 Opening Web Pages with a LinkLabel Control
8.9 Determining Check Box State
8.10 Creating Grouped Radio Buttons
8.11 Determining the Selected Radio Button
8.12 Adding and Removing Items in a ListBox Control
8.13 Using a ListView Control
8.14 Using ImageLists in a ListView Control
8.15 Changing a ListView Mode
8.16 Creating ListView Columns
8.17 Using the TreeNode Editor
8.18 Programmatically Adding Items to a TreeView Control
8.19 Using Images in a TreeView
8.20 Selecting Items Using the PathSeparator Property
8.21 Creating ToolBars
8.22 Capturing ToolBar Button Clicks
8.23 Adding StatusBar Panels to Display Application State
8.24 Adding Tooltips to Controls
8.25 Anchoring Controls
8.26 Docking Controls
8.27 Implementing Control Validation
8.28 Visual Inheritance
Chapter 9. User Controls
9.0 Introduction
9.1 Extending Common Controls
9.2 Creating Composite Controls
9.3 Creating Custom Controls
9.4 Using Design-Time Attributes
9.5 Changing a Control s Toolbox Icon
9.6 Programmatically Adding Controls to the Toolbox
9.7 Creating Extender Provider Controls
9.8 Creating a UI Type Editor
9.9 Utilizing Custom Designers
9.10 Extending the Design Time Context Menu
9.11 Removing Control Properties Using Metadata Filtering
Chapter 10. Programming Graphics with GDI
10.0 Introduction
10.1 Obtaining a Graphics Object
10.2 Drawing a Rectangle
10.3 Drawing a Rectangle with a Hatch Brush
10.4 Filling a Rectangle with a Texture Brush
10.5 Using Gradient Fills
10.6 Drawing Connected Lines and Polygons
10.7 Drawing Arc and Pie Shapes
10.8 Using Rotation and Translation Transformations
10.9 Using Graphics Containers
10.10 Forcing a Repaint
10.11 Performing Flicker-Free Animation
10.12 Enumerating System Fonts
10.13 Displaying Text
10.14 Enabling Antialiasing
10.15 Loading and Displaying Images
10.16 Loading and Displaying Animated GIF s
10.17 Converting Image File Formats
10.18 Printing Documents
10.19 Displaying a Print Preview Dialog
Chapter 11. Localization and Resources
11.0 Introduction
11.1 Determining a User s Culture Information
11.2 Localizing Windows Forms Controls
11.3 Programmatically Changing the Current Culture
11.4 Enumerating Culture Types
11.5 Using Fallback Resource for Unsupported Regions
11.6 Formatting Numbers Correctly Based on Culture
11.7 Displaying Culture Aware Date and Time
11.8 Formatting Currency for a Specific Culture
11.9 Creating and Using Satellite Assemblies
11.10 Using ResourceReader to Display an Image Resource
11.11 Saving Resource Information Using the ResourceWriter Class
Part III: Data Access
Chapter 12. File IO and Serialization
12.0 Introduction
12.1 Creating a New File
12.2 Verifying the Existence of a File
12.3 Opening a File for Reading Using the File Class
12.4 Using the FileInfo Class to Display File Information
12.5 Copying and Moving a File
12.6 Making a File Read Only
12.7 Writing to a File
12.8 Reading from a File
12.9 Appending Data to an Existing File
12.10 Improving Performance with a MemoryStream
12.11 Monitoring File and Directory Changes
12.12 Creating a Directory
12.13 Retrieving Directory Information
12.14 Enumerating Files and Subdirectories in a Directory
12.15 Saving Object State with Serialization
12.16 Recreating Objects with Deserialization
12.17 Preventing Object Items from Being Serialized
12.18 Customizing the Serialization Process
Chapter 13. XML in .NET
13.0 Introduction
13.1 Reading XML Documents with XmlTextReader
13.2 Reading with XmlNodeReader
13.3 Navigating XML Documents with XPath
13.4 Using XmlConvert to Convert XML Data Types
13.5 Validating XML Documents with Schemas
13.6 Programmatically Generating XML Documents
13.7 Controlling XmlTextWriter Formatting
13.8 Working with XML Namespaces
13.9 Transforming XML Documents with XSLT
Chapter 14. Database Programming with ADO.NET
14.0 Introduction
14.1 Creating a Database Connection
14.2 Creating and Filling DataSets
14.3 Generating an XML Schema for an Untyped DataSet
14.4 Reading Database Records Using SqlDataReader
14.5 Creating Forms with the Data Form Wizard
14.6 Using Commands and Stored Procedures
14.7 Displaying a DataGrid
14.8 Databinding Windows Form Controls
14.9 Using CommandBuilder to Automatically Generate Commands
14.10 Creating Different DataViews of a Table
14.11 Adding New Tables to a DataSet
14.12 Creating Unique Constraints
14.13 Creating ForeignKey Constraints
14.14 Inserting New Rows into a DataTable
14.15 Modifying Rows in a DataTable
14.16 Navigating Tables Using DataRelations
14.17 Saving DataSet Information to an XML File
14.18 Restoring a DataSet from an XML File
14.19 Merging DataSets
14.20 Modifying Pooling Behavior for SQL Server Connections
14.21 Ensuring Data Integrity Using Transactions
Part IV: Internet and Networking
Chapter 15. Network Programming with Sockets
15.0 Introduction
15.1 Creating a Stream-Based Server
15.2 Determining Connection Client Information
15.3 Resolving an IP Address or Hostname Using DNS
15.4 Creating a Stream-Based Client
15.5 Creating a Connectionless UDP-Based Server
15.6 Creating a Connectionless UDP-Based Client
15.7 Controlling Socket Lingering Behavior
15.8 Using the WebRequest Class for HTTP Communication
15.9 Requesting Web Documents Through a Proxy Server
15.10 Creating Asynchronous Web Requests
Chapter 16. Building ASP.NET Applications
16.0 Introduction
16.1 Creating a Simple Web Form
16.2 Displaying Server-Side Controls
16.3 Handling Web Control Events
16.4 Forcing a Post Back from a Web Control Event
16.5 Redirecting Users to a Different Web Page
16.6 Validating Input Data and Displaying Errors
16.7 Databinding Web Controls
16.8 Using the DataList Web Control
16.9 Using the DataGrid Control
16.10 Changing DataGrid Style Information
16.11 Creating an Editable DataGrid
16.12 Managing Application and Session State
16.13 Creating Custom Web Controls
16.14 Using Page Output Caching
16.15 Writing and Reading Cookies
Chapter 17. ASP.NET Web Services
17.0 Introduction
17.1 Creating an ASP.NET Web Service
17.2 Adding Web Service Methods
17.3 Providing Web Method Descriptions
17.4 Aliasing Web Method Names
17.5 Managing Web Service State
17.6 Publishing and Registering an ASP.NET Web Service
17.7 Consuming Web Services with a Windows Form Application
17.8 Consuming Web Services with ASP.NET Applications
17.9 Calling Web Methods Asynchronously
17.10 Using Transactions in Web Services
Chapter 18. .NET Remoting
18.0 Introduction
18.1 Creating a Remotable Object
18.2 Creating Host Applications for Remotable Types
18.3 Calling Remote Objects from Client Applications
18.4 Performing Client-Side Activation of Remotable Objects
18.5 Creating Server-Activated Singleton Objects
18.6 Using Remoting Configuration Files
18.7 Hosting Remotable Types with IIS
18.8 Using Channels and Formatters
18.9 Controlling Lifetime Leases
18.10 Performing Asynchronous Remoting Calls
18.11 Creating Proxies for Message Interception
18.12 Creating Custom Channel Sinks for Logging
Part V: Deployment and Security
Chapter 19. Assemblies
19.0 Introduction
19.1 Setting Informational Assembly Attributes
19.2 Setting the Assembly Version
19.3 Viewing Assembly Contents with ILDasm
19.4 Creating a Multifile Assembly
19.5 Creating a Strong Name Assembly
19.6 Delay Signing an Assembly
19.7 Creating a Shared Assembly
19.8 Securing Satellite Assemblies
19.9 Explicitly Loading an Assembly Programmatically
19.10 Reading Assembly Identity Programmatically
19.11 Identifying the File or URL from Which an Assembly Was Loaded
19.12 Loading an Assembly into a New Application Domain
Chapter 20. Setup and Deployment Projects
20.0 Introduction
20.1 Creating setup.exe-Based Installations
20.2 Creating a Windows Setup Project Without Using the Wizard
20.3 Adding a Shortcut on the User s Desktop
20.4 Customizing the Appearance of the Setup Dialogs
20.5 Adding User-Interface Dialogs
20.6 Setting Launch Conditions on the Installation
20.7 Conditionally Installing Files
20.8 Creating a Custom Executable Action
20.9 Creating Custom Actions as Classes
20.10 Installing Assemblies into the Global Assembly Cache
Chapter 21. Securing Code
21.0 Introduction
21.1 Requesting Permissions for an Assembly Using Declarative Security
21.2 Requesting Permissions for a Class or Method Using Declarative Security
21.3 Requesting Permissions Using Imperative Security Requests
21.4 Viewing Security Policy Information
21.5 Creating Code Groups
21.6 Creating New Permission Sets
21.7 Determining Whether the Current User Is an Administrator
21.8 Creating Login Pages with Web Forms Authentication
21.9 Unsafe Code Using Pointers
21.10 Calling Native Unmanaged Code Using PInvoke
Part VI: Advanced Topics
Chapter 22. Threading and Synchronization
22.0 Introduction
22.1 Creating and Starting Threads
22.2 Pausing and Resuming a Thread
22.3 Aborting the Execution of a Thread
22.4 Changing the Priority of a Running Thread
22.5 Using the ThreadPool to Perform Background Tasks
22.6 Creating an Application Timer
22.7 Synchronizing Variable Access Using the Monitor
22.8 Using Events to Synchronize Threads
22.9 Using Mutexes to Synchronize Multiple Objects, Avoiding Deadlocks
22.10 Implementing Interprocess Communication Using a Mutex
22.11 Synchronizing Resource Access Using ReaderWriter Locks
22.12 Getting and Setting Thread Data Using Thread Local Storage
Chapter 23. Reflection
23.0 Introduction
23.1 Viewing Assembly Information
23.2 Examining Module Information
23.3 Examining Constructor Information
23.4 Examining Methods Within a Type
23.5 Displaying Event Information
23.6 Displaying Property Information
23.7 Searching Assembly Information Using Filtering
23.8 Searching Assemblies Using Custom Search Techniques
23.9 Creating Dynamic Assemblies
23.10 Performing Dynamic Invocation
23.11 Creating a Plug-In Architecture
Chapter 24. COM Interoperability
24.0 Introduction
24.1 Creating an ATL-Based COM Component
24.2 Using COM Objects in .NET
24.3 Automatically Generating an Interop Assembly
24.4 Using ActiveX Controls in a Windows Form
24.5 Viewing the RCW Using ILDasm.exe
24.6 Handling HRESULT Errors
24.7 Using .NET Objects in COM
24.8 Viewing an Exported .NET Type Library
24.9 Controlling Managed Thread Apartment States
Chapter 25. Custom Attributes
25.0 Introduction
25.1 Creating a Custom Attribute Class Definition
25.2 Declaring Targets for Custom Attributes
25.3 Allowing Custom Attributes to Be Applied Multiple Times
25.4 Defining the Inheritance Model of Custom Attributes
25.5 Adding Optional Properties to Custom Attributes
25.6 Displaying Custom Attribute Information Using Reflection
25.7 Displaying Assembly Custom Attribute Information Using Reflection
25.8 Displaying Properties of an Applied Attribute at Runtime
Chapter 26. Smart Device Extensions
26.0 Introduction
26.1 Understanding the Differences Between the Compact and .NET Frameworks
26.2 Creating a Smart Device Solution
26.3 Creating and Displaying Windows Forms
26.4 Manipulating the Soft Input Panel
26.5 Using the MessageWindow Class
26.6 Creating an IrDA Client
26.7 Creating an IrDA Server
26.8 Building CAB Files for Application Distribution
26.9 Deploying Mobile Applications Using ActiveSync
26.10 Creating Mobile ASP.NET Pages
26.11 Using the Mobile ASP.NET ObjectList Control
26.12 Querying Mobile Device Capabilities
26.13 Changing Mobile Web Form Output Using the DeviceSpecific Control
26.14 Creating a SqlServerCE Database
26.15 Using a SQL Server CE Database
Part VII: Appendixes
Appendix A. Visual Studio .NET IDE
Source Editing
Tool Windows
Visual Studio .NET Toolbars
Appendix B. .NET Debugging .Reference
Working with Breakpoints
Debugging an Application
Index
index_SYMBOL
index_A
index_B
index_C
index_D
index_E
index_F
index_G
index_H
index_I
index_J
index_K
index_L
index_M
index_N
index_O
index_P
index_Q
index_R
index_S
index_T
index_U
index_V
index_W
Microsoft Visual C *. NET 2003 development skills Daquan
ISBN: 7508427505
EAN: 2147483647
Year: 2003
Pages: 440
Authors:
Simon Robinson ZHU Mark Schmidt
BUY ON AMAZON
High-Speed Signal Propagation[c] Advanced Black Magic
Telegraphers Equations
Skin Effect
Frequency-Domain Modeling
SNR Budgeting
Appendix D. Accuracy of Pi Model
Java How to Program (6th Edition) (How to Program (Deitel))
First Program in Java: Printing a Line of Text
Relationship between Superclasses and Subclasses
Summary
Self-Review Exercises
Queues
Google Maps Hacks: Tips & Tools for Geographic Searching and Remixing
Hacks 19: Introduction
Hack 18. Examine Patterns of Criminal Activity
Hack 31. Navigate Public Transportation
Hacks 5161: Introduction
Hack 52. Put a Map and HTML into Your Info Windows
Programming Microsoft ASP.NET 3.5
Web Forms Internals
Paging Through Data Sources
ASP.NET Mobile Controls
The HTTP Request Context
Working with Images in ASP.NET
Wireless Hacks: Tips & Tools for Building, Extending, and Securing Your Network
Hack 1. Set Up Bluetooth on Linux
Hack 30. Monitor Wireless Links in Linux with Wavemon
Hack 88. Primestar Dish with Biquad Feed
Hack 90. Build a Slotted Waveguide Antenna
Section A.11. WPA & 802.11i
Special Edition Using FileMaker 8
Working with Layouts
Many-to-Many Relationships: Solving the Puzzle
User-Level Internal Security
Horizontal Portals
Custom Web Publishing Versus XML Export
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies