demo

peruvianwageslaveInternet and Web Development

Feb 5, 2013 (4 years and 9 months ago)

93 views

Step 1. Basics & C# strategy

#if
SILVERLIGHT


// Silverlight

#else


// WPF

#
endif

Control.cs


Themes
\
Generic.xaml

Step 1. Basics & C# strategy

Step 4. XAML

xmlns
=“http://schemas.microsoft.com/winfx/2006/xaml/presentation”

xmlns:x
="http://schemas.microsoft.com/winfx/2006/xaml"

http://schemas.microsoft.com/client/2007

Step 1. Basics & C# strategy

Step 4. XAML

Step 5. Default styles

Step 1. Basics & C# strategy

Step 4. XAML

Step 6. VSM

Step 7. Wild hacks

Step 1. Basics & C# strategy

Step 4. XAML

Step 7. Wild hacks


source.OnSelectionChanged
(new







SelectionChangedEventArgs
(

#if
SILVERLIGHT



SelectionChangedEvent
,

#
endif




removed, added));

var

x = new
GlobalExceptionHandler
(
MyHandler
);

x.InterceptUnhandledExceptions

=
true
;

http://silverlight.codeplex.com/
http://www.jeff.wilcox.name/
©
2009 Microsoft
Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademar
ks
and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the
dat
e of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accu
rac
y of any information provided after the date of this presentation.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.