.NET news » Search results

Search results for query "orm" (111):

Transparent drop shadow in C# (GDI+ & Windows Forms)

How to create a panel with a transparent drop shadow in C# using GDI+
2007-06-18 13:58:00   Source: Transparent drop shadow in C# (GDI+ & Windows Forms)   Tags: Graphics GUI

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.

2007-06-16 20:33:00   Source: An Alpha Composited Windows Form   Tags: Examples Graphics

Use Transformations to Draw Your Own Great Graphs

Visual Studio comes with a huge number of pre-built components and controls, including controls for entering and displaying text, letting the user pick options and make choices, displaying values graphically, interacting with databases, displaying dialogs, and containing and arranging other controls. But it comes with surprisingly few controls for displaying graphical data. If you don't want to shell out big bucks for a third-party graphing control, you're pretty much stuck drawing your own pictures on a PictureBox.

Fortunately, drawing graphs isn't all that hard. Mostly it's a matter of drawing lines or boxes to connect some data points. The only really tricky details involve translating data values to and from the pixel coordinate system used to draw on the control..

2007-05-11 15:07:35   Source: Use Transformations to Draw Your Own Great Graphs   Tags: Graphics

Terrific Transformations

Learn how to use .NET transformations to make rotating, stretching, and moving objects simple--even for complex objects such as paths and text.
2007-05-01 16:16:16   Source: Terrific Transformations   Tags: Graphics

Easily Build Mobile PC Awareness into your older, pre-WPF Mobile PC agnostic Windows Forms

At a minimum, a Mobile PC application is expected to efficiently manage the power needs, communication environment, inking and form factor constraints of the platforms it supports. This article shows how to easily incorporate ink awareness, power awareness, power awareness and size awareness into otherwise Mobile PC agnostic Windows Form applications, bringing then much closer to conformity as Mobile PC applications. The Mobile PC agnostic Windows Form application used for this demonstration is the VB.NET version of the Black Jack Card Game Starter Kit sample application with either Visual Basic 2005 Express Edition or Visual Studio 2005 as the development environment. The idea is to combine several distinct classes that manage screen size, ink, power and network connectivity separately into one Windows Form class that is easily inherited by a Mobile PC agnostic application. This article highlights some of the benefits of this approach.
2007-05-01 11:57:00   Source: Easily Build Mobile PC Awareness into your older, pre-WPF...   Tags: Mobile

Boost ASP.NET Performance with Precompilation

The latest version of ASP.NET, version 2.0, supports several new and exciting features that promise to enhance developer productivity, administration and management, extensibility, and performance. One of these features is precompilation, which either developers or administrators can use to precompile ASP.NET applications before they are deployed. Moreover, the new precompilation feature can detect and provide warnings about any compilation failure issues, and lets you deploy applications without the need to store the source code on the deployment server. Precompilation can both reduce application response time and improve performance. This article explains how to use the new feature effectively.
2007-04-19 13:43:00   Source: Boost ASP.NET Performance with Precompilation   Tags: ASP.NET Performance

Perform Automated Testing Easily and Quickly

Failing to adopt an appropriate testing approach to help identify bugs along the development process can have as devastating an impact on your project as a hurried or non-existent design. Fortunately, automated testing tools like AutomatedQA's TestComplete 5 make the process of creating structured testing affordable and significantly less time-consuming.
2007-04-02 15:34:59   Source: Perform Automated Testing Easily and Quickly   Tags: Testing

Add Excel-like formula support to your application

A library to parse and evaluate Excel-style formulas and recalculate in natural order
2007-03-17 22:27:00   Source: Add Excel-like formula support to your application   Tags: Components Office

Improve Debugging And Performance Tuning With ETW

Event Tracing for Windows (ETW) provides general-purpose, high-speed tracing of events raised by both user-mode applications and kernel-mode device drivers. Learn how ETW can improve your development and debugging work.
2007-03-12 19:00:00   Source: Improve Debugging And Performance Tuning With ETW   Tags: Debug Performance

How To Get Hardware Information (CPU ID, MainBoard Info, Hard Dik Serial, System Information , ...)

An article to demonstrate how to get system hardware information such as CPU ID, Hard Disk serial number and so on