Browse by Tags

All Tags » Windows Forms   (RSS)

Paste as Xaml Visual Studio Add-In

Common Windows Presentation Foundation controls don't necessarily provide an intuitive path for upgrading from their Windows Forms equivalents. Take, for example, the RichTextBox control - there is no Rtf property for setting and getting RTF formatted
Posted by Andrej Tozon | 1 Comments

You've got mail: Windows Forms & WPF interop

One of my favorite samples when talking about WPF is showing a rotating 3D letter ' e ' in a Windows Forms application. You know, something like those "you've got mail" computer messages, seen in many Hollywood movies. Windows Forms/WPF

WPF/WinForms Binding Pt.2: Value converters

In previous WPF vs Windows Forms binding post , we left off with pretty useless text binding example - we made the form's title reflect whatever user writes in the textbox: <Window x:Class="BindingSample.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Posted by Andrej Tozon | 2 Comments

WPF vs. Windows Forms (data) binding

When talking to people about (data) binding in Windows Presentation Foundation, I find that a lot of them are amazed with how easy it is to bind some control's property to another, and the first one being able to react to other's changes. I'm
Posted by Andrej Tozon | 2 Comments

Slides from my WPF talks

This is the PowerPoint presentation [in Slovenian language] from my WPF talks I did yesterday and two weeks ago. This was my first time delivering full-day courses and not everything went as originally planned. The first talk suffered from some technical

Client Application Services - NTK2007 Sample

Attached to this post is the CAS sample I've been presenting on NTK2007, translated to English. Here's couple of notes about setting it up and taking it further: 1. The ("Orcas") solution contains two projects: ClientServices is a web
Posted by Andrej Tozon | 0 Comments

Client Application Services in Windows Forms - The Walkthrough

I was just about to record my first screencast on Client Application Services I was presenting a week ago on local NT Konferenca , when this post popped up in my feeds aggregator - Karl Erickson posted a CAS Walkthrough document, overviewing CAS features,
Posted by Andrej Tozon | 4 Comments

Slides from my WF/WPF Interop talk in Maribor

Here's the slide deck from my recent talk on Innovation Days/Imagine Cup event in Maribor. I won't be posting any sample code here; as promised, you'll be able to build sample apps, similar to those presented, at one of the Hands-On-Labs on
Posted by Andrej Tozon | 0 Comments

Adventures in Calculus, pt. 2: A Letter to Santa

In previous adventure , we built a simple calculator with some help of DataTables and data binding. Today, with holidays right behind the corner, we'll write a letter to Santa, using the same tools. DataTable's expressions can include other columns' values
Posted by Andrej Tozon | 3 Comments

Adventures in Calculus, pt. 1

Evaluating simple mathematical expressions in .NET may not appear as an easy task. I mean, how would you code something like Eval("1+1")? While there are more complex solutions to such problem, like using JScript's Eval.JScriptEvaluate(),
Posted by Andrej Tozon | 2 Comments

Latest hotfixes for Visual Studio developers

Microsoft launched a " DevDiv Hotfix Public Availability Pilot Program ", which will allow developers to access and download some of the latest hotfixes of their developer tools. Not many hotfixes are available at this time [the one that caught

Visual Basic 2005 Power Packs

If you're a VB6 developer, who is just about to migrate to the new, VB 2005 (.NET 2.0) environment, you'll probably going to miss some of the old tools and features you loved to use in good old VB6. To ease up the migration process for you, Microsoft

Windows Forms controls - controlling the z-order

Talking to other developers and hanging around newsgroups and forums I noticed quite a few people have problems arranging controls on a windows form in design time. A typical problem is the overlapping of docked controls. For example, put a Panel and