Desktop Applications with Windows Forms

chapter 27 Introducing Windows Forms 883

Overview of the System.Windows.Forms Namespace 883

Working with the Windows Forms Types 885

The Role of the Application Class 887

The Anatomy of a Form 890

The Functionality of the Control Class 891

The Functionality of the Form Class 896

Building Windows Applications with Visual Studio 2008 900

Working with MenuStrips and ContextMenuStrips 905

Working with StatusStrips 913

Working with ToolStrips 919

Building an MDI Application 924

Summary 927

chapter 28 Rendering Graphical Data with GDI+ 929

A Survey of the GDI+ Namespaces 929

An Overview of the System.Drawing Namespace 930

The System.Drawing Utility Types 931

Understanding the Graphics Class 933

Understanding Paint Sessions 935

The GDI+ Coordinate Systems 939

Defining a Color Value 943

Manipulating Fonts 945

Survey of the System.Drawing.Drawing2D Namespace 953

Working with Pens 953

Working with Brushes 957

Rendering Images 963

Dragging and Hit Testing the PictureBox Control 965

Understanding the Windows Forms Resource Format 973

Summary 981

chapter 29 Programming with Windows Forms Controls 983

The World of Windows Forms Controls 983

Adding Controls to Forms by Hand 984

Adding Controls to Forms Using Visual Studio 2008 986

Working with the Basic Controls 987

Configuring the Tab Order 1003

Setting the Form's Default Input Button 1004

Working with More Exotic Controls 1004

Building Custom Windows Forms Controls 1022

Testing the CarControl Type 1028

Building a Custom CarControl Form Host 1029

The Role of the System.ComponentModel Namespace 1030

Building Custom Dialog Boxes 1034

Dynamically Positioning Windows Forms Controls 1039

Summary 1043

chapter 30 Introducing Windows Presentation Foundation and XAML 1047

The Motivation Behind WPF 1047

The Various Flavors of WPF Applications 1050

Investigating the WPF Assemblies 1053

Building a (XAML-Free) WPF Application 1060

Additional Details of the Application Type 1063

Additional Details of the Window Type 1065

Building a (XAML-Centric) WPF Application 1070

Transforming Markup into a .NET Assembly 1074

Separation of Concerns Using Code-Behind Files 1078

The Syntax of XAML 1080

Building WPF Applications Using Visual Studio 2008 1091

Processing XAML at Runtime: SimpleXamlPad.exe 1095

The Role of Microsoft Expression Blend 1099

Summary 1101

chapter 31 Programming with WPF Controls 1103

A Survey of the WPF Control Library 1103

Declaring Controls in XAML 1106

Understanding the Role of Dependency Properties 1108

Understanding Routed Events 1112

Working with Button Types 1116

Working with CheckBoxes and RadioButtons 1120

Working with the ListBox and ComboBox Types 1123

Working with Text Areas 1129

Controlling Content Layout Using Panels 1131

Building a Window's Frame Using Nested Panels 1141

Understanding WPF Control Commands 1147

Understanding the WPF Data Binding Model 1150

Data Conversion Using IValueConverter 1153

Binding to Custom Objects 1156

Binding UI Elements to XML Documents 1161

Summary 1165

chapter 32 WPF 2D Graphical Rendering, Resources, and Themes 1167

The Philosophy of WPF Graphical Rendering Services 1167

Exploring the Shape-Derived Types 1175

Working with WPF Brushes 1177

Working with WPF Pens 1180

Exploring the Drawing-Derived Types 1181

The Role of UI Transformations 1185

Understanding WPF's Animation Services 1187

Understanding the WPF Resource System 1195

Defining and Applying Styles for WPF Controls 1198

Altering a Control's UI Using Templates 1207

Summary 1211

part 8 ■ ■ ■ Building Web Applications with ASP.NET

chapter 33 Building ASP.NET Web Pages 1215

The Role of HTTP 1215

Understanding Web Applications and Web Servers 1216

The Role of HTML 1219

The Role of Client-Side Scripting 1224

Submitting the Form Data (GET and POST) 1226

Building a Classic ASP Page 1227

Problems with Classic ASP 1229

The ASP.NET Namespaces 1230

The ASP.NET Web Page Code Model 1231

Details of an ASP.NET Website Directory Structure 1242

The ASP.NET Page Compilation Cycle 1243

The Inheritance Chain of the Page Type 1246

Interacting with the Incoming HTTP Request 1247

Interacting with the Outgoing HTTP Response 1250

The Life Cycle of an ASP.NET Web Page 1252

The Role of the web.config File 1256

Summary 1259

chapter 34 ASP.NET Web Controls, Themes, and Master Pages 1261

Understanding the Nature of Web Controls 1261

The System.Web.UI.Control Type 1263

Key Members of the System.Web.UI.WebControls.WebControl Type 1267

Categories of ASP.NET Web Controls 1267

Building an ASP.NET Website 1269

The Role of the Validation Controls 1285

Working with Themes 1289

Summary 1295

chapter 35 ASP.NET State Management Techniques 1297

The Issue of State 1297

ASP.NET State Management Techniques 1299

Understanding the Role of ASP.NET View State 1300

The Role of the Global.asax File 1303

Understanding the Application/Session Distinction 1305

Working with the Application Cache 1310

Maintaining Session Data 1315

Understanding Cookies 1318

The Role of the <sessionState> Element 1321

Understanding the ASP.NET Profile API 1324

Summary 1330

Was this article helpful?

0 0

Post a comment