aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.UI/HiddenWindow.xaml.cs
blob: e2f8f7a37ebf115ab8a1c1aa43622e10fe52717a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System.Windows;
using MediaBrowser.UI.Controller;

namespace MediaBrowser.UI
{
    /// <summary>
    /// Interaction logic for HiddenWindow.xaml
    /// </summary>
    public partial class HiddenWindow : Window
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="HiddenWindow" /> class.
        /// </summary>
        public HiddenWindow()
        {
            InitializeComponent();

            Loaded += HiddenWindow_Loaded;
        }

        /// <summary>
        /// Handles the Loaded event of the HiddenWindow control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="RoutedEventArgs" /> instance containing the event data.</param>
        void HiddenWindow_Loaded(object sender, RoutedEventArgs e)
        {
            Title += " " + UIKernel.Instance.ApplicationVersion.ToString();
        }
    }
}