|
Chapter 1 Windows Forms and the User Interface ■ Add and configure a Windows Form. • Add a Windows Form to a project at design time. • Configure a Windows Form to control accessibility, appearance, behavior, configuration, data, design, focus, layout, style, and other functionality. • ■ Manage control layout on a Windows Form. • Group and arrange controls by using the Panel control, GroupBox control, TabControl control, FlowLayoutPanel control, and TableLayoutPanel control. • Use the SplitContainer control to create dynamic container areas. • ■ Add and configure a Windows Forms control. • Use the integrated development environment (IDE) to add a control to a Windows Form or other container control of a project at design time. • Add controls to a Windows Form at run time. Chapter 2 Configuring Controls and Creating the User Interface ■ Add and configure a Windows Forms control. • Configure controls on a Windows Form at design time to optimize the user interface (UI). • Modify control properties. • Configure controls in a Windows Form at run time to ensure that the UI complies with best practices. • Create and configure command controls on a Windows Form. • Create and configure text edit controls on a Windows Form. • Create and configure text display controls on a Windows Form. • Use the LinkLabel control to add Web-style links to Windows Forms applications. Chapter 3 Advanced Windows Forms Controls ■ Add and configure a Windows Forms control. • Provide a list of options on a Windows Form by using a ListBox control, a ComboBox control, or a CheckedListBox control. • Configure the layout and functionality of a Windows Form to display a list of items. • Implement value-setting controls on a Windows Form. • Configure a WebBrowser control. • Add and configure date-setting controls on a Windows Form. • Display images by using Windows Forms controls. • Configure the NotifyIcon component. • Create access keys for Windows Forms controls. Chapter 4 Tool Strips, Menus, and Events ■ Add and configure a Windows Forms control. ■ Display images by using Windows Forms controls. ■ Create and configure menus. • Create and configure a MenuStrip component on a Windows Form. • Change the displayed menu structure programmatically. • Create and configure the ContextMenuStrip on a Windows Form. • ■ Create event handlers for Windows Forms and controls. • Use the Windows Forms Designer to create event handlers. • Manage mouse and keyboard events within Windows Forms applications. • Program a Windows Forms application to recognize modifier keys. • Use the Windows Forms Designer to create default event handlers. • Create event handlers at run time to respond to system or user events dynamically. • Connect multiple events to a single event handler. • Use the Code Editor to override methods defined in the base class. Chapter 5 Configuring Connections and Connecting to Data Manage connections and transactions. • Configure a connection to a database using the Data Source Configuration Wizard. • Configure a connection to a database using the Server Explorer. • Configure a connection to a database using the Connection class. • Connect to a database using specific database Connection objects. • Enumerate through instances of SQL Server. • Open an ADO.NET connection to a database. • Close an ADO.NET connection to a database by using the Close method of the Connection object. • Protect access to the connection details of a data source. • Create a connection designed for reuse in a connection pool. • Control a connection pool by configuring ConnectionString values based on database type. • Use the Connection events to detect database information. • Handle exceptions when connecting to a database. Chapter 6 Working with Data in a Connected Environment - Create, add, delete, and edit data in a connected environment.
- Retrieve data by using a DataReader object.
- Build SQL commands in Server Explorer.
- Build SQL commands in code.
- Create parameters for a Command object.
- Perform database operations by using a Command object.
- Retrieve data from a database by using a Command object.
- Perform asynchronous operations by using a Command object.
- Perform bulk copy operations.
- Store and retrieve binary large object (BLOB) data types in a database.
- Manage connections and transactions.
- Perform transactions by using the Transaction object.
Chapter 7 Create, Add, Delete, and Edit Data in a Disconnected Environment - Create, add, delete, and edit data in a disconnected environment.
- Create a DataSet graphically.
- Create a DataSet programmatically.
- Add a DataTable to a DataSet.
- Add a relationship between tables within a DataSet.
- Navigate a relationship between tables.
- Merge DataSet contents.
- Copy DataSet contents.
- Create a typed DataSet.
- Create DataTables.
- Manage data within a DataTable.
- Create and use DataViews.
- Represent data in a DataSet by using XML.
- Use the OleDbDataAdapter object to access an ADO Recordset or Record.
- Generate DataAdapter commands automatically by using the Command-Builder object.
Chapter 8 Implementing Data-Bound Controls · Implement data-bound controls. · Use the DataGridView control to display and update the tabular data contained · in a data source. · Use a simple data-bound control to display a single data element on a Windows Form. · Implement complex data binding to integrate data from multiple sources. · Navigate forward and backward through records in a dataset in Windows Forms. · Enhance navigation through a dataset by using the DataNavigator component. · Define a data source by using a DataConnector component. · Create data forms by using the Data Source Configuration Wizard and Data Sources window Chapter 9 Working with XML - Read, write, and validate XML by using the XmlReader class and the XmlWriter class.
- Read XML data by using the XmlReader.
- Read all XML element and attribute content.
- Read specific element and attribute content.
- Read XML data by using the XmlTextReader class.
- Read node trees by using the XmlNodeReader class.
- Validate XML data by using the XmlValidatingReader.
- Write XML data by using the XmlWriter class.
- Manage XML with the XML Document Object Model (DOM).
- Read XML data into the DOM.
- Modify an XML document by adding and removing nodes.
- Modify nodes within an XML document.
- Write data in XML format from the DOM.
- Work with nodes in the XML DOM.
- Handle DOM events.
- Modify the XML declaration.
Chapter 10 Printing in Windows Forms - Manage the print process by using print dialogs.
- Configure Windows Forms print options at run time.
- Change the printers attached to a user’s computer in Windows Forms.
- Configure the PrintPreviewDialog control.
- Display a Print Preview window in Windows applications.
- Set page details for printing using the PageSetupDialog component.
- Construct print documents.
- Configure the PrintDocument component.
- Print a text document in a Windows Form.
- Print graphics in a Windows Form.
- Print a document by using the PrintDialog component.
- Alert users to the completion of a print job.
- Create a customized PrintPreview component.
- Set the Document property to establish the document to be previewed.
- Set the Columns and Rows properties to establish the number of pages displayed
- Hrizontally and vertically on the control.
- Set the UseAntiAlias property to True to make the text appear smoother.
- Set the Zoom property to establish the relative zoom level when the document
- preview appears.
- Set the StartPage property to establish which document page is displayed when the document preview appears.
- Set additional properties.
- Add custom methods and events to a PrintPreviewControl.
Chapter 11 Advanced Topics in Windows Forms · Perform drag-and-drop operations. · Perform drag-and-drop operations within a Windows Forms application. · Perform drag-and-drop operations between applications. · Perform a drag-and-drop operation with a TreeView control. · Implement globalization and localization for a Windows Forms application. · Implement globalization and localization within a Windows Forms application. · Create and configure MDI forms. · Create MDI parent forms. · Create MDI child forms. · Identify the active MDI child form. · Send data to the active MDI child form. · Arrange MDI child forms. · Create a window list menu for an MDI application. Chapter 12 Enhancing Usability · Implement accessibility features. · Implement accessibility features within a Windows Forms application. · Create, configure, and customize user assistance controls and components. · Configure the PropertyGrid component. · Configure the ProgressBar control to indicate progress graphically. · Display status information by using the StatusStrip control. · Configure the ToolTip component. · Configure the ErrorProvider component. · Configure the HelpProvider component. · Play system sounds and audio files by using the SoundPlayer. · Configure the Timer component to raise an event at regular intervals. · Enable scrolling by using the HScrollBar and VScrollBar controls. · Persist Windows Forms application settings between sessions. Chapter 13 Asynchronous Programming Techniques · Run a background process by using the BackgroundWorker component. · Announce the completion of a background process by using the Background-Worker component. · Cancel a background process by using the BackgroundWorker component. · Report the progress of a background process by using the BackgroundWorker component. · Request the status of a background process by using the BackgroundWorker component. · Implement advanced asynchronous techniques. · Create an asynchronous method. · Create a new process thread. Chapter 14 Creating Windows Forms Controls · Create a composite Windows Forms control. · Create properties, methods, and events for Windows Forms controls. · Expose properties of constituent controls. · Create and use custom dialog boxes in Windows Forms applications. · Customize a control to paint and render. · Configure a control to be invisible at run time. · Configure a control to have a transparent background. · Provide a Toolbox bitmap for a control. · Create a custom Windows Forms control by inheriting from the control class. · Create an extended control by inheriting from an existing Windows Forms control. Chapter 15 Deployment · Configure the installation of a Windows Forms application by using ClickOnce technology. · Install a Windows Forms application on the client computer by using ClickOnce deployment. · Install a Windows Forms application from a server by using ClickOnce deployment. · Configure the required permissions of an application by using ClickOnce deployment. · Create a Windows Forms setup application. · Create a Windows Forms application setup project. · Set deployment project properties. · Configure a setup project to add icons during setup. · Configure conditional installation based on operating system versions. · Configure a setup project to deploy the .NET Framework. · Add functionality to a Windows Forms setup application. · Add a custom action to a setup project. · Add error-handling code to a setup project for custom actions.
|