private void cboLangSelect_DropDownClosed(object sender, EventArgs e) { if (Settings.Instance.Language != _initialLanguage) { CairoMessage.Show(DisplayString.sWelcome_ChangingLanguageText, DisplayString.sWelcome_ChangingLanguage, MessageBoxButton.OK, CairoMessageImage.Information, result => { if (result == true) { Startup.RestartCairo(); } }); } }
private void restartCairo(object sender, RoutedEventArgs e) { saveChanges(); Startup.RestartCairo(); }