Chris, This One’s For You

Posted January 12th, 2012 by admin and filed in Computers, Programming, Software, Technology
Comments Off

Ok, here is what two of our examples that run on Longhorn without Xamlon. I managed to create one. Csproj file to our Counter example and compiled the natives of Longhorn WinHEC build with MSBuild. The only change I needed to make to the XAML file was to use the Longhorn version of Windows Forms integration vs. Xamlon version, and this required just edit a single mapping record. Also for some reason, the WinForms panel containing the buttons that I had to set the background color using hex values ??(eg # FF9900) rather than integer values ??(ie, 255,153.0). The code-behind is still a bit different, mainly because we do not have partial classes available yet, but we are working to rectify that as well.

Compare the appearance of the Counter runs native on Longhorn vs. the version that runs under Xamlon on Longhorn vs. the version running under Xamlon on Windows XP – you will notice that they all look exactly the same!