Dave is a Principal Technical Evangelist for Microsoft focused on Windows, Windows Phone, Windows Azure and the Web. Based out of the Greater Philadelphia Area.
As previously mentioned here I will be posting all my material from the Financial Developers Conference session online.
You can now grab the Powerpoint here.
Grab the Source Code here.
Here is a breakdown of what you will find in the zip file.
AjaxUpdateStatus
<asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> Loading, Please Wait... </ProgressTemplate> </asp:UpdateProgress> protected void Button1_Click(object sender, EventArgs e) { Thread.Sleep(5000); }
<asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> Loading, Please Wait... </ProgressTemplate> </asp:UpdateProgress>
protected void Button1_Click(object sender, EventArgs e) { Thread.Sleep(5000); }
SLDevCon
<MediaElement Height="152" HorizontalAlignment="Right" Margin="0,0,25,28" VerticalAlignment="Bottom" Width="178" x:Name="myVid" Source="Bear.wmv" Visibility="Visible" Opacity="0"/> <TextBlock Height="59" HorizontalAlignment="Left" Margin="45,0,0,52" x:Name="myText" VerticalAlignment="Bottom" Width="203" Text="USING VIDEO" TextWrapping="Wrap" FontSize="24" > <TextBlock.Foreground> <VideoBrush SourceName="myVid"/> </TextBlock.Foreground> </TextBlock>
SLTimers
timer= new DispatcherTimer(); timer.Interval = new TimeSpan(0, 0, 2); rng = new Random(); timer.Tick += new EventHandler(timer_Tick); timer.Start(); } void timer_Tick(object sender, EventArgs e) { Byte[] colors=new byte[3]; rng.NextBytes(colors); btnClick.Foreground=new SolidColorBrush(Color.FromArgb(255,colors[0],colors[1],colors[2])); }
TestDepth
<Grid x:Name="LayoutRoot" Background="White"> <MultiScaleImage x:Name="myZoom" Width="1014" Height="766" Source="http://localhost:49862/TestDepth_Web/ClientBin/FinServHeroes/info.bin" Cursor="Hand" MouseLeftButtonDown="myZoom_MouseLeftButtonDown" MouseLeftButtonUp="myZoom_MouseLeftButtonUp" MouseMove="myZoom_MouseMove" /> <MediaElement x:Name="mp3Heroes" Source="http://localhost:49862/TestDepth_Web/ClientBin/Heroes.mp3" AutoPlay="False" /> </Grid>
public Page() { this.InitializeComponent(); this.KeyDown += new KeyEventHandler(Page_KeyDown); myZoom.KeyDown += new KeyEventHandler(myZoom_KeyDown); } void Page_KeyDown(object sender, KeyEventArgs e) { CheckMusic(e); } void CheckMusic(KeyEventArgs e) { switch (e.Key) { case Key.W: mp3Heroes.Play(); break; case Key.S: mp3Heroes.Pause(); break; case Key.X: mp3Heroes.Stop(); break; default: return; } }
Web-AJAX
Web-SLMediaPlayer
<Storyboard x:Name="myLogoSpin"/> </Canvas.Resources> <Canvas.Triggers> <EventTrigger RoutedEvent="Canvas.Loaded"> <BeginStoryboard> <Storyboard x:Name="spinMyImg"> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="image" Storyboard.TargetProperty="(UIElement.Opacity)"> <SplineDoubleKeyFrame KeyTime="00:00:02" Value="1"/> <SplineDoubleKeyFrame KeyTime="00:00:04" Value="1"/> <SplineDoubleKeyFrame KeyTime="00:00:05" Value="0"/> </DoubleAnimationUsingKeyFrames> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="image" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)"> <SplineDoubleKeyFrame KeyTime="00:00:02" Value="0"/> <SplineDoubleKeyFrame KeyTime="00:00:04" Value="361.077"/> </DoubleAnimationUsingKeyFrames> </Storyboard> </BeginStoryboard> </EventTrigger> </Canvas.Triggers>
WPFButton
Feel free to email me with any questions. I plan to have the Deep Zoom and Video Editing screencasts done shortly and will post the links up here so stay tuned.
PingBack from http://blogs.msdn.com/davedev/archive/2008/03/15/where-to-get-my-finserv-devcon-content-deepzoom-silverlight-and-other-expression-goodness.aspx
Tim Heuer revisits SL2 and WS, Jesse Liberty discussing how to get SL assistance, Bill Reiss on the DispatcherTimer
Blog post and C9 video by Dave Isbitski, with PPT and source code: http://blogs.msdn.com/davedev/archive/2008/03/16/creating-amazing-user-experiences-on-the-microsoft-platform-available-for-download-now.aspx