How To: Read Settings at Run Time With C#
You can read both Application-scoped and User-scoped settings at run time via the Properties object. The Properties object exposes all of the default settings for the project via the Properties.Settings.Default member.
To Read Settings at Run Time with C#
Access the appropriate setting via the Properties.Settings.Default member. The following example shows how to assign myColor setting to a BackColor property.
// C# this.Backcolor = Properties.Settings.Default.myColor;
See Also
Tasks
How To: Write User Settings at Run Time with C#