May 2007 - Posts
Kathleen McGrath and Paul Stubbs explain managed code and OOP concepts by exploring the .NET Framework and examining how a VSTO solution uses primary interop assemblies and how solution assemblies are created and run.
Office 2007 offers great new features, one of them is the SuperTooltip which provides much more information about controls than standard old style tooltips. This article shows how to build tooltips in such a way.
When Microsoft set about building the Windows Presentation Foundation, one core goal was to create an environment for applications capable of both two-dimensional and three-dimensional content simultaneously. Using a traditional approach, this would have led to an abstract Button class followed by Button2D and Button3D subclasses that would override the painting rules. Tearing a page from the CSS-based Internet, Microsoft also wanted the look and feel of all controls to be controllable via styles that, when updated, would in turn update the look and feel of every component of that type in the application. Microsoft's solution is called "Lookless" controls.
Several months ago, I invested several days' work to find how to implement the multiline combobox in VS8 DataGridView control. I found several solutions but they didn't fit my needs. I wanted something very simple. And I found it by using Owner Draw approach—just drawing a multicolumn control by myself. Here are the results.
If you are a long-time Windows developer, at some point in time you must have faced the difficulty in adjusting your forms and dialogs for multiple screen resolutions. In the past, developers used various techniques to avoid such problems, including resizing controls at runtime by handling certain event handlers. However, the task was certainly not an easy one. Fortunately, the .NET Framework 2.0 provides some handy techniques that allow you to provide dynamic layout to your forms. In this article, I am going to illustrate some of these techniques with examples.
The most popular database instrument for .NET applications is ADO.NET. This set of components contains three main classes used to manipulate and store data: DataReader, DataSet, and DataAdapter
Break out of the box by combining TransparencyKey with FormBorderStyle.None to create forms of any shape.
XAML is a language for .NET 3.0 which is responsible for forms and its elements. It is a so called markup language like HTML. Unfortunately there is no GUI tool that helps you code with XAML at the moment and that probably will not change until Microsoft releases the first Service Pack for Visual Studio 2007. So you got plenty of time to learn the basics of XAML without any shiny Wizards and GUIs.
The DigitalCounter is an implementation of the famous 7 segment display - having the following features: DigitalCounter displays numbers. DigitalCounter can be used as a timer. Each Active or InActive segment has two modes: Fill and Draw. DigitalCounter has a colorful gradient background. DigitalCounter has a rich design-time support.
What is XAML? How to use XAML? How we can make UI with XAML? How XAML work with WPF?
Make your Windows Forms applications shine with custom color palettes; get pros and cons for creating apps with a Microsoft Office 2007 look-and-feel; and drill down on anonymous methods in C# and VB.
A number of "low-tech" approaches for implementing security around your Web services don't involve a lot of extra coding.
When managing a data access layer, the write part is where things can go awry. Writing requires managing changes, validation, and transactions. Learn how to handle the challenge
Learn how to develop a custom message box using Microsoft Visual C#.
Learn how to develop C++ wrapper functions around .NET classes.
Next page »