Module 1
Extending Classes
FileSearch0
Startup
Modify FileSearch0
FileSearch1 Execute Method Event
Interface Multiple Listeners
Introducing Delegates
What is a Delegate?
Declare a Delegate
Invoke Method
Shared vs. Instance
Multicast Delegate
Working with Events
Events Basics
The VB6 Way Simple
EventHandler
ILDasm to View Multiple Event Handlers
Events and Delegates
Throwing Exceptions
Examine Exceptions
Manual Invocation
Event Design Pattern
Create a Class
Create a Procedure
Delegate Setup Raise/Sink Event
Processes and Threads Overview
What is a Thread?
Multiple Threads
Multithreading
Pros Multithreading
Cons Threads and the OS Asynchronous Behavior
Forms/Thread Problems
Problem Overview
Invoke Method
Create Delegate Type
DebugThreadID
|
Module 5
Introducing Attributes Visual Basic 6
Visual Basic .NET Attribute
Syntax Attributes as Classes
WebServiceAttribute
DebuggerStepThrough
Obsolete Attribute Application
Custom Attributes
Building Custom Define Usage
Specify Usage Applying Attributes
System.Type Class
System.Reflection Methods
DumpAttributeInfo
Introducing Reflection Overview
Reflection Classes Assembly
Review Assembly
Code Retrieve
Type Object
Type Properties
MemberTypes
GetMethods
Using Reflection
Late Binding
Late Binding and Math
MathAttribute Class
DecimalMath Class
IntegerMath Class
Using Reflection (cont.)
Load Event Handler
GetClasses Method
FillMethodList
Method GetList
Method Filter Function
EnableCheck
SetRaiseSimple
Errors Invoke
Selected Method
|
Module 2
Asynchronous Delegates
Creating a Delegate
Invoke vs. BeginInvoke
The Async Analogy
Using BeginInvoke
EndInvoke Method
Run the Sample
Fix the Sample
Using the Thread Pool Queue
Async Method
Passing State
Run the Queue Concurrent Threads
.NET Timers
Timer Control
TickHandler
Threading.Timer
TimerHandler Callback
Update Interval
Timers.Timer
Timer Component
Creating Threads
Thread Procedure
Start Method
Thread Processing
Data Debug
Multithreading
Setting Priorities
Managing Threads
Threads Forms
ThreadState Property
IsBackground Property
Start Method
Suspend/Resume Method
Abort Method
Join Method
Cancel/Reset Method
Managing Data
Data Collisions
Multiple Threads
Thread Update Issues
Interlocked Class Solutions
SyncLock Statement
Monitor Class
Mutex Class
|
Module 6
PrintDocument Class
Printing in .NET
Print Features
Print Preview
PrintDocument
Setup BeginPrint Event
QueryPageSettings
PrintPage Event
Tabular Report Print
Setup Simple Variables
Graphic Code Alignment
HandlePrintPage
HasMorePages
Property
Page/PrinterSettings
Class Page Setting Basics
Enumerated Properties
GetPaperSize
Run Sample Report
PrinterSettings
Class Printer Properties
Set Default Printer
View Print Code
Print-Related Controls Overview
PageSetupDialog
PrintDialog Class
PrintPreviewDialog
PrintPreviewControl
Load Form
Complex Report Page
Dimensions Unprintable Region
Real Printable Region Image
Report Image
BeginPrint
Headers and Footers
PrintPage Handler
Fitting an Image
|
Module 3
Introduction to WMI Overview
Code Sample
Drive Information
Classes Background
Documentation Win32_SCSIController
WMI Classes
ManagementObject WMI
Data Types
ManagementScope
ManagementClass
Investigate Classes
GetInstances Method
WMI Queries and Properties
Queries Refined Searches
SelectQuery
Class WQL
Query Modify
Object Properties
CallMethod
Server Explorer Extensions
Server Explorer Window Management
Classes Invoke a Method
Object Properties
Add a Class Wrapper
Classes View Code
WMI Event Handler
Verify Event Handler
WqlEventQuery
Event Query
Syntax Pass
Parameters Hooking Up Events
ServiceModified
Modifying Events
Create/Delete Event
Module 4
WMI Asynchronously
Synchronous Demo
Run Synchronous
Managing Async
Ops Create
Event Handlers
Set/Clear Hooks
Runtime Behavior
Server Explorer
Events Management
Events Add
Event Query
Query Conditions
Watcher Properties
Form Code
Serialization Basics Overview
Persistence
.NET Framework
Formatter Objects
Serialize Array List
Deserialization Formatters
Custom Serialization
Serializing
Complex Objects Design Structure
Build/Point to Objects
Create/Add View
Fill Object
Graph Serialize/Deserialize
Clone and Serialize Objects
MemberwiseClone Method
Shallow Copy
Create Deep Clone
Multiple Objects
Deserialize in Order
Binary Output
Custom Serialization Process Overview
Default Serialization
Custom Serialization
SerializationInfo
Create BitArray
AddValue Custom
Deserialization BitArray Results
|
Module 7
Introduction to XML DOM Overview
Main .NET APIs
Tree-Based Handling
Tree-Based Model
Non-Cached Handling
What is XML DOM?
Simple vs. Tree-Based
Reading XML Data Load
XML Data Child Nodes
View All Nodes
TraverseTree Method Elements
Elements by Name
Retrieve Text Nodes
Working with Nodes
Using XPath
SelectNodes Method
Select Single Node
Find Related Nodes
Retrieve Attributes
Single Attribute
Create and Modify XML
Add Nodes
Add/Delete Elements
Create XML File
Modify Nodes
RemoveAll Method
Add/Delete Attributes
Modify Values Not Well Formed
Existing Control Inheritance
Control Creation
Why Inherit?
Required Steps Add
Inherit Control
Assign Properties
Bitmaps Hide a Property
Create Custom Controls Overview
Base Control
Class Control
Properties Drawing the Checkbox
Resizing Default
Value Property
Raising Events
More Features
Composite Controls
Why Composite?
Required Steps
Sample Combination
Create from Scratch
Setting Default Text
Serial Text Property Data Binding
|