<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - The Sandbox - My first Avalon application: DesktopClock</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - The Sandbox - My first Avalon application: DesktopClock</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Wed, 22 May 2013 22:50:16 GMT</pubDate>
	<lastBuildDate>Wed, 22 May 2013 22:50:16 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>14</c9:totalResults>
	<c9:pageCount>-14</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>Just playing with the new WinFX SDK, and the result is my first Avalon application, a desktop clock. Contains simple scalable vector graphics.</p>
<p>Built with VS2005 beta 2 and WinFX SDK beta 1 RC.</p>
<p>Sources and binaries are included. A good (but simple) demo for the transformation features of Avalon.</p>
<p>EDIT1:</p>
<p>Context menu added, right click to reach it. You can choose a smoother, nicer animation-like update method, but that consumes more processor cycles.</p>
<p>EDIT2:</p>
<p>System requiremnts to run this application:</p>
<p>1. .NET Framework Version 2.0 Redistributable Package Beta 2 (x86) (minimum version: 2.0.50215.44)<br>
<a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E">http://www.microsoft.com/downloads/details.aspx?FamilyId=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E</a></p>
<p>2. Microsoft® Pre-Release Software Code Named &quot;Avalon&quot; and &quot;Indigo&quot; Beta1 RC runtime (minimum version: 2.0.50215.28)<br>
<a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?familyid=B789BC8D-4F25-4823-B6AA-C5EDF432D0C1">http://www.microsoft.com/downloads/details.aspx?familyid=B789BC8D-4F25-4823-B6AA-C5EDF432D0C1</a></p>
<p>System requiremnts to compile this application:</p>
<p>1. Visual Studio 2005 Beta 2<br>
<a target="_blank" href="http://lab.msdn.microsoft.com/vs2005/get/">http://lab.msdn.microsoft.com/vs2005/get/</a></p>
<p>2. WinFX SDK Beta 1 RC<br>
<a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?familyid=B789BC8D-4F25-4823-B6AA-C5EDF432D0C1">http://www.microsoft.com/downloads/details.aspx?familyid=B789BC8D-4F25-4823-B6AA-C5EDF432D0C1</a><br>
</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/70874#70874</link>
		<pubDate>Mon, 30 May 2005 08:09:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/70874#70874</guid>
		<dc:creator>Kazi</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Kazi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>Good job!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/47f21c8a349040e290509dea01035826#47f21c8a349040e290509dea01035826</link>
		<pubDate>Mon, 30 May 2005 11:09:01 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/47f21c8a349040e290509dea01035826#47f21c8a349040e290509dea01035826</guid>
		<dc:creator>andokai</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/andokai/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>Thanks. I wanted blurred shadows but there are no image effect classes, left out in this release.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/28e57c88600a4f8d89e39dea0103584f#28e57c88600a4f8d89e39dea0103584f</link>
		<pubDate>Mon, 30 May 2005 12:52:22 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/28e57c88600a4f8d89e39dea0103584f#28e57c88600a4f8d89e39dea0103584f</guid>
		<dc:creator>Kazi</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Kazi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>Looks Great</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/8772ac705bfa44db949c9dea01035891#8772ac705bfa44db949c9dea01035891</link>
		<pubDate>Mon, 30 May 2005 13:13:13 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/8772ac705bfa44db949c9dea01035891#8772ac705bfa44db949c9dea01035891</guid>
		<dc:creator>Buzza</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Buzza/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>Nice Work!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/407ff82cb3a34760b9019dea010358ba#407ff82cb3a34760b9019dea010358ba</link>
		<pubDate>Tue, 31 May 2005 21:14:40 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/407ff82cb3a34760b9019dea010358ba#407ff82cb3a34760b9019dea010358ba</guid>
		<dc:creator>Karsten Januszewski</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/karstenj/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>Great work! What did you use to create the vector graphics? I've been looking for an image editor to create vector graphcis with.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/7b9dfa9b859d436db9239dea010358e2#7b9dfa9b859d436db9239dea010358e2</link>
		<pubDate>Thu, 02 Jun 2005 00:25:13 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/7b9dfa9b859d436db9239dea010358e2#7b9dfa9b859d436db9239dea010358e2</guid>
		<dc:creator>Tyler Brown</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Tyler Brown/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>If you look into the source code you may be surprised how simple this little application is. There’s nothing special. There are lines only and text for the numbers. The most interesting thing of this application is its simplicity. The scaling feature is
 about 5-6 lines of coding. The canvas has a scaling transformation and when its size changes the scale factor is updated.</p>
<p>Avalon is a great developing platform. It would be nice to work with Avalon sooner. I can experience its strength while I developed this tiny application. I recommend learning it for everybody.<br>
</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/969dc4c87a4c401a82929dea0103590c#969dc4c87a4c401a82929dea0103590c</link>
		<pubDate>Thu, 02 Jun 2005 07:06:30 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/969dc4c87a4c401a82929dea0103590c#969dc4c87a4c401a82929dea0103590c</guid>
		<dc:creator>Kazi</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Kazi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>Very nice!<br>
One suggestion: you can use Viewbox element which automatically scales its content so you don't have to handle the scaling yourself.<br>
<br>
So the XAML code will look something like that:<br>
&lt;Viewbox Stretch=&quot;Uniform&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;Canvas x:Name=&quot;canvas&quot;&gt;<br>
...<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/adafa41cd4f648b589039dea0103594d#adafa41cd4f648b589039dea0103594d</link>
		<pubDate>Thu, 02 Jun 2005 14:17:22 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/adafa41cd4f648b589039dea0103594d#adafa41cd4f648b589039dea0103594d</guid>
		<dc:creator>viliescu</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/viliescu/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p><blockquote>
<div>viliescu wrote:</div>
<div>Very nice!<br>
One suggestion: you can use Viewbox element which automatically scales its content so you don't have to handle the scaling yourself.<br>
<br>
So the XAML code will look something like that:<br>
&lt;Viewbox Stretch=&quot;Uniform&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;Canvas x:Name=&quot;canvas&quot;&gt;<br>
...<br>
<br>
</div>
</blockquote>
<br>
<br>
Really!&nbsp;I learned a new thing. Thanks. I have updated it.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/884704b7cb224fa8b94d9dea01035977#884704b7cb224fa8b94d9dea01035977</link>
		<pubDate>Thu, 02 Jun 2005 20:43:33 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/884704b7cb224fa8b94d9dea01035977#884704b7cb224fa8b94d9dea01035977</guid>
		<dc:creator>Kazi</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Kazi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>Could you post up the system requirements for this app? Preferably in an edit to the initial post. Thanks <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
<br>
<br>
Doo de doo doo doo,<br>
Loadsgood.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/eea5ebb97a4e4f0387de9dea010359a0#eea5ebb97a4e4f0387de9dea010359a0</link>
		<pubDate>Fri, 10 Jun 2005 12:51:27 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/eea5ebb97a4e4f0387de9dea010359a0#eea5ebb97a4e4f0387de9dea010359a0</guid>
		<dc:creator>Loadsgood</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Loadsgood/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>Cool <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
<br>
I am not certain whether these problems are with Avalon or the app. But here goes:
<br>
<br>
Build a release version and run it out of VS (just to be sure there's no/less debug code).<br>
<br>
Now open up task manager and the cpu usage graph. Now run the app and put the continous update mode.<br>
<br>
Watch CPU usage graph rise for a minute or so.<br>
<br>
You can try minimize the app and the cpu usage stays same.<br>
<br>
<br>
</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/b57f9a163e504e96b0129dea010359ca#b57f9a163e504e96b0129dea010359ca</link>
		<pubDate>Fri, 10 Jun 2005 15:33:52 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/b57f9a163e504e96b0129dea010359ca#b57f9a163e504e96b0129dea010359ca</guid>
		<dc:creator>androidi</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/androidi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>It behaves the same here. Interesting. But I don't know the reason.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/779f43c72f91468492709dea010359f4#779f43c72f91468492709dea010359f4</link>
		<pubDate>Fri, 10 Jun 2005 17:04:05 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/779f43c72f91468492709dea010359f4#779f43c72f91468492709dea010359f4</guid>
		<dc:creator>Kazi</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Kazi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p><blockquote>
<div>androidi wrote:</div>
<div>
<p>Cool <img src="/emoticons/emotion-1.gif" border="0"><br>
<br>
<br>
I am not certain whether these problems are with Avalon or the app. But here goes:
<br>
<br>
Build a release version and run it out of VS (just to be sure there's no/less debug code).<br>
<br>
Now open up task manager and the cpu usage graph. Now run the app and put the continous update mode.<br>
<br>
Watch CPU usage graph rise for a minute or so.<br>
<br>
You can try minimize the app and the cpu usage stays same.<br>
<br>
<br>
</p>
</div>
</blockquote>
<br>
<br>
I have created some performance session with not too big result:<br>
The System.Windows.Media.RotateTransform.set_Angle(float64) function takes longest within the UpdateClockHands function.<br>
<br>
I have inserted a line into the UpdateClockHands function which outputs the &quot;n&quot; TimeSpan variable values. UpdateClockHands called normally by 50 msecs as given to the DispatchTimer.Interval property.<br>
<br>
I'm not sure, it's a bug or not.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/2ab1c4ff01334f298af49dea01035a21#2ab1c4ff01334f298af49dea01035a21</link>
		<pubDate>Fri, 10 Jun 2005 20:50:49 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/2ab1c4ff01334f298af49dea01035a21#2ab1c4ff01334f298af49dea01035a21</guid>
		<dc:creator>Kazi</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Kazi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>The Sandbox - My first Avalon application: DesktopClock</title>
		<description><![CDATA[<p>Something like this was in the 16-bit versions of NT, I believe?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/dab63fe24d4a4682b29b9dea01035a49#dab63fe24d4a4682b29b9dea01035a49</link>
		<pubDate>Tue, 14 Jun 2005 18:58:58 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Sandbox/My-first-Avalon-application-DesktopClock/dab63fe24d4a4682b29b9dea01035a49#dab63fe24d4a4682b29b9dea01035a49</guid>
		<dc:creator>NeoTOM</dc:creator>
		<slash:comments>14</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/NeoTOM/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>