Thursday, November 20, 2008
 
   
 
Welcome to my site

First let me say thanks for stopping by my site. My name is David Hanson-Graville and I am a IT consultant working in the UK. Let me make it clear, I am passionate about technology and specifically .net and its various forms. I've programmed in a range of langages, but I can say, I am now at my happiest when coding with c#. I hope my blog is an enjoyable & educational read and please feel free to email me at David.Hanson@OnTheBlog.net if you have any questions. 

Archive Minimize
Print  
Contact me Minimize
Print  
Microsoft Certs Minimize







Print  
Silverlight News Minimize
silverlight - Google News
  1. Major League Baseball Switches From Silverlight to Flash - PC World

    Published Thu, 20 Nov 2008 16:53:44 GMT by
  2. Review: Silverlight, for real this time - Computerworld

    Published Wed, 19 Nov 2008 21:07:45 GMT by
  3. Where to find good Silverlight applications - InfoWorld

    Published Thu, 20 Nov 2008 15:27:23 GMT by
  4. MLB.com drops Silverlight for Adobe Flash - CNET News

    Published Mon, 17 Nov 2008 22:42:14 GMT by
  5. Adobe Flash Hits Home Run With MLB - InformationWeek

    Published Thu, 20 Nov 2008 10:22:39 GMT by
  6. .NET similarities prove golden for Silverlight - SDTimes.com

    Published Wed, 19 Nov 2008 20:11:43 GMT by
  7. Silverlight, for real this time - NetworkWorld.com

    Published Tue, 18 Nov 2008 21:11:49 GMT by
  8. Novell and Microsoft sanction Silverlight work-alike for Linux - BetaNews

    Published Wed, 19 Nov 2008 20:25:22 GMT by
  9. Silverlight Beta for Linux on the Road to Silverlight 3 on Windows - Softpedia

    Published Wed, 19 Nov 2008 16:19:45 GMT by
  10. Microsoft crashes Adobe RIA party - Register

    Published Mon, 17 Nov 2008 22:19:52 GMT by
Print  
WPF Easter Egg Minimize
Location: BlogsOnTheBlog    
Posted by: David Hanson Mon, 24 Mar 2008 09:47:02 GMT

Ok I'm sure you were hoping I was going to announce something cool like the hidden flight simulator in excel.

Sorry, here is some XAML instead.

 Windowless Easter Egg

<Window x:Class="WindowlessForms.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="400" Width="600" WindowStyle="None"
        AllowsTransparency="True" Background="Transparent" WindowStartupLocation="CenterScreen">
    <Border>
        <Ellipse Stroke="Black">
            <Ellipse.Fill>
                <RadialGradientBrush GradientOrigin="0,0.4" Center="0,0.5" RadiusX="1" RadiusY="2">
                    <RadialGradientBrush.GradientStops>
                        <GradientStop Color="AliceBlue" Offset="0"/>
                        <GradientStop Color="Blue" Offset="0.1" />
                        <GradientStop Color="AliceBlue" Offset="0.2" />
                        <GradientStop Color="blue" Offset="0.3" />
                        <GradientStop Color="AliceBlue" Offset="0.4" />
                        <GradientStop Color="Blue" Offset="0.5" />
                        <GradientStop Color="AliceBlue" Offset="0.6" />
                        <GradientStop Color="blue" Offset="0.7" />
                        <GradientStop Color="AliceBlue" Offset="0.8" />
                        <GradientStop Color="blue" Offset="0.9" />
                        <GradientStop Color="AliceBlue" Offset="1" />
                    </RadialGradientBrush.GradientStops>
                </RadialGradientBrush>
            </Ellipse.Fill>
        </Ellipse>
    </Border>
</Window>
Permalink |  Trackback

Comments (2)   Add Comment
Re: WPF Easter Egg    By markm on Wed, 16 Apr 2008 22:16:20 GMT
you tease!

Re: WPF Easter Egg    By David Hanson on Wed, 16 Apr 2008 22:18:55 GMT
LOL. Yes well!


Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel