| Author: Lalji 27 Oct 2009 | Member Level: Diamond | Rating:  Points: 2 |
you can visit this link
http://geekswithblogs.net/lbugnion/archive/2006/10/11/93743.aspx
|
| Author: K Hari Prasad 03 Nov 2009 | Member Level: Gold | Rating:  Points: 2 |
by using Application properties.
// Set an application-scope property with a custom type CustomType customType = new CustomType(); Application.Current.Properties["CustomType"] = customType;
// Get an application-scope property // NOTE: Need to convert since Application.Properties is a dictionary of System.Object CustomType customType = (CustomType)Application.Current.Properties["CustomType"];
|