9 Wired In March Edition
 

From the Editor


Welcome to March's edition of Wired In! This month, we are excited to announce a new VMware vSphere 4.0 Ultimate Bootcamp course. We have also added courses for Exchange 2010 and Windows 7! Along with these courses, we are introducing specially priced career packages through our career portal that will help you get certified on many of the new MS technologies.

 

Also, check out:

We are Listening!

 

Exchange 2010 Courses!

 

Attend our Free Microsoft Events!

 

IT Career Portal!

 

Microsoft Specials!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Become a Certified Virtualization Expert with VM Training!

VM Training

 

As storage space decreases and information capacity increases, virtualization machine training certifications are becoming an in demand skill. With our 5-day Ultimate Bootcamp you can prepare for your journey to certification in less time!

 

VMware vSphere 4.0 Ultimate Bootcamp

 

The VMware® vSphere 4.0 Ultimate Bootcamp® is taught by top virtualization experts and offers hands-on labs designed to expose the student to advanced virtualization concepts and the VMware® vSphere 4.0 product suite. This comprehensive class prepares the student to become a certified professional virtualization expert with the Certified Virtualization Expert 4.0® (CVE 4.0®) certification to attest to their knowledge of the material and technology.

Ultimate Bootcamps are designed to give the student in-depth skills training through hands-on experience with state-of-the art equipment. Read more about the benefits of our vSphere class

 

View Course Outline

Register Now!

Last Chance Courses

MS SharePoint

Mindsharp - SharePoint Server 2010 Administrator Beta Apr. 5

MS SharePoint Power User Apr. 8, May 6

50146A: Programming Microsoft Office SharePoint Server Apr. 26

50149B: SharePoint 2007 Operations Apr. 19, Jun. 21

MS Windows Server

6430A: Planning and Administering Windows Server 2008 Servers Apr. 5

6426A: Configuring and Troubleshooting Identity and Access Solutions with Windows Server 2008 AD Apr. 7

6416C: Updating your Network Infrastructure and Active Directory Technology Skills to Windows Server Apr. 12

6435A: Designing a Windows Server 2008 Network Infrastructure Apr. 12

MS SQL Server

6232A: Implementing a Microsoft SQL Server 2008 Database Apr. 19

2779B: Implementing a Microsoft SQL Server 2005 Database Apr. 26

MS Exchange 2007 & 2010

10135A: Configuring, Managing and Troubleshooting Microsoft Exchange Server 2010 Mar. 22

3938C: Updating Your Skills from Microsoft Exchange Server 2000/2003 to 2007 SP1 Apr. 26

5051: Monitoring and Troubleshooting Microsoft Exchange Server 2007 Apr. 29

MS System Center 2007

50028B: Managing System Centre Operations 2007 Apr. 12

6451A: Planning, Deploying and Managing Microsoft System Center May 3

Visual Studio 2008 & ASP.NET 3.5

6368A: Programming with the Microsoft .NET Framework using Microsoft Visual Studio 2008 Mar. 22

2541B: Course 2541B: Core Data Access with Microsoft Visual Studio 2005 Apr. 19

Windows 7

50321A: Windows 7, Configuring Technology Specialist Course Mar. 29

6292A: Installing and Configuring Windows 7 Client Apr. 7

6294A: Planning and Managing Windows 7 Desktop Deployments and Environments Apr. 19

 

Upcoming Course Information

View all Microsoft Courses
Microsoft SQL Courses
Microsoft Exchange Courses
Microsoft System Center Courses
Microsoft SharePoint Courses
Microsoft Windows Server Courses
Microsoft .NET Development Courses
Microsoft Communication Server Courses

Developer's Connection

Developerby: Scott Jackson, MCT

 

Introduction to WPF

 

WPF is the next-generation presentation system for building client applications in the Windows operating system. You can use it to build a range of Windows-based applications, from a simple word processor or media player to an enterprise-level line-of-business application.

 

By using WPF, you can create both stand-alone and browser-hosted applications.

 

The cool part of WPF is that it can inject some much needed style into the traditional windows form – in effect making them more like a website. XAML, the markup language that WPF uses, will look familiar to HTML coders. You create your UI definitions in XAML, and they are stored in files that have the .xaml file name extension.

 

Everything that you can do in markup language, you can do in code. Therefore, you do not have to use XAML; you can build your UI by using code. If you are working in WPF, you should really be working in XAML though.

 

Let’s take a look at some basic XAML (with some spacing added for readability):


<Window x:Class="WpfApplication3.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">

    <Grid Background="White">

        <Rectangle Margin="190,86,196,102"/>

    </Grid>
</Window>

 

Stepping through this short code, we can see that the <Window> element is on top, and defines the height and width of the MainWindow.

 

We are creating a rectangle inside of a grid. The Rectangle itself has its margins set as an attribute, and creates a form that looks like:

 

 

Next up, I am going to add a Fill tag to this rectangle, and use brushes to paint the insides with a nice gradient.

 

<Window x:Class="WpfApplication3.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">

    <Grid Background="White">

        <Rectangle Margin="190,86,196,102">

            <Rectangle.Fill>

                <RadialGradientBrush GradientOrigin="0.75,0.25">

                   <GradientStop Color="LightBlue" Offset="0.0" />
<GradientStop Color="Black" Offset="0.5" />
<GradientStop Color="Red" Offset="1.0" />

                </RadialGradientBrush>

            </Rectangle.Fill>

        </Rectangle>

    </Grid>
</Window>

 

The result is:

 


I could also add animations, and I could turn a rectangle like this into a button or another control!
We could have made this in C# or VB.NET, but the XAML code is much easier to read – and it separates our design from our development.  This is a technology that is well worth looking at for future projects.

 

Cheers,

Scott


If you want to give Scott feedback on this article, email him @ sjackson@neweratechology.com

New Era Technology
#300, 633 - 6th Ave S.W., Ford Tower Calgary, Alberta Canada T2P 2Y5
Phone: 403-265-1150
Fax: 403-265-9797

www.neweratechnology.com

Unsubscribe
New Era Technology