User Interfaces in C#: Windows Forms and Custom Controls: Custom Controls

User Interfaces in C# Windows Forms and Custom Controls Custom ControlsCustom controls are a key theme in .NET development. They can help your programming style by improving encapsulation, simplifying a programming model, and making user interface more “pluggable” (i.e., making it easier to swap out one control and replace it with a completely different one without rewriting your form code). Of course, custom controls can have other benefits, including the ability to transform a generic window into a state-of-the-art modern interface.
Read more

Creating a Custom Panel Written in C# - For Implementation in Ascent Capture 7.5

Creating a Custom Panel Written in C# - For Implementation in Ascent Capture 7.5This document will walk you through creating a custom panel written in C#. The custom panel is designed to run in the Quality Control module and provides an easy way to unreject multiple Documents and Pages as viewed in the Batch Contents window. This panel uses a ToolStrip control containing three image and text buttons.
Read more

Programming .NET Windows Applications Drawing and GDI+

Programming .NET Windows Applications Drawing and GDI+The designers of .NET, and especially of Visual Studio .NET, clearly had in mind a model in which you could write sophisticated Windows Applications using only the controls available in the Toolbox. This approach is very successful, and many Windows programmers will never need to go beyond the Toolbox and forms model for building powerful user interfaces. As discussed elsewhere in this book, the Toolbox includes controls for displaying data (labels, DataGrids, Calendars, listboxes, etc.) as well as for offering the user choices (radio buttons, checkboxes, listboxes, etc.) and for gathering data (text boxes, etc.) In addition, several controls and components manage date and time (Timer, etc.) or the form itself (splitter, etc.).
Read more

GDI+ Custom Controls with Visual C# 2005 Working with Images

GDI+ Custom Controls with Visual C# 2005 Working with ImagesEver since Graphical User Interfaces (GUIs) were invented, developers have been keen to use images to make their programs easier to use, and more attractive and intuitive to their users. Images brighten up an otherwise boring and clinical computer screen, and make the general computing experience more enjoyable. Visual support facilitates the information absorption and presentation of up-to-date information. Any user can more easily understand information just by looking at a picture. Images are the most intuitive memories because the human mind in most cases has a visual memory. This means that when you recall a memory it is frequently a visual one. Think briefly of a tree. What comes to your mind first? Is it the roughness of bark, the taste of fruit or nuts, the smell of tree, the rustle of leaves-or is it a picture of a tree?
Read more