App.xaml 1.2 KB

12345678910111213141516171819202122232425
  1. <Application
  2. x:Class="FormulaOneApp.WinPhone.App"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
  6. xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone">
  7. <!--Recursos de la aplicación-->
  8. <Application.Resources>
  9. <ResourceDictionary>
  10. <ResourceDictionary.MergedDictionaries>
  11. <ResourceDictionary Source="Themes/Pivot.xaml" />
  12. </ResourceDictionary.MergedDictionaries>
  13. <local:LocalizedStrings xmlns:local="clr-namespace:FormulaOneApp.WinPhone" x:Key="LocalizedStrings"/>
  14. </ResourceDictionary>
  15. </Application.Resources>
  16. <Application.ApplicationLifetimeObjects>
  17. <!--Objeto requerido que controla los eventos de duración de la aplicación-->
  18. <shell:PhoneApplicationService
  19. Launching="Application_Launching" Closing="Application_Closing"
  20. Activated="Application_Activated" Deactivated="Application_Deactivated"/>
  21. </Application.ApplicationLifetimeObjects>
  22. </Application>