Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 1 result for ApplicationStartup.
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  Denislav Savkov  on  Sep 02, 2008 (more than a year ago)

    Sometimes you might need to handle the application startup event of a Silverlight application in order to initialize or perform any other operations required by your internal logic. Exactly for this reason there is an Startup event located in your project application class that directly derives from System.Windows.Application. In most cases the name of this class is App and you can access its Startup event like this:

    C#

       App.Current.Startup += new StartupEventHandler( ApplicationStartup );

    Keep in mind that this event is fired only once in the absolute start of the application, when no controls have been still instantiated.

    That's it!




Did you notice our new Silverlight-based Showcase section ? Check it out to get a bird's eye view of all showcases featured on SilverlightShow, with a quick thumbnail preview for easier browsing. Want to view the most recent showcases only? Use Group by Month option for a chronological listing.
This is the second redesigned, entirely Silverlight-based section in SilverlightShow, after the new Books section. We look forward to your feedback on both! (hide this)