* Merge winforms framework content to working branch (#14) * Breadcrumb / TOC / Move net5 to net folder (#15) * change path from net5 to net * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Add .net 5 winforms placeholder article (#16) * added some metadata and adjusted net5 placeholder * corrections * corrections * corrections * Test1 * Swapping landing page vs concept * fix links * Fix links * Fix desc
1.8 KiB
title, description, ms.date, helpviewer_keywords, ms.assetid
| title | description | ms.date | helpviewer_keywords | ms.assetid | ||
|---|---|---|---|---|---|---|
| How To: Create a New Setting at Design Time | Learn how to create a new Windows Forms setting at design time by using the Settings designer in Visual Studio. | 03/30/2017 |
|
c5d60a66-6507-462f-a81f-e3bc0a804e16 |
How To: Create a new setting at design time
You can create a new setting at design time by using the Settings designer in Visual Studio. The Settings designer is a grid-style interface that allows you to create new settings and specify properties for those settings. You must specify Name, Value, Type and Scope for your new settings. Once a setting is created, it is accessible in code.
Create a new setting at design time in C#
-
Open Visual Studio.
-
In Solution Explorer, expand the Properties node of your project.
-
Double-click the .settings file in which you want to add a new setting. The default name for this file is Settings.settings.
-
In the Settings designer, set the Name, Value, Type, and Scope for your setting. Each row represents a single setting.
Create a new setting at design time in Visual Basic
-
Open Visual Studio.
-
In Solution Explorer, right-click your project node and choose Properties.
-
In the Properties page, select the Settings tab.
-
In the Settings designer, set the Name, Value, Type, and Scope for your setting. Each row represents a single setting.