Category Archives: settings

Get assembly information in C#

To set a project’s assembly information, open the Project menu, select Properties, click the Application tab, and click the Assembly Information button. When you do, you’ll see the Assembly Information dialog shown on the right. Here you can set various … Continue reading

Posted in settings, system | Tagged , , , , , , , , , , , , , , , , , , | 2 Comments

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