private void cblanguages_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            Data.Language language    = this.GetSelectedLanguage();
            string        origCulture = System.Globalization.CultureInfo.CurrentUICulture.IetfLanguageTag;

            if (this.IsInitialized && language.Label.ToLower() != origCulture.ToLower())
            {
                ChangeLanguageMessage win = new ChangeLanguageMessage(this);
                win.ShowDialog();
                if (win.DialogResult.Equals(true))
                {
                    Config.Lang = language.Label.ToLower();
                    Config.Save();
                    App.SetCulture();
                    App.Restart();
                    return;
                }
                ComboBox combo = (ComboBox)sender;
                combo.SelectedItem = e.RemovedItems[0];
            }
        }
        void View_CurrentChanging(object sender, CurrentChangingEventArgs e)
        {
            if (CurrentLanguage == null)
            {
                CurrentLanguage = Languages[Config.Language.Id]; //LanguagesCVS.CurrentItem as Data.Language;
                return;
            }

            ChangeLanguageMessage win = new ChangeLanguageMessage(this._win);

            win.ShowDialog();
            if (win.DialogResult.Equals(true))
            {
                Config.Lang = CurrentLanguage.GlobalizationCode.ToLower();
                Config.Save();
                App.SetCulture();
                App.Restart();
                return;
            }
            e.Cancel        = true;
            CurrentLanguage = null;
            CurrentLanguage = Languages[Config.Language.Id]; // LanguagesCVS.CurrentItem as Data.Language;
        }