|
Shown vs. Load and Quick, Easy Applications Settings with Properties in .NET
For the first Dot Net Preacher show, we take a look at the difference between the Shown and Load events, then go on to see how .NET makes it easy to save application settings with almost no effort using NAMESPACE.Properties. The two take away tidbits of code for adding Properties to your 2.0 .NET application are: using DotNetPreacher_001_Shown.Properties; That gives you access to the settings, and: Settings.Default.Save(); That lets you save your application settings. See the sample application for details. Download the sample application here: Episode #1: Shown vs. Load & Properties Intro Music: "Two Gods" By: Attrition You can find those blasphemers at http://www.attrition.co.uk/ (Caution - that only works in Internet Explorer... Don't blame me... I told you they were blashphemers!), or you can also find them at http://www.myspace.com/danteskitchen.
|