HiddenWindow.xaml.cs 937 B

12345678910111213141516171819202122232425262728293031
  1. using System.Windows;
  2. using MediaBrowser.UI.Controller;
  3. namespace MediaBrowser.UI
  4. {
  5. /// <summary>
  6. /// Interaction logic for HiddenWindow.xaml
  7. /// </summary>
  8. public partial class HiddenWindow : Window
  9. {
  10. /// <summary>
  11. /// Initializes a new instance of the <see cref="HiddenWindow" /> class.
  12. /// </summary>
  13. public HiddenWindow()
  14. {
  15. InitializeComponent();
  16. Loaded += HiddenWindow_Loaded;
  17. }
  18. /// <summary>
  19. /// Handles the Loaded event of the HiddenWindow control.
  20. /// </summary>
  21. /// <param name="sender">The source of the event.</param>
  22. /// <param name="e">The <see cref="RoutedEventArgs" /> instance containing the event data.</param>
  23. void HiddenWindow_Loaded(object sender, RoutedEventArgs e)
  24. {
  25. Title += " " + UIKernel.Instance.ApplicationVersion.ToString();
  26. }
  27. }
  28. }