Welcome to WindowsClient.net | My Blog | Sign in | Join

Windows Client Videos

October 2007 - Posts

Implementing Property Triggers in WPF

Styles, while useful for standardizing and consolidating the look and feel for controls, also have a concept of “triggers”.  Triggers allow for the setting of properties or timeline manipulation based on the value of a property.  A style can contain one or more triggers.  This presentation demonstrates how to implement a simple property trigger.

Author: Todd Miranda

Posted: Oct 11 2007, 01:08 AM by jaytayl | with 2 comment(s)
Filed under:
Smart Client Using Web Services

This session features using web services from existing published Web Service sites.

We’ll build a sample application that accepts a location like “Boston” and queries Microsoft’s TeraServer for the latitude and longitude, then we'll use that data to return an image of the location to a winform.

Author: Pat Tormey

Style Inheritance using BasedOn in WPF

In WPF, styles can be inherited to enable a cleaner more efficient use of style resources.  This style inheritance is accomplished by using the BasedOn property of the style.  In this presentation Todd Miranda will demonstrate how to use BasedOn to inherit and extend styles in WPF applications.

Author: Todd Miranda

Posted: Oct 04 2007, 01:13 AM by jaytayl | with no comments
Filed under:
Cache the Dataset on the Client Side as XML

In this video Pat Tormey walks us through a quick review of the SmartClient application we’ve built in previous videos and demonstrates how to cache the dataset on the client side as XML to the users local AppData Folder and recover it on the next start up. The technique shows how to flag the DataSet with a date stamp and use it later to expire the cache on the client.

Author: Pat Tormey

Apply Styles in WPF

Windows Presentation Foundation (WPF) provides that capability to radically change the appearance and functionality of a user interface element via property system.  Styles in WPF provide the capability to separate the property settings that affect an element from the element itself.  With styles, one can define blocks of property settings that can be applied to one or more elements.  Learning to use styles can not only provide a separation of the element and the properties affecting its appearance and behavior, but allow code to be read more easily.  In this presentation Todd Miranda provides a look at creating and applying styles in WPF.

Author: Todd Miranda

Posted: Oct 04 2007, 12:54 AM by jaytayl | with no comments
Filed under:
Filtering Datasets on the Client

After a brief review of our previous Client Server application, this example demonstrates Filtering the Dataset on the client side using both a Textbox and by adding a read-only Dataset/TableAdapters to the Webservice that return the first letters of all the Northwind companies as the basis for a filtering toolbar.  This applies to Client Server and SmartClient applications.

Author: Pat Tormey

Deploying a Standard WPF Application Using ClickOnce and Visual Studio

ClickOnce deployment, introduced in .NET 2.0, is just one of the deployment strategies used to deploy WPF applications.  This presentation demonstrates how to deploy a WPF application and deploy updates to that application using ClickOnce deployment.  Visual Studio’s Publish Wizard is used to create the ClickOnce deployment.

Author: Todd Miranda

Posted: Oct 04 2007, 12:45 AM by jaytayl | with 5 comment(s)
Filed under:
SmartClient: Multi-Table Binding

In this video Pat Tormey demonstrates binding and updating of parent child related tables while using the Webservice to update the back end data source respecting the Related model.

 

Author: Pat Tormey