<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Net notes</title>
	<atom:link href="http://www.burgundi.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.burgundi.com</link>
	<description>.NET, WP7, Silverlight</description>
	<lastBuildDate>Sun, 13 May 2012 09:05:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Silverlight &#8211; background animation</title>
		<link>http://www.burgundi.com/archives/73?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=silverlight-background-animation</link>
		<comments>http://www.burgundi.com/archives/73#comments</comments>
		<pubDate>Thu, 01 Mar 2012 09:45:01 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[silverlight]]></category>

		<guid isPermaLink="false">http://www.burgundi.com/?p=73</guid>
		<description><![CDATA[Sometimes animating things in Silverlight is a real pain. A simple thing as changing the background color on a Border control can be a real challenge. It seems like the way of doing it has changed from version to version based on all the solutions in forums which do not work with Silverlight 4 which [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes animating things in Silverlight is a real pain. A simple thing as changing the background color on a Border control can be a real challenge. It seems like the way of doing it has changed from version to version based on all the solutions in forums which do not work with Silverlight 4 which i use in my current project.</p>
<p>So here is one way of doing it, that <strong>works with Silverlight 4</strong>.</p>
<p>The color you want to change the border background into:</p>
<pre class="brush: xml; title: ; notranslate">
&lt;SolidColorBrush x:Key=&quot;TextBoxMouseOverBackgroundColor&quot; Color=&quot;#FBBCB5B5&quot; /&gt;
</pre>
<p>The Storyboard:</p>
<pre class="brush: xml; title: ; notranslate">

&lt;Storyboard&gt;
&lt;ObjectAnimationUsingKeyFrames Duration=&quot;0&quot; Storyboard.TargetName=&quot;MouseOverBorder&quot; Storyboard.TargetProperty=&quot;(Border.Background)&quot;&gt;
&lt;DiscreteObjectKeyFrame KeyTime=&quot;0&quot; Value=&quot;{StaticResource TextBoxMouseOverBackgroundColor}&quot;/&gt;
&lt;/ObjectAnimationUsingKeyFrames&gt;
&lt;/Storyboard&gt;
</pre>
<p>Hope this helps someone. I know I was not alone with this issue.</p>
<fb:like
                            href='http://www.burgundi.com/archives/73'
                            send='false'
                            width='370px'
                            font='arial'
                            colorscheme='light'
                            action='like'
                            layout='standard'
                            show_faces='false'>
                        </fb:like>]]></content:encoded>
			<wfw:commentRss>http://www.burgundi.com/archives/73/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cumulus Weather on WP7 now out!</title>
		<link>http://www.burgundi.com/archives/68?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cumulus-weather-on-wp7-now-out</link>
		<comments>http://www.burgundi.com/archives/68#comments</comments>
		<pubDate>Fri, 20 Jan 2012 07:53:19 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.burgundi.com/?p=68</guid>
		<description><![CDATA[Finally the Cumuls Weather App v1.1 is out after som troubles with the AppHub-site. Add your own weather station for real local weather and forecasts based on your local weather. http://windowsphone.com/s?appid=86bf4a1d-c083-4a83-bc41-043531d2f2af]]></description>
			<content:encoded><![CDATA[<p>Finally the Cumuls Weather App v1.1 is out after som troubles with the AppHub-site. Add your own weather station for real local weather and forecasts based on your local weather.</p>
<p><a href="http://windowsphone.com/s?appid=86bf4a1d-c083-4a83-bc41-043531d2f2af">http://windowsphone.com/s?appid=86bf4a1d-c083-4a83-bc41-043531d2f2af</a></p>
<fb:like
                            href='http://www.burgundi.com/archives/68'
                            send='false'
                            width='370px'
                            font='arial'
                            colorscheme='light'
                            action='like'
                            layout='standard'
                            show_faces='false'>
                        </fb:like>]]></content:encoded>
			<wfw:commentRss>http://www.burgundi.com/archives/68/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Phone 7 &#8211; Marketplace pictures Illustrator template</title>
		<link>http://www.burgundi.com/archives/64?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-phone-7-marketplace-pictures-illustrator-template</link>
		<comments>http://www.burgundi.com/archives/64#comments</comments>
		<pubDate>Sun, 01 Jan 2012 19:01:21 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Illustrator]]></category>
		<category><![CDATA[Marketplace]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[WP7]]></category>

		<guid isPermaLink="false">http://www.burgundi.com/?p=64</guid>
		<description><![CDATA[Sometimes im working with loads of files where i need to have several of the open at the same time for them to get the same graphical appearance. In Adobe Illustrator you can add more artboards to the same document. I have set up this template for the marketplace graphics. It makes things a bit [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes im working with loads of files where i need to have several of the open at the same time for them to get the same graphical appearance. In Adobe Illustrator you can add more artboards to the same document. I have set up this template for the marketplace graphics. It makes things a bit easier. Enjoy!</p>
<p><a href="http://www.burgundi.com/WindowsPhoneMarketplacePicturesArtboardSetupv1.zip">Window Phone 7 Marketplace Pictures Artboard Setup v1</a></p>
<fb:like
                            href='http://www.burgundi.com/archives/64'
                            send='false'
                            width='370px'
                            font='arial'
                            colorscheme='light'
                            action='like'
                            layout='standard'
                            show_faces='false'>
                        </fb:like>]]></content:encoded>
			<wfw:commentRss>http://www.burgundi.com/archives/64/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Localizing WP7 application name and tile</title>
		<link>http://www.burgundi.com/archives/11?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=localizing-wp7-application-name-and-tile</link>
		<comments>http://www.burgundi.com/archives/11#comments</comments>
		<pubDate>Thu, 10 Nov 2011 12:00:48 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Localization]]></category>
		<category><![CDATA[WP7]]></category>

		<guid isPermaLink="false">http://www.burgundi.com/?p=11</guid>
		<description><![CDATA[In this post I am going to guide you through the localization of the WP7 application name and tile. While localizing within the application itself might be quite straight forward but in this scenario there are some more steps. First of all you need to make sure you have the C++ support for your Visual [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I am going to guide you through the localization of the WP7 application name and tile. While localizing within the application itself might be quite straight forward but in this scenario there are some more steps. First of all you need to make sure you have the C++ support for your Visual Studio installed. Yes you are reading it correctly, you will need to create a C++ satellite DLL inorder to localize the application name and tile.</p>
<p>I am using a application i am currently working on as a hobby project inorder to gain more knowledge about some of the features that WP7 and it´s toolkits can provide. In this example we will make two DLL-resource  files one for the default language (en-US) and and the last one for Swedish (sv-SE) .</p>
<p>Ok here we go!</p>
<p><strong>Step 1.</strong></p>
<p>First we need to create the C++ Language resource DLL project.<br />
Select new project and expand the Visual C++ project templates (if you have them installed, otherwise do so).  Select a Win32 project and name it AppResLib. It doesn&#8217;t actually matter where you create your project but I have chosen to create it in a solution folder in the solution im currently localizing.</p>
<div id="attachment_41" class="wp-caption alignnone" style="width: 310px"><a href="http://www.burgundi.com/wp-content/uploads/2011/11/win32proj.png"><img class="size-medium wp-image-41 " title="New Win32 project" src="http://www.burgundi.com/wp-content/uploads/2011/11/win32proj-300x207.png" alt="" width="300" height="207" /></a><p class="wp-caption-text">New Win32 project</p></div>
<div id="attachment_44" class="wp-caption alignnone" style="width: 310px"><a href="http://www.burgundi.com/wp-content/uploads/2011/11/win32appsettings.png"><img class="size-medium wp-image-44  " title="Win32 project wizard" src="http://www.burgundi.com/wp-content/uploads/2011/11/win32appsettings-300x253.png" alt="" width="300" height="253" /></a><p class="wp-caption-text">Win32 project wizard</p></div>
<p style="text-align: left;">Now we need to make a important change  in the project properties. Select the project and click the project properties. Expand the Configuration properties and select the No Entry Point setting and set it to <strong>Yes /NOENTRY</strong>. This makes the DLL a resource-only assembly.</p>
<div id="attachment_42" class="wp-caption alignnone" style="width: 310px"><a href="http://www.burgundi.com/wp-content/uploads/2011/11/Win32_noentrypoint.png"><img class="size-medium wp-image-42 " title="Win32 project no entry point setting" src="http://www.burgundi.com/wp-content/uploads/2011/11/Win32_noentrypoint-300x211.png" alt="" width="300" height="211" /></a><p class="wp-caption-text">Win32 project no entry point setting</p></div>
<p style="text-align: left;"><strong>Step 2.</strong></p>
<p style="text-align: left;">The first DLL we need to make is language neutral. This DLL will be used as the fallback resource for the languages not having  a specific AppResLib. Lets begin with adding a new resource to our AppResLib project. Select the resource type &#8220;String table&#8221; and create two resource strings as shown in the picture below.</p>
<div id="attachment_43" class="wp-caption alignnone" style="width: 310px"><a href="http://www.burgundi.com/wp-content/uploads/2011/11/win32-string-table.png"><img class="size-medium wp-image-43" title="Win32 string table" src="http://www.burgundi.com/wp-content/uploads/2011/11/win32-string-table-300x211.png" alt="" width="300" height="211" /></a><p class="wp-caption-text">Win32 string table</p></div>
<p>The Caption is where the localized text needs to be defined, in this case the en-US fallback language.</p>
<p>Now all we need to do is compile the AppResLib project and copy the AppResLib.dll to the root of the WP7 application project. Do not forget to check the build type for the AppResLib.dll file so that its set as Content. You can easily do this by selecting the file in Visual Studio and using the properties window.</p>
<p>When the AppResLib.dll is added to the WP7 project we need to do some adjustments in the WP7 project. More on that in step 3.</p>
<p><strong>Step 3.</strong></p>
<p>First we need to modify the WMAppManifest.xml file, you can find it in the Properties folder in the root of the application.</p>
<pre class="brush: xml; highlight: [3]; title: ; notranslate"> &lt;App xmlns=&quot;&quot;
ProductID=&quot;{99c92c72-8be9-4eb4-bd0f-eadaed1dc7ac}&quot;
Title=&quot;@AppResLib.dll, -100&quot;
RuntimeType=&quot;Silverlight&quot;
Version=&quot;1.0.0.0&quot;
Genre=&quot;apps.normal&quot;
Author=&quot;author&quot;
Description=&quot;description&quot;
Publisher=&quot;publisher&quot;&gt;
</pre>
<p>&nbsp;</p>
<pre class="brush: xml; highlight: [5]; title: ; notranslate">
&lt;PrimaryToken TokenID=&quot;WeatherPanoramaToken&quot; TaskName=&quot;_default&quot;&gt;
&lt;TemplateType5&gt;
&lt;BackgroundImageURI IsRelative=&quot;true&quot; IsResource=&quot;false&quot;&gt;Background.png&lt;/BackgroundImageURI&gt;
&lt;Count&gt;0&lt;/Count&gt;
&lt;Title&gt;@AppResLib.dll, -200&lt;/Title&gt;
&lt;/TemplateType5&gt;
&lt;/PrimaryToken&gt;
</pre>
<p>Now the WMAppManifest.xml will make use of the AppResLib.dll resource DLL and show the localized text for the application.</p>
<p><strong>Step 4</strong>.</p>
<p>Creating the localized resource DLL for Swedish. This step will be very simple now that we have got all other things in place. All we need to do is go back to the AppResLib project that we created in Step 1 and localize the two strings. Build the project and rename the AppResLib.dll to AppResLib.dll.041d.mui, where 041d points to sv-SE.</p>
<p>Add the file to the project just as with the AppResLib.dll and we are done.</p>
<p><strong>Note:</strong></p>
<p>Don´t forget to check that the languages you want localized are specified in your project file. I usually unload the WP7 project and chose edit &lt;projectname&gt;.csproj.<br />
Search for the SupportedCultures element and add all the supported languages separated with <strong>&#8220;;&#8221;</strong>. For ex. en-US;sv-SE; and so on. Save and close the csproj file and reload the project.</p>
<fb:like
                            href='http://www.burgundi.com/archives/11'
                            send='false'
                            width='370px'
                            font='arial'
                            colorscheme='light'
                            action='like'
                            layout='standard'
                            show_faces='false'>
                        </fb:like>]]></content:encoded>
			<wfw:commentRss>http://www.burgundi.com/archives/11/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing .resx files, with the right tools its easy</title>
		<link>http://www.burgundi.com/archives/24?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=editing-resx-files-with-the-right-tools-its-easy</link>
		<comments>http://www.burgundi.com/archives/24#comments</comments>
		<pubDate>Wed, 09 Nov 2011 09:00:46 +0000</pubDate>
		<dc:creator>sebastian</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Localization]]></category>

		<guid isPermaLink="false">http://www.burgundi.com/?p=24</guid>
		<description><![CDATA[I have currently worked a lot with localization and stumbled upon some reallly annoying scenarios with .resx files. For ex. The localization vendor always worked with excel sheets and i could not find any easy way of bulk inserting the localized texts into the .resx editor that Visual Studio provides. The only way was to [...]]]></description>
			<content:encoded><![CDATA[<p>I have currently worked a lot with localization and stumbled upon some reallly annoying scenarios with .resx files. For ex. The localization vendor always worked with excel sheets and i could not find any easy way of bulk inserting the localized texts into the .resx editor that Visual Studio provides. The only way was to insert the texts by hand, this would not be that much work if the app would use 2 languages but if all the 27 languages (Windows Phone 7.5 &#8220;Mango&#8221; supports 27 languages) would be implemented.  It would quickly become an enormous task.</p>
<p>I hade to resort to other products and im sure there are some really nice products that you have to pay for.<br />
My ambition was however to find a free product.</p>
<p>After some searching i stumbled upon a little gem on codeplex, the Zeta Resource Editor http://zetaresourceeditor.codeplex.com/.</p>
<div id="attachment_26" class="wp-caption alignnone" style="width: 310px"><a href="http://www.burgundi.com/wp-content/uploads/2011/11/zeta_resourceeditor.png"><img class="size-medium wp-image-26" title="Zeta resourceeditor screenshot" src="http://www.burgundi.com/wp-content/uploads/2011/11/zeta_resourceeditor-300x214.png" alt="" width="300" height="214" /></a><p class="wp-caption-text">Screenshot - Zeta Resource Editor</p></div>
<p>The editor supports multiple languages open at the same time which makes it very simple and straight forward to work with. It also has the Excel Import/Export function that saved my life (at least some boring hours of copy pasteing).</p>
<p>There is also a function for translating texts through Bing or Google translate. I would suggest that you only use this function for those languages where you can make a decision if the translatio fits the context.</p>
<div id="attachment_29" class="wp-caption alignnone" style="width: 310px"><a href="http://www.burgundi.com/wp-content/uploads/2011/11/zeta_resourceeditor_translate.png"><img class="size-medium wp-image-29" title="zeta_resourceeditor_translate" src="http://www.burgundi.com/wp-content/uploads/2011/11/zeta_resourceeditor_translate-300x241.png" alt="" width="300" height="241" /></a><p class="wp-caption-text">Screenshot - Zeta Resource Editor translate function</p></div>
<fb:like
                            href='http://www.burgundi.com/archives/24'
                            send='false'
                            width='370px'
                            font='arial'
                            colorscheme='light'
                            action='like'
                            layout='standard'
                            show_faces='false'>
                        </fb:like>]]></content:encoded>
			<wfw:commentRss>http://www.burgundi.com/archives/24/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

