.NET news » Components Components Rss Feed

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 >
download
Adding Smart Tags to Windows Forms Controls
One new features in Visual Studio 2005 is the support for smart tags.A smart tag is a panel that displays next to a control and contains a list of commonly used properties.
28 Jun 2007, 19:00:00   Source: Adding Smart Tags to Windows Forms Controls   Tags: Examples Components
Vista Style Progress Bar in C#
A Vista style Progress Bar complete with color property and animation
22 Jun 2007, 19:01:00   Source: Vista Style Progress Bar in C#   Tags: GUI Graphics Components
Transparent drop shadow in C# (GDI+ & Windows Forms)
How to create a panel with a transparent drop shadow in C# using GDI+
An Alpha Composited Windows Form

Windows has long had the ability to specify a region or transparency key allowing you to define an arbitrary Window border. This is often used with a background image to define an image outline as a Window frame. However, this border is composited with the desktop as a one bit mask giving you a pixelated boundary. It is especially unattractive with curvilinear borders which really need antialiasing and per pixel compositing. Aside from the unsightliness, it's not easy to define the region and/or transparency key to achieve a complex image based Window frame.

This is a Windows Forms control that works with Win32 APIs and without WPF. The control allows you to layout a 32 bit image with an alpha channel in the Forms designer and arrange additional controls within user specified areas of the image. At runtime, the control will generate a per pixel alpha composited Form with the desktop. The Form's Region property defines areas of the Form to host other controls, and it's calculated on the fly from the image's alpha channel. This control also supports runtime changing of the image. Before we discuss some of the code specifics, let's run through how you use it.

16 Jun 2007, 20:33:00   Source: An Alpha Composited Windows Form   Tags: Examples Graphics Components
GUI Library for Managed DirectX Applications
I am developing a 4X Space Opera game called Star Odyssey, in the tradition of the Master of Orion series. Every game needs a User Interface and mine is no exception. The DirectX SDK provides a sample UI that looks very cool, but it is very difficult to extrapolate from the project and it relies on textured GUI elements. Since I am not very good at drawing GUI elements, it would have taken ages for me to go that way. Instead, I took the ''programmer art'' way: to create controls and other GUI elements in a dynamic way, trying my best to make it look cool at the same time. The result is presented here.
14 Jun 2007, 16:01:00   Source: GUI Library for Managed DirectX Applications   Tags: GUI Graphics Components
A thermometer control
This article demonstrates a complex analog-style thermometer control in C#. The control is in pure managed code. Most visual elements can be adjusted through the control's properties.
11 Jun 2007, 16:35:00   Source: A thermometer control   Tags: Graphics GUI Components
A C# Numeric Field Control
This control can be easily configured to allow input of any value that is a collection of numeric fields, such as an IP address, IP address with ports, IPv6 address, MAC address, telephone number or social security number.
7 Jun 2007, 13:31:00   Source: A C# Numeric Field Control   Tags: Components GUI
Realtime Chart and Graph in One
I worked on a project in which I needed a graph control. Later on, I was also required to use a chart control. So I thought, hey, let's just combine them both into one nice and simple control..
16 May 2007, 15:33:00   Source: Realtime Chart and Graph in One   Tags: Graphics Components
Star Wars style text scroller

You can find text scrollers in many programs, especially in their "About" dialogs. In most cases, it's a simple colored text which moves up. In this article, I attempted to create something unusual. I decided to write an "outgoing" text component, which looks like a 3D effect (like in the intro to the Star Wars movies).

GDI+ provides many "easy to use" objects and functions. Using these functions, you can do something special without much trouble. Before writing this component with the help of GDI+, I tried to create it with GDI. This required much more time and resulted in ten times more code. It seems to be a hard task, but later I recreated this same component in GDI+. That was easy. After that, I decided to write this article to demonstrate some features of GDI+..

16 May 2007, 13:49:00   Source: Star Wars style text scroller   Tags: Graphics Components
ASP.NET Splitter Bar - Resize panels, table cells, and controls.
VwdCms.SplitterBar is a server control that allows you to easily add resizing to your web page layout. This version of the control is designed to work in a 2 column layout.
< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 >