Category Archives: settings

Use a string collection setting in C#

A program’s settings can include many data types such as int, char, DateTime, and Color. If you want to be able to hold a list of strings, you can make a setting that has type StringCollection. To create such a … Continue reading

Posted in settings | Tagged , , , , , , , , , | 1 Comment

Save a color palette in a program’s settings in C#

The example Make a persistent color palette in C# shows how a program can use settings to save and restore a color palette. The program saves the palette colors as a list of ARGB color values stored in a string … Continue reading

Posted in arrays, drawing, graphics, settings | Tagged , , , , , , , , , , , , | Leave a comment

Make a persistent color palette in C#

This example saves and restores the colors in a color palette when it starts and stops. It also lets the user click on a color in the palette to change its value. The program stores the colors in an array … Continue reading

Posted in drawing, graphics, settings | Tagged , , , , , , , , , , , | 1 Comment

Get assembly information in C#

If you open the Project menu and select Properties, Visual Studio displays the project’s property pages. If you then select the Application tab and click the Assembly Information button, you see the dialog shown above. Here you can set various … Continue reading

Posted in settings, system | Leave a comment