User Interfaces in C#: Windows Forms and Custom Controls: Custom Controls
Custom 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
This 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
Multicore and GPU Programming for Video Games
Why Programmable Shaders
. Hardwired pipeline
- Produces limited effects
- Effects look the same
- Gamers want unique look-n-feel
- Multi-texturing somewhat alleviates this, but not enough
- Less interoperable, less portable
. Programmable Shaders
- Vertex Shader
- Pixel or Fragment Shader
- Starting from DX 8.0 (assembly)
- DX 9.0 added HLSL (High Level Shading Language)
- HLSL (MS) is compatible with Cg (Nvidia)
Read more
Tutorial Exploring Game Development in the .NET Platform with Managed DirectX, GDI+ and Mobile Devices
This tutorial explores current game development possibilities for the .NET Platform. The creation of a simple 2D game engine is used to illustrate many aspects of Managed DirectX computer game development, while concepts such as graphics manipulation, input handling and sound support are also discussed considering the GDI+ API and game development for mobile devices. The final purpose is to empower game developers to the productive creation of computer games through Microsoft’s recent technologies, services and tools.
Read more
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