DCSIMG
July 2009 - Posts - David Sackstein's Blog

July 2009 - Posts

2
Comments

Hello World Silverlight on a Blog Post by David Sackstein

This is a test page that I wrote to check that I can run Silverlight applications in a blog post. This way I will be able to demonstrate Silverlight and WPF (not all) stuff without you having to necessarily download and compile it. It works! and the possibilities are endless : ) Here is the XAML for this Hello World blog-hosted Silverlight application: < UserControl x : Class ="HelloWorld.MainPage"    xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
0
Comments

WPF Simple ControlTemplate Sample by David Sackstein

Here is a sample of using a ControlTemplate to customize a button. The result is a circular button with a radial brush that, when clicked, animates the origin of the brush from the center by a small offset - and then back. I put it in a page so you can copy this snippet to a text file and open with Internet Explorer. < Page   xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   xmlns : x ="http://schemas.microsoft.com/winfx/2006/xaml"   Title...
4
Comments

Rendering Video with VMR9 on a Windows Form by David Sackstein

This week I taught a class on video and DirectShow and sat down to prepare some demos. In this demo I show how to use the Video Mixing Render 9 (VMR9) in Windowless mode to render video on the Form of a Windows Forms application. As in my posts on MSXML I found that the smart pointers of comdef.h and comip.h really helped to clean up the code. Why, programming the VMR9 in C++ can be as elegant as C# ! You can find the complete source code here . High Level Design For this demo I started with the...
תגים:, , , ,
Powered by Community Server (Commercial Edition), by Telligent Systems