C# Programming
1
Table of Contents
1. Strings, Exceptions, and Events
The String Class
Arrays
Collections
Overview of Exception Handling
Throwing and Catching Exceptions
.NET Framework Class Library Exceptions
Creating Your Own Exceptions
Events
2. Introduction to Windows Forms
Introduction
What Is a Form?
Creating a Windows Form in a Text Editor
Creating a Form in Visual Studio .NET
The Windows Forms Designer
Forms
Form Properties
Form Events
Using Visual Inheritance
Localizing Your Form
Controls
Event Handling
Delegates
3. Streams
Working with IO Streams
I/O Classes Derived from System.Object
System.IO.FileSystemInfo and Its Derived Classes
Classes Derived from System.IO.Stream
System.IO.TextReader and Its Derived Classes
System.IO.TextWriter and Its Derived Classes
Enumerators
I/O and Security
Composing Streams
4. Remoting .NET
Introduction
Understanding .NET Remoting
Remotable and Nonremotable Objects
Understanding Remote Object Activation
Remoting Tasks
Using Lifetime Leases
Scope of Publication
Understanding Channels
Implementing Events and Delegates
Implementing Asynchronous Methods
Configuring and Securing .NET Remoting Objects
Securing .NET Remoting Objects
5. Crystal Reports for Visual Studio.NET
Introduction
About Crystal Reports
Reporting Fundamentals
Database Connection
Report Distribution
Export Scenarios
Print the Report
Hosting Reports in Windows Applications
6. Assemblies, Configuration and Security
Introduction
C# Programming
2
Creating Class Library Assemblies
Resources and Resource Assemblies
Creating Resource Assemblies
Creating Satellite Assemblies
Retrieving Resources at Run Time
Shared Assemblies
Strong Naming
The .config File Schema
Setting and Retrieving Dynamic Properties Manually
Using the Compiler Optimizations
Securing Your Application
Permissions
Configuring Code Access Security
Using Exception Handling with Imperative Security