Tag Archives: user interface design

Safely manage documents in C#

This is a pretty involved example that shows how to safely manage documents. The pieces are all simple but there are a lot of tightly integrated pieces. This example lets you create, edit, open, and save files in text and … Continue reading

Posted in files, forms, user interface | Tagged , , , , , , , , , , , , , , , , | 3 Comments

Quickly insert standard menu items on a form in C#

Many applications need standard File, Edit, Tools, and Help menus. Visual Studio provides a simple way to build standard menu items. You can then edit the menu to add new items and remove items that you don’t need. Visual Studio … Continue reading

Posted in menus, user interface | Tagged , , , , , , , , , , | Leave a comment

Move a form without a title bar in C#

When the user presses the mouse down over the green lblMoveForm Label in the form’s upper right corner, the following event handler executes. // On left button, let the user drag the form. private void lblMoveForm_MouseDown(object sender, MouseEventArgs e) { … Continue reading

Posted in forms, user interface | Tagged , , , , , , , , , , , | Leave a comment

Use ListView groups in C#

Many developers don’t realize that the ListView control can display items in groups. You can create ListView groups at either design or run time. Then you can add items to the groups. If you add an item without specifying a … Continue reading

Posted in controls, user interface | Tagged , , , , , , , , , , , , , | 3 Comments