Hello World Silverlight on a Blog Post

17 ביולי 2009

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 : ) ...
תגובה אחת

WPF Simple ControlTemplate Sample

16 ביולי 2009

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="Page1" Height="300" Width="300">    <Page.Resources>       <Style TargetType="{x:Type...
אין תגובות

Rendering Video with VMR9 on a Windows Form

6 ביולי 2009

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...
תגיות: , , , ,
4 תגובות