/*** Event Handlers ***/

        private void HomePage_Loaded(object sender, RoutedEventArgs e)
        {
            DWAS2Helper.SetUserControlLanguage(this);
            wnd = DWAS2Helper.GetUserControlMainWindow(this);
            InitializeLanguageSelectComboBox();
            wnd.OrientationChanged += MainWindow_Orientation_Changed;
            // set autorun state
            autorunBox.IsChecked = DWAS2Interop.GetAutorunState();
        }
 private void WallpaperPage_Loaded(object sender, RoutedEventArgs e)
 {
     DWAS2Helper.SetUserControlLanguage(this);
     wnd = DWAS2Helper.GetUserControlMainWindow(this);
 }