(X) Hide this Watch a recording of the recent webinar Building a Silverlight 4 application end-to-end by Gill Cleeren
View the webinar recording | Download the slides | Download the demos
Become a member to receive all webinar news by email, or follow all webinar news on Twitter | Facebook | LinkedIn
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 7 results for Charles Petzold.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Nov 25, 2010 (3 weeks ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterCharles Petzold discusses the ability of Windows Phone 7 application to access and play music files.

    Source: Petzold Book Blog

    It is possible for a Windows Phone 7 application to access and play MP3 or WMA files that are stored as either content in the application or referenced over the internet. Such a file becomes an instance of the Song class that you instantiate with the Song.FromUri method. The URI references the file.

    Song is an XNA class but you can use it in a Silverlight program. You'll need a reference to the Microsoft.Xna.Framework DLL — ignore the warning message; you are, after all a trained perfessional and you know what you're doing — and you'll want a using directive for the Microsoft.Xna.Framework.Media namespace.



  • 0 comments  /  posted by  Silverlight Show  on  Jul 16, 2010 (5 months ago)
    In this post, Charles Petzold discusses the good and the bad sides of the manipulation events in Windows Phone 7 Beta.

    Always start with the good news: The good news is that the Manipulation events in the July beta of the Windows Phone 7 development tools no longer have the orientation problem I discussed in my blog entry Basic Manipulation Event Handling in Windows Phone 7 (at least with translation). You can flip the phone emulator sideways and translation coordinates don't need to be finagled. More good news: I am now able to get the emulator to recognize two fingers on my two touch screens, so I've been able to experiment with scaling as well as translation.

    Other than that, I'm still not seeing behavior that feels correct to me, based both on my familiarity with theManipulation events implemented in the Windows Presentation Foundation, and the degree of work necessary to get meaningful information from the WP7 implementations.

  • 0 comments  /  posted by  Silverlight Show  on  Jul 05, 2010 (5 months ago)
    In his article for the MSDN Magazine, Charles Petzold discusses Fluid UI and Silverlight and gives some nice examples.

    In the past two installments of this column, I’ve discussed some techniques implementing fluid UI on your own. I was partially inspired by the upcoming introduction of a fluid UI feature in Silverlight 4. Now that Silverlight 4 has been officially released, that’s what I’ll be covering here. Silverlight 4’s foray into fluid UI is rather narrowly confined—it’s restricted to the loading and unloading of items in a ListBox—but it gives us some important hints on how to extend fluid UI techniques with our own implementations. More fluid UI behaviors are available in Expression Blend 4.

  • 0 comments  /  posted by  Silverlight Show  on  Jun 17, 2010 (6 months ago)
    Flip-Number Clock in Silverlight Take a look at this simulation of 1960's style flip-number clock made in Silverlight.
  • Orientation Strategies for Windows Phone 7

    0 comments  /  posted by  Silverlight Show  on  Jun 17, 2010 (6 months ago)
    Charles Petzold discusses some ways to deal with orientation changes in Windows Phone 7.

    I don't know if the approach I've shown here is the "correct" way to handle orientation changes on the phone. But it seems like the start of what could be a useful general-purpose technique for optimizing space no matter how the user wants to use the device.

  • Flip-Number Clock in Silverlight

    0 comments  /  posted by  Silverlight Show  on  Jun 17, 2010 (6 months ago)
    Charles Petzold has posted the demo and code for a cool flip-number clock in Silverlight.

    I've seen some print ads recently that feature a phone with a simulation of 1960's style flip-number clock. Such a clock is fairly trivial in Silverlight.

    Image

  • 0 comments  /  posted by  Silverlight Show  on  Apr 07, 2010 (8 months ago)
    This post of Charles Petzold will be very useful to those of you who are interested in Silverlight and 3D.

    In pretty much any graphics system, transforms constitute the most important feature that doesn’t actually draw anything. Instead, transforms alter the appearance of visual objects by modifying coordinates with mathematical formulas generally expressed as a matrix multiplication.